mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 10:23:33 +08:00
acquire gimbal control before sending neutral command
This commit is contained in:
@@ -180,6 +180,7 @@ MissionBase::on_inactivation()
|
||||
_navigator->disable_camera_trigger();
|
||||
|
||||
_navigator->stop_capturing_images();
|
||||
_navigator->_gimbal_control.acquireGimbalControlIfNeeded();
|
||||
_navigator->_gimbal_control.setNeutral(); // point forward
|
||||
_navigator->_gimbal_control.releaseGimbalControlIfNeeded();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user