Closed ciaran-helgen closed 2 years ago
It works if I don't load the driver per your response here https://github.com/clydemcqueen/tello_ros/issues/47#issuecomment-571189292 My bad!
I was leaving out the drone1 namespace. The call should have been ros2 service call /drone1/tello_action tello_msgs/TelloAction "{cmd: 'takeoff'}"
When launching the sample Gazebo sim with
ros2 launch tello_gazebo simple_launch.py
and the driver withros2 launch tello_driver teleop_launch.py
then runningros2 service call /tello_action tello_msgs/TelloAction "{cmd: 'takeoff'}"
to arm the drone, the response from the driver is always[tello_driver]: Not connected, dropping 'takeoff'
From the code I can see this is the warning that occurs when the state socket or video socket are not receiving data. When no command is sent, a[tello_driver]: Command timed out
error is printed at regular intervals, which indicates no connection. Any insight as to what might be wrong? I am running this in Docker if that is relevant