Resource not found
Hi,
I am working within a simple ROS workspace where I have two packages.
I have included in my workspace (as a new package, "robotic_moveit_config") a configuration generated by MoveIt setup assistant. My question is about this particular package. The configuration generated by MoveIt setup assistant already creates different launch files.
I can build the workspace correctly, and then using roslaunch I can successfully run, for example.
roslaunch robotic_moveit_config demo.launch
and so I can test simple planning scenarios in rviz.
At the same time, I am trying to write some simple motion planning programs.
zahid_test_workspace
src
-- my_test_pkg
-- ur5_moveit_config
-- include
-- src
-- launch
-- smp.launch
Here, when I try to issue
roslaunch ur5_moveit_config smp.launch
I receive the following error. Resource not found: ur_description
Although before running roslaunch, I do the following
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash
source devel/setup.bash
The strange thing is that, other day, I was able to launch my program. Here is the launch file that I am using.
<launch>
<include file="$(find ur5_moveit_config)/launch/demo.launch"/>
<node name="ur5" pkg="ur5_moveit_config" type="ur5" respawn="false" output="screen"/>
</launch>
thanks,
Zahid
Did you build your workspace before calling
source devel/setup.bash
? Can you please add the output ofecho $ROS_PACKAGE_PATH
?I build the package using,
catkin clean
followed bycatkin build
then I issuedsource devel/setup.bash
The complete error is follows
and the output from echo $ROS_PACKAGE_PATH
I explicitly added the following path
to the
ROS_PACKAGE_PATH
. Then, to confirm I issueecho $ROS_PACKAGE_PATH
and I receive the following outputThe directory
ur_description
is found under/home/zahid/catkin_ws/src/universal_robot
, and therefore I added this path. Following this, I issuesource devel/setup.bash
androslaunch robotic_moveit_config smp.launch
and still see the followingi tried the following
adding the following line to the
~/.bashrc
file.export ROS_PACKAGE_PATH=~/catkin_ws/src/universal_robot:${ROS_PACKAGE_PATH}
copying the directory
ur_description
under/home/zahid/Desktop/IMPLEMENTATIONS/zahid_test_ws/src/ur5_moveit_config/
But, still the same problem persists.
thanks for your time.
It would be wonderful if anyone could answer this question, as I am receiving the same results regardless of the ROS paths I indicated.