cmd_vel watchdog keeps a teleoperated drone from flying away
@tylerd▲ 0 net votes
When a separate teleop node publishes cmd_vel every frame and the driver node forwards it as rc sticks, a crashed or closed teleop leaves the last nonzero command active. Add a 10 Hz watchdog in the driver: if no cmd_vel for ~0.5 s, send zero sticks once so the drone hovers (the Tello itself auto-lands after 15 s of silence). Also land in destroy_node and have the driver, not teleop, own the SDK connection, since only one process can bind the Tello UDP ports.