Not working command line control in tum_simulator

asked 2015-11-29 05:16:50 -0500

MCcomo gravatar image

Hi, I'm new to ROS and I'm trying to simulate the an AR Parrot drone inside gazebo through tum_simulator. I have ROS indigo, ardrone_autonomy and tum_simulator installed. The problem is that when I create the ardrone test world it is correctly visualized in gazebo but than I can't control the motion of the drone by the command line. For instance, when I type rostopic pub -1 /ardrone/takeoff std_msgs/Empty, the drone doesn't move. Only sensor monitoring commands are working. The list of my active topics is the following:

  • /ardrone/bottom/camera_info
    • /ardrone/bottom/image_raw
    • /ardrone/bottom/image_raw/compressed
    • /ardrone/bottom/image_raw/compressed/parameter_descriptions
    • /ardrone/bottom/image_raw/compressed/parameter_updates
    • /ardrone/bottom/image_raw/compressedDepth
    • /ardrone/bottom/image_raw/compressedDepth/parameter_descriptions
    • /ardrone/bottom/image_raw/compressedDepth/parameter_updates
    • /ardrone/bottom/image_raw/theora
    • /ardrone/bottom/image_raw/theora/parameter_descriptions
    • /ardrone/bottom/image_raw/theora/parameter_updates
    • /ardrone/bottom/parameter_descriptions
    • /ardrone/bottom/parameter_updates
    • /ardrone/front/camera_info
    • /ardrone/front/image_raw
    • /ardrone/front/image_raw/compressed
    • /ardrone/front/image_raw/compressed/parameter_descriptions
    • /ardrone/front/image_raw/compressed/parameter_updates
    • /ardrone/front/image_raw/theora
    • /ardrone/front/image_raw/theora/parameter_descriptions
    • /ardrone/front/image_raw/theora/parameter_updates
    • /ardrone/front/parameter_descriptions
    • /ardrone/front/parameter_updates
    • /clock
    • /gazebo/link_states
    • /gazebo/model_states
    • /gazebo/parameter_descriptions
    • /gazebo/parameter_updates
    • /gazebo/set_link_state
    • /gazebo/set_model_state
    • /ground_truth/state
    • /joint_states
    • /rosout
    • /rosout_agg
    • /tf
    • /tf_static

The topic /ardrone/takeoff is not active in that moment but it's existing. Is there anyone who had the same problem? Thank you!

edit retag flag offensive close merge delete


I see the same issue, no listed topics for /ardrone/takeoff. I'm using Kinetic with ardrone_autonomy and tum_simulator for Indigo

PranavModi gravatar image PranavModi  ( 2016-07-11 01:40:51 -0500 )edit

i'm also experiencing the same problem for Ubuntu 16.04, ros kinetic

shubham11 gravatar image shubham11  ( 2018-03-21 01:05:27 -0500 )edit