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

depthimage_to_laserscan launch

asked 2016-05-24 07:31:38 -0600

Emilien gravatar image

hi, i create a launch file that convert depthimage to laserscan:

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

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?

edit retag flag offensive close merge delete

Comments

Where did you put the launch file?

ROSkinect gravatar image ROSkinect  ( 2016-05-24 09:17:13 -0600 )edit

in ==> catkin_ws/src/fake_laser_pkg/launch/start_laser.launch

Emilien gravatar image Emilien  ( 2016-05-24 09:25:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-24 09:58:03 -0600

ROSkinect gravatar image

updated 2016-05-24 10:02:37 -0600

Are you sure that calling your node is correct? I think it should be something like this:

<node pkg="nodelet" type="nodelet" name="depthimage_to_laserscan_loader" args="load depthimage_to_laserscan/DepthImageToLaserScanNodelet $(arg manager)">

Did you source the setup.bash file? if not try executing:

source devel/setup.bash
edit flag offensive delete link more

Comments

thank you very much

Emilien gravatar image Emilien  ( 2016-05-24 10:12:22 -0600 )edit

Welcome! Mark it as correct if it is the right answer

ROSkinect gravatar image ROSkinect  ( 2016-05-24 10:53:30 -0600 )edit

i have error that launch requires the 'scan_processing' arg to be set

khasreto gravatar image khasreto  ( 2018-11-27 09:11:49 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-05-24 07:31:38 -0600

Seen: 1,488 times

Last updated: May 24 '16