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

roslaunch [ ] is neither a launch file in package [ ] nor is [ ] a launch file name

asked 2021-11-06 14:28:25 -0500

jonaas11 gravatar image

updated 2021-11-14 09:35:20 -0500

lucasw gravatar image

I am trying to use a package I found on github in order to play around gazebo and ROS. I found this project and I followed every single step:

  1. Installed Ubuntu Focal 20.04
  2. Installed ROS Noetic (which automatically installs Gazebo as well)
  3. Installed Opencv-python 4.2.0.34
  4. Created a catkin workspace following this guide
  5. Cloned the repo into /src/ directory
  6. Ran the catkin_make command in order to "build" the project

Given this, I'm able to run the roscore command and every other command written in the github guide (even the pythin script) besides roslaunch my2wr gazebo.launch which generates an error.

It warns me about the aws_robomaker_racetrack_world file / directory, but I don't know what to do. I already browsed some other guides in this forum and they were mainly fixed using the source commands, but I tried it myself and it didn't work as well. Is there any issue with the github guide itself or am I doing something wrong here??

edit retag flag offensive close merge delete

Comments

In the future, please copy/paste the exact error message. It's often crucial for us to provide accurate answers.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-11-07 08:23:51 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-11-07 08:20:43 -0500

Mike Scheutzow gravatar image

I see a number of issues here. I think this example is a poor starting point if you are new to ROS.

  1. I fixed your "repo" link.
  2. The install instructions for that repo are incomplete, because he is using git submodules. That's why the world is missing.
  3. The organization of that git repo is not standard, so I'm not sure if it will even work with catkin_make.
  4. The instructions fail to tell you to source devel/setup.bash from your top-level catkin_ws directory.
edit flag offensive delete link more
0

answered 2021-11-06 20:50:12 -0500

billy gravatar image

Are you typing that command from the folder that the file is in?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-11-06 14:28:25 -0500

Seen: 1,590 times

Last updated: Nov 07 '21