ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

how to fly ardrone in tum simulator ?

asked 2014-11-23 08:30:34 -0600

slowmed gravatar image

i don't know how to fly the ardrone in the tum simulator and how to run the python scripts in the simulator for the autonomy flight

edit retag flag offensive close merge delete

Comments

Hi, a couple of questions first. Where you able to run the simulator successfully? What topics do you get when you run rostopic list?

tum_simulator replicates the topics created by ardrone_autonomy to match the ardrone_driver node. Let me know so we can go on.

Pedro_85 gravatar image Pedro_85  ( 2014-11-24 13:21:45 -0600 )edit

thank you pedro my response to your two questions is in the answer below

slowmed gravatar image slowmed  ( 2014-11-26 04:55:21 -0600 )edit

I don't see in your answer the topic /ardrone/navdata, /ardrone/takeoff, /ardrone/land, and /cmd_vel. Can you confirm if you see them and forgot to include them?

Pedro_85 gravatar image Pedro_85  ( 2014-11-26 14:02:37 -0600 )edit

you saw right , they don't exist

slowmed gravatar image slowmed  ( 2014-11-26 16:13:49 -0600 )edit

What kind of error do you get? Is gazebo gui launched at all? did you install the ardrone_autonomy and tum_simulator from the fuerte branch?

Pedro_85 gravatar image Pedro_85  ( 2014-11-26 17:16:31 -0600 )edit

i install the ardrone_autonomy and the tum_simulator , gazebo does work but when i try the take off command listed in the wiki nothing happend

slowmed gravatar image slowmed  ( 2014-11-26 17:58:57 -0600 )edit

Right, you need to publish to the topics that I mentioned and you don't seem to have in order to make the ardrone move. Try reinstalling the ardrone_autonomy and tum_simulator packages. When you clone them from the git repository make sure you select the fuerte branch

Pedro_85 gravatar image Pedro_85  ( 2014-11-27 15:42:04 -0600 )edit

how do i select fuerte branch ??

slowmed gravatar image slowmed  ( 2014-11-27 16:08:51 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-11-25 19:21:01 -0600

green96 gravatar image

updated 2014-11-25 19:57:27 -0600

You can fly with joystick or simply (it is very uncomfortable ) by publishing to topic. Check section 3.3

edit flag offensive delete link more

Comments

actually the command line doesn't work , i tried all the commands listed in the section 3.3 they don't work , and what i want really is to move the drone in the simulator using the python programs in the autonavx_ardrone file

slowmed gravatar image slowmed  ( 2014-11-26 04:52:31 -0600 )edit
0

answered 2014-11-25 18:19:25 -0600

slowmed gravatar image

thank you for responding pedro i am runing tum simulator on ROS fuerte on ubuntu 12.04.5 the rostopic list gives me the following (ps: i can't upload an image coz am new here so sorry for the mess): slowmed@ubuntu:~$ rostopic list /ardrone/bottom/camera_info /ardrone/bottom/depth/camera_info /ardrone/bottom/depth/image_raw /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/bottom/points /ardrone/bottom/set_hfov /ardrone/bottom/set_update_rate /ardrone/front/camera_info /ardrone/front/depth/camera_info /ardrone/front/depth/image_raw /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/compressedDepth /ardrone/front/image_raw/compressedDepth/parameter_descriptions /ardrone/front/image_raw/compressedDepth/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 /ardrone/front/points /ardrone/front/set_hfov /ardrone/front/set_update_rate /clock /gazebo/link_states /gazebo/model_states /gazebo/parameter_descriptions /gazebo/parameter_updates /gazebo/set_link_state /gazebo/set_model_state /goal /ground_truth/state /initialpose /joint_states /rosout /rosout_agg /scan /tf /trajectory

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2014-11-23 08:30:34 -0600

Seen: 2,443 times

Last updated: Nov 25 '14