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

Revision history [back]

click to hide/show revision 1
initial version

It looks, you are trying to use catkin workspace name in place of package name. Catkin workspace and package both are different.

A ROS package is simply a directory descended from ROS_PACKAGE_PATH that has a package.xml file in it. Packages are the most atomic unit of build and the unit of release.

A catkin workspace is a folder where you modify, build, and install catkin packages. This workspace can contain many packages.

So modify include tag and node tag of the above launch file as per the actual package name.

Please find the modified content of map_navigation_stage_psu.launch file below.

<launch>
      <include file="$(find map_navigation)/launch/turtlebot_stage_psu.launch"/>
     <node name="map_navigation" pkg="map_navigation" type="map_navigation_node" output="screen">
     </node>
</launch>

The the command to launch map_navigation_stage_psu.launch is

roslaunch map_navigation map_navigation_stage_psu.launch

Note: I assumed that the package name is map_navigation. The package name can be verified using package.xml.

It looks, you are trying to use catkin workspace name in place of package name. Catkin workspace and package both are different.

A ROS package is simply a directory descended from ROS_PACKAGE_PATH that has a package.xml file in it. Packages are the most atomic unit of build and the unit of release.

A catkin workspace is a folder where you modify, build, and install catkin packages. This workspace can contain many packages.

So modify include tag and node tag of the above launch file as per the actual package name.

Please find the modified content of map_navigation_stage_psu.launch file below.

<launch>
      <include file="$(find map_navigation)/launch/turtlebot_stage_psu.launch"/>
     <node name="map_navigation" pkg="map_navigation" type="map_navigation_node" output="screen">
     </node>
</launch>

The the command to launch map_navigation_stage_psu.launch is

roslaunch map_navigation map_navigation_stage_psu.launch

Note: I assumed that the package name is map_navigation. The package name can be verified using package.xml.

It looks, you are trying to use catkin workspace name in place of package name. Catkin workspace and package both are different.

A ROS catkin package is simply a directory descended from ROS_PACKAGE_PATH that has a package.xml file in it. Packages are the most atomic unit of build and the unit of release.

A catkin workspace is a folder where you modify, build, and install catkin packages. This workspace can contain many packages.

So modify include tag and node tag of the above launch file as per the actual package name.

Please find the modified content of map_navigation_stage_psu.launch file below.

<launch>
     <include file="$(find map_navigation)/launch/turtlebot_stage_psu.launch"/>
     <node name="map_navigation" pkg="map_navigation" type="map_navigation_node" output="screen">
     </node>
</launch>

The the command to launch map_navigation_stage_psu.launch is

roslaunch map_navigation map_navigation_stage_psu.launch

Note: I assumed that the package name is map_navigation. The package name can be verified using package.xml.