ROS2_offboard_drone_control
ROS2_offboard_drone_control copied to clipboard
Takeoff and Smooth Takeoff functions
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.