Error: ur5_ros-gazebo package not found
Hi! I cloned a package into my catkin_ws/src folder with 'git clone https://github.com/lihuang3/ur5_ROS-G... , then catkin_make & source devel/setup.bash (all works fine)
laurah@laurah-HP-EliteBook-840-G1:~/catkin_ws$ catkin_make
Base path: /home/laurah/catkin_ws
Source space: /home/laurah/catkin_ws/src
Build space: /home/laurah/catkin_ws/build
Devel space: /home/laurah/catkin_ws/devel
Install space: /home/laurah/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/laurah/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/laurah/catkin_ws/build"
####
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target _ur_msgs_generate_messages_check_deps_IOStates
...
[100%] Built target ur_driver
[100%] Built target ur_msgs_generate_messages
[100%] Built target ur5_notebook_generate_messages
laurah@laurah-HP-EliteBook-840-G1:~/catkin_ws$ source devel/setup.bash
laurah@laurah-HP-EliteBook-840-G1:~/catkin_ws$ ls -a src
. .. CMakeLists.txt universal_robot ur5_ROS-Gazebo ur_modern_driver
laurah@laurah-HP-EliteBook-840-G1:~/catkin_ws$ rospack find ur5_ROS-Gazebo
[rospack] Error: package 'ur5_ROS-Gazebo' not found
laurah@laurah-HP-EliteBook-840-G1:~/catkin_ws$ rosrun ur5_ROS-Gazebo testmotion.py
[rospack] Error: package 'ur5_ROS-Gazebo' not found
What am I doing wrong? I am using Ubuntu 16.04
Did you remember to build the workspace? You can't just clone a package and try execute scripts/binaries in it.
Oh I thought catkin_make would be enough. I will try catkin build first thing tomorrow. Thank you for the fast reply :)
catkin_make
is enough. That is what "building your workspace" means.Did you also
source /path/to/your/catkin_ws/devel/setup.bash
?The only error I see when I look at the package on github is that the python file is named
testmotion.py
instead oftesmotion.py
That would become a problem if/when
roslaunch
is able to find the package. That isn't happening according to what @lr_k123 tells us, so that's something to fix first.