...
This commit is contained in:
@@ -623,6 +623,9 @@ public:
|
||||
*_stopSlewing = true;
|
||||
|
||||
logger.logInfo("Slewing finished");
|
||||
error_t err = *_lastError;
|
||||
logger.logInfo(std::format(" exit code: {} {} {}", err.value(), err.category().name(), err.message()));
|
||||
|
||||
|
||||
// get final position
|
||||
|
||||
@@ -700,12 +703,12 @@ public:
|
||||
return *_lastError;
|
||||
}
|
||||
|
||||
// asynchronous slewing process
|
||||
_slewFuncFuture = std::async(std::launch::async, _slewingFunc, slew_and_stop);
|
||||
// // asynchronous slewing process
|
||||
// _slewFuncFuture = std::async(std::launch::async, _slewingFunc, slew_and_stop);
|
||||
|
||||
return MccSimpleSlewingModelErrorCode::ERROR_OK;
|
||||
// return MccSimpleSlewingModelErrorCode::ERROR_OK;
|
||||
|
||||
// return _slewingFunc(slew_and_stop);
|
||||
return _slewingFunc(slew_and_stop);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user