...
This commit is contained in:
@@ -142,14 +142,14 @@ 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);
|
||||
mcc_deduce_error_code(t_err, MccSimpleSlewingModelErrorCode::ERROR_GET_TELEMETRY);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -621,7 +621,7 @@ public:
|
||||
|
||||
// check for target in p-zone
|
||||
*_lastError = _checkTargetFunc();
|
||||
if (_lastError->load()) { // return here immidiately
|
||||
if (_lastError->load()) { // return here immediately
|
||||
return *_lastError;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user