ROS2_offboard_drone_control icon indicating copy to clipboard operation
ROS2_offboard_drone_control copied to clipboard

Takeoff and Smooth Takeoff functions

Open Marnonel6 opened this issue 2 years ago • 1 comments

Problem

Arming and off-board control does not always work.

Current implementation

Wait some time (1second I think) then arm and switch to off-board control.

Proposed solution

Wait 1 second then arm the drone and subscribe to the drone mode status and see if the drone is armed and that it is off-board mode if it is not then wait 1 second again and retry. Have a max number of retries say 5 then if it still is not armed then stop everything and indicate that drone does not want to arm.

Marnonel6 avatar Oct 03 '23 23:10 Marnonel6