Git cloned a ros project need help with launching [closed]
Hi, ros newbie here,
I am using ubuntu 20.04 ros noetic
I git cloned this ros project and tried to run the
roslaunch my_moving_cube_description spawn_moving_cube.launch
in the terminal but am getting the error
RLException: [spawn_moving_cube.launch] is neither a launch file in package [my_moving_cube_description] nor is [my_moving_cube_description] a launch file name
The traceback for the exception was written to the log file
I also did source /opt/ros/noetic/setup.bash beforehand.
Please let me know if you have a fix for this problem.
Please see #q252478 for an example workflow which lets you build packages from source. It's ROS version agnostic, so should also work for Noetic.
It won't help solve incompatibilities between the packages you cloned and Noetic of course. It only takes care of the build process.
As this is no different from any of the other Q&As on this site about building packages from source, I'm going to close this as a duplicate -- even though @Procópio was kind enough to already start answering.
Please try to use Google and search for existing Q&As before posting your own. Append
site:answers.ros.org
to your query.@gvdhoorn, I am having issues following your answer on #q252478 as rosdep command doesn't exist in ros noetic
It certainly does, but you'll have to make sure you'e installed it.
sudo apt install python3-rosdep
.followed your @gvdhoorn guidelines to a t including the rosdep sections but roslaunch is still not running. I plan on using the rrbot framework and just substituting files from the other project into the rrbot one, which runs. I not sure if your guidelines work for ros noetic.
Nothing has changed in Noetic which would affect this.
What could be the case though is that the packages you're trying to build and use don't declare their dependencies correctly.
And just to make sure: you do
source /path/to/your/catkin_ws/devel/setup.bash
before trying to runroslaunch
, correct/@gvdhoorn yes, including source before. this (git clone https://bitbucket.org/theconstructcor...) is the git clone if you want to check it out yourself. I am trying to learn ros with openai if you have any alternative projects I can learn from please let me know.