roslaunch not working in groovy
Hello everyone's:
I need some help with ROS Groovy.
I have the disc-ros-pkg that workspace, inside existing a METAPACKAGE called "nxtrobot"(it configured in the package.xml and CMakelist.txt how metapackage). Within , we find 2 packages: nxtnode and nxtdescription. nxtnode have a launch file.
The problem is ROS does not recognize these packages. Only reconize the metapackage. When try execute : roslaunch nxtnode nxt.launch, that throw this error : "[nxtrobot] does not exist. please specify a package and launch file" In my .bashrc , I write this:
`source /opt/ros/groovy/setup.bash´
`source ~/disc-ros-pkg/devel/setup.sh´
`export ROSPACKAGEPATH= "/home/ucn1108/disc-ros-pkg":$ROSPACKAGEPATH´
Could anyone help me?
Asked by Ivan Rojas Jofre on 2013-06-20 10:47:12 UTC
Answers
Hi jbinney: yes, these packages have a package.xml and CMakelist.txt each one. In fact, ROS only can see is the nxt_robot. For example, if write "roscd nx" and pressed tab,only show a nxt_robot. The same problem with rosrun, etc
Asked by Ivan Rojas Jofre on 2013-06-21 03:30:54 UTC
Comments
Since you have a devel/setup.sh, i guess you ran catkin make, right? do the nxt_node and nxt_description packages each have a package.xml?
Asked by jbinney on 2013-06-20 14:03:16 UTC
Hi jbinney: yes, these packages have a package.xml and CMakelist.txt each one. In fact, ROS only can see is the nxt_robot. For example, if write "roscd nx" and pressed tab,only show a nxt_robot. The same problem with rosrun, etc
Asked by Ivan Rojas Jofre on 2013-06-21 03:32:04 UTC
What is the output of catkin_make?
Asked by gustavo.velascoh on 2013-06-21 04:51:58 UTC
Can you provide a link to the source repository? It could be that your packages are nested and the parent one is hiding the package.xml from a subfolder.
Asked by Dirk Thomas on 2013-06-25 19:11:23 UTC
Btw the first source command is useless since the second will effectively override everything from the first. Also the export of the ROS_PACKAGE_PATH looks unnecessary if the folder "/home/ucn1108/disc-ros-pkg" is equal to "~/disc-ros-pkg" since the second source already adds that path to the RPP.
Asked by Dirk Thomas on 2013-06-25 19:13:03 UTC