...
This commit is contained in:
@@ -640,15 +640,18 @@ protected:
|
||||
return;
|
||||
}
|
||||
|
||||
bool slew_and_stop = event.eventData();
|
||||
|
||||
auto nn = std::this_thread::get_id();
|
||||
|
||||
// call base-class slewToTarget method!
|
||||
auto err = static_cast<MOUNT_T*>(mount_ptr)->slewToTarget();
|
||||
auto err = static_cast<MOUNT_T*>(mount_ptr)->slewToTarget(slew_and_stop);
|
||||
if (err) {
|
||||
mount_ptr->dispatchEvent(MccGenericFsmMountErrorEvent{mount_ptr, err});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
bool slew_and_stop = event.eventData();
|
||||
if (slew_and_stop) { // after slewing switch to IDLE state
|
||||
mount_ptr->dispatchEvent(MccGenericFsmMountIdleEvent{mount_ptr});
|
||||
} else { // after slewing switch to tracking state
|
||||
|
||||
Reference in New Issue
Block a user