mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 23:20:35 +08:00
RTL/Land: set gimbal to neutral to reduce change of damage
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -256,6 +256,11 @@ void RTL::on_activation()
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// set gimbal to neutral position (level with horizon) to reduce change of damage on landing
|
||||
_navigator->acquire_gimbal_control();
|
||||
_navigator->set_gimbal_neutral();
|
||||
_navigator->release_gimbal_control();
|
||||
}
|
||||
|
||||
void RTL::on_active()
|
||||
|
||||
Reference in New Issue
Block a user