timespec
This commit is contained in:
@@ -142,7 +142,16 @@ public:
|
||||
std::vector<bool> in_zone_vec;
|
||||
|
||||
|
||||
t_err = controls->telemetryData(&tdata);
|
||||
//t_err = controls->telemetryData(&tdata);
|
||||
{
|
||||
std::lock_guard lock{*_currentParamsMutex};
|
||||
t_err = controls->waitForTelemetryData(&tdata);
|
||||
|
||||
if (t_err) {
|
||||
return *_lastError =
|
||||
mcc_deduce_error_code(t_err, MccSimpleSlewingModelErrorCode::ERROR_GET_TELEMETRY);
|
||||
}
|
||||
}
|
||||
|
||||
if (t_err) {
|
||||
return mcc_deduce_error_code(t_err, MccSimpleSlewingModelErrorCode::ERROR_GET_TELEMETRY);
|
||||
|
||||
Reference in New Issue
Block a user