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

roslaunch not working in groovy [closed]

asked 2013-06-20 10:47:12 -0600

updated 2014-04-20 14:09:20 -0600

ngrennan gravatar image

Hello everyone's:

I need some help with ROS Groovy.

I have the disc-ros-pkg that workspace, inside existing a METAPACKAGE called "nxt_robot"(it configured in the package.xml and CMakelist.txt how metapackage). Within , we find 2 packages: nxt_node and nxt_description. nxt_node have a launch file.

The problem is ROS does not recognize these packages. Only reconize the metapackage. When try execute : roslaunch nxt_node nxt.launch, that throw this error : "[nxt_robot] 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 ROS_PACKAGE_PATH= "/home/ucn1108/disc-ros-pkg":$ROS_PACKAGE_PATH´

Could anyone help me?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-05-28 22:20:54.397973

Comments

1

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?

jbinney gravatar image jbinney  ( 2013-06-20 14:03:16 -0600 )edit

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

Ivan Rojas Jofre gravatar image Ivan Rojas Jofre  ( 2013-06-21 03:32:04 -0600 )edit

What is the output of catkin_make?

gustavo.velascoh gravatar image gustavo.velascoh  ( 2013-06-21 04:51:58 -0600 )edit

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.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-06-25 19:11:23 -0600 )edit

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.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-06-25 19:13:03 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-06-21 03:30:54 -0600

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-06-20 10:47:12 -0600

Seen: 417 times

Last updated: Jun 21 '13