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

Revision history [back]

You are missing the group closing XML tag:

<launch> <arg name="camera" default="camera"/> <arg name="publish_tf" default="true"/> <group if="$(arg scan_processing)"> <node pkg="nodelet" type="nodelet" name="depthimage_to_laserscan" args="load depthimage_to_laserscan/DepthImageToLaserScanNodelet $(arg camera)/$(arg camera)_nodelet_manager"> <remap from="image" to="$(arg camera)/$(arg depth)/image_raw"/> <remap from="scan" to="$(arg scan_topic)"/> </group> </launch>

You are missing the group closing XML tag:

<launch>
    <arg name="camera"  default="camera"/>
    <arg name="publish_tf" default="true"/>
    <group if="$(arg scan_processing)">
        <node pkg="nodelet" type="nodelet" name="depthimage_to_laserscan" args="load depthimage_to_laserscan/DepthImageToLaserScanNodelet $(arg camera)/$(arg camera)_nodelet_manager">
         <param name="scan_height" value="10"/>
  <param name="output_frame_id" value="/$(arg camera)_depth_frame"/>
  <param name="range_min" value="0.45"/>
        <remap from="image" to="$(arg camera)/$(arg depth)/image_raw"/>
        <remap from="scan" to="$(arg scan_topic)"/>
    </group>   <!-- You are missing this!! -->
</launch>
</launch>