...
This commit is contained in:
parent
218da42a1d
commit
227f501d6f
@ -191,6 +191,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
auto hw_err = hardware->hardwareGetState(&hw_state);
|
||||||
|
if (hw_err) {
|
||||||
|
return mcc_deduce_error<error_t>(hw_err, MccSimpleSlewingModelErrorCode::ERROR_HW_GETSTATE);
|
||||||
|
}
|
||||||
|
|
||||||
t_err = telemetry->targetToMountDist(&dist);
|
t_err = telemetry->targetToMountDist(&dist);
|
||||||
if (t_err) {
|
if (t_err) {
|
||||||
return mcc_deduce_error<error_t>(t_err, MccSimpleSlewingModelErrorCode::ERROR_DIST_TELEMETRY);
|
return mcc_deduce_error<error_t>(t_err, MccSimpleSlewingModelErrorCode::ERROR_DIST_TELEMETRY);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user