RTL/Land: set gimbal to neutral to reduce change of damage

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-11-29 15:40:12 +01:00
parent 789b3880cf
commit b0df7c7ccb
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -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()