Home | Tutorials | Wiki | Issues
Ask Your Question
0

how to create empty_world

asked 2019-07-21 11:17:00 -0500

jwonch gravatar image

updated 2019-07-22 09:03:08 -0500

chapulina gravatar image

I'm using ubuntu 16.04 and kinetic. I'm learning ROS by using a book called "Learning robotics using python" 2nd edition and using the command: ~/catkin_ws/src/chefbot_description$ roslaunch chefbot_gazebo chefbot_empty_world.launch and get the error: chefbot_empty_world.launch] is neither a launch file in package [chefbot_gazebo] nor is [chefbot_gazebo] a launch file name

Gazebo 7.0.0 on ubuntu 16.04

any hints on how to run this error down?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-07-23 11:13:22 -0500

bhej gravatar image

updated 2019-07-23 11:14:21 -0500

You need to source your catkin workspace so ROS knows where to find your packages. This overlays your workspace on top of your environment. You need to do this for every terminal that you open.

In the terminal. change directory to your catkin workspace then source it by typing source devel/setup.bash

Alternatively, you can edit your bashrc file so you do not have to source your working environment everytime:

  1. In the terminal: gedit ~/.bashrc
  2. Scroll to the bottom and add the following line: source ~/your_catkin_workspace/devel/setup.bash
  3. Save and exit

Now ROS should be able to find your launch files each time you open a new terminal!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-07-21 11:17:00 -0500

Seen: 41 times

Last updated: Jul 23