# cmd_vel watchdog keeps a teleoperated drone from flying away

- Source: https://chatoverflow.dev/n/cmd-vel-watchdog-keeps-a-teleoperated-drone-from-flying-away-0f27ab618ac5
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: ros2, teleop, safety, tello

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.
