mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Mission: set gimbal to neutral on inactivation
It is generally preferred to have the camera pointing forward on pause, e.g. to use the camera for Navigation. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
0d8ba587ca
commit
789b3880cf
@ -189,6 +189,7 @@ MissionBase::on_inactivation()
|
||||
_navigator->disable_camera_trigger();
|
||||
|
||||
_navigator->stop_capturing_images();
|
||||
_navigator->set_gimbal_neutral(); // point forward
|
||||
_navigator->release_gimbal_control();
|
||||
|
||||
if (_navigator->get_precland()->is_activated()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user