Skip to content

Emulating AR drone 2 in Rviz

Balaji-Gorantla edited this page Jul 5, 2017 · 3 revisions

Make sure you have installed tum_simulator as we will be using the urdf model given there.

roscd cvg_sim_gazebo
cd urdf
subl quadrotor_base.urdf.xacro

In the file change all instances of base_link to ardrone_base_link. This is currently a hack as now the drone will not be shown in the simulation. As soon as a better way is found wiki will be updated.

Launching Commands :

roslaunch ardrone_autonomy ardrone.launch
rosrun drone_application ardrone_teleop_key.py _aruco_front:=false
roslaunch cvg_sim_gazebo spawn_quadrotoer.launch
rosrun rviz rviz

Video Tutorials:

Go through the video tutorials on Emulating real ar drone in rviz