Ask Your Question
0

Gazebo simulator launch file problems - ROS Kinetic

asked 2017-06-26 18:58:41 -0500

Allen Ayala gravatar image

updated 2017-06-27 04:46:40 -0500

I was trying to install Gazebo and its proper dependencies in order to simulate a Parrot AR Drone 1. To do this, I used a tutorial from a Github account. I tried to execute the roslaunch cvg_sim_gazebo ardrone_testworld.launch command, but was had the following error:

robotics@robotics-2:~/catkin_ws/devel/tum_simulator$ roslaunch cvg_sim_gazebo ardrone_testworld.launch
[ardrone_testworld.launch] is neither a launch file in package [cvg_sim_gazebo] nor is [cvg_sim_gazebo] a launch file name
The traceback for the exception was written to the log file

It might have been due to me executing improper commands for my drone when installing the dependencies. I am not sure. I did perform the source command by using source devel/setup.bash in the catkin_ws. The command I specifically used for install was

sudo apt-get install ros-kinetic-ardrone-autonomy-*

I am able to find the launch files but ROS can't recognize tum_simulator or cvg_sim_gazebo as a package. I know this by using the rospack find <package name> command. This is probably why I am receiving errors with the launch file. Any help is appreciated, along with recommendations for other simulators known to work in ROS Kinetic for my specific drone.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-28 18:49:40 -0500

Allen Ayala gravatar image

It turns out that the ros-kinetic-ardrone_autonomy is supposed to be ros-kinetic-ardrone-autonomy (with a hyphen instead of an underscore at the end). Also, I had performed git clone https://github.com/angelsantamaria/tum_simulator.git in ~/catkin_ws/devel. When I removed it from ../devel and into ~/catkin_ws/src the issue with using roslaunch was solved!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-06-26 18:58:41 -0500

Seen: 249 times

Last updated: Jun 28 '17