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

roslaunch cannot find package

asked 2014-05-28 14:17:24 -0500

bjem85 gravatar image

I have written a .launch file for a CAN bus reader, but roslaunch simple does not see it, and I can't figure out what I'm doing wrong. It is especially disconcerting as every other node I've got works just fine.




  <maintainer email="">Bart Milne</maintainer>
  <author>Bart Milne</author>


  <url type="website"></url>





Launch file:

<!-- %Tag(FULL)%-->
    <node name="candump" type="candump" pkg="canbus_read" output="screen" args="any" />
<!-- %EndTag(FULL)%-->

The program's name iscandump.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-28 14:41:52 -0500

ahendrix gravatar image

The best way to go about troubleshooting this is to see if it works with rosrun or not. You can start by trying:

rosrun canbus_read candump

If that doesn't work, you probably have a problem with your CMakeLists or your ROS_PACKAGE_PATH; make sure you've sourced your devel workspace, and make sure you're calling catkin_package() in your CMakeLists.txt (even if you call it with no arguments).

If it works with rosrun but not from a launch file, we can look for a more subtle root cause; maybe start by locating the binary and try to figure out why rosrun finds it, but roslaunch doesn't.

edit flag offensive delete link more


Thanks, I will check that. I have a related question that includes the CMakeLists.txt. See

bjem85 gravatar image bjem85  ( 2014-05-28 14:46:48 -0500 )edit

Question Tools



Asked: 2014-05-28 14:17:24 -0500

Seen: 8,258 times

Last updated: May 28 '14