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

Pointcloud to LaserScan

asked 2012-06-01 09:34:30 -0600

allenh1 gravatar image

updated 2012-06-01 10:30:48 -0600

Hello all,

I am trying to use the pointcloud_to_laserscan node. I am publishing a pointcloud2 type file to the topic "cloud_pcl" and to fram "laser". How do I set up the roslaunch file? I've never done this before...

Thanks, -Hunter A.

Launch File:

<launch>
<!-- Fake Laser -->
    <node pkg="nodelet" type="nodelet" name="kinect_laser" args="load pointcloud_to_laserscan/      CloudToScan openni_manager" respawn="true">

        <param name="output_frame_id" value="/camera_depth_frame"/>
        <!-- heights are in the (optical?) frame of the kinect -->
        <param name="min_height" value="-0.15"/>
        <param name="max_height" value="0.15"/>
        <remap from="cloud" to="/cloud_pcl"/>
    </node>
</launch>
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-01 10:25:18 -0600

DimitriProsser gravatar image

Have a look at the turtlebot_bringup launch file to see how it's done for the Turtlebot.

edit flag offensive delete link more

Comments

I added the launch file I am using. The cloud is being published to "/cloud_pcl". What do I need to adjust to make this thing work?

allenh1 gravatar image allenh1  ( 2012-06-01 10:31:33 -0600 )edit

I could also use a SLAM for pointclouds. Does one exist?

allenh1 gravatar image allenh1  ( 2012-06-01 10:42:49 -0600 )edit

Question Tools

Stats

Asked: 2012-06-01 09:34:30 -0600

Seen: 833 times

Last updated: Jun 01 '12