Ask Your Question
0

depthimage to laserscan

asked 2016-05-23 09:53:00 -0500

Emilien gravatar image

Hi, i use kinect and i want to convert depthimage to laserscan. i create this file.launch:

<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)"/>
</launch>

I receive this error:

Invalid roslaunch XML syntax: mismatched tag: line 11, column 2 The traceback for the exception was written to the log file

What can i do please?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-05-23 10:17:22 -0500

updated 2016-05-23 10:17:40 -0500

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>
edit flag offensive delete link more

Comments

thank you, when i run: roslaunch fake_laser_pkg start_laser.launch, i receive this error:

[start_laser.launch] is neither a launch file in package [fake_laser_pkg] nor is [fake_laser_pkg] a launch file name The traceback for the exception was written to the log file what can i do please?

Emilien gravatar image Emilien  ( 2016-05-24 08:44:53 -0500 )edit

Is that related with this question at all? If not, close this question (accepting the answer or if it does not solve the problem you report will have to give more info) and create a new one..

Javier V. Gómez gravatar image Javier V. Gómez  ( 2016-06-09 05:58:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-05-23 09:53:00 -0500

Seen: 631 times

Last updated: May 23 '16