Ask Your Question
0

From point cloud to laser scan

asked 2011-07-11 14:24:44 -0500

lakshmen gravatar image

updated 2011-07-14 05:36:56 -0500

Hi i can get the point cloud data from the OpenNI driver now, like to convert it into a laser scan.How do you do it? Any suggestions or directions that i can take?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2011-07-11 14:30:40 -0500

The pointcloud_to_laserscan package should do what you need.

edit flag offensive delete link more

Comments

this package is for turtlebot. what about diamondback?
lakshmen gravatar image lakshmen  ( 2011-07-11 15:06:10 -0500 )edit
turtlebot is an iRobot Create based robot by WillowGarage, all its supporting software and drivers (including pointcloud_to_laserscan package) is released for ROS Diamondback.
arebgun gravatar image arebgun  ( 2011-07-11 15:23:29 -0500 )edit
thanks, will work on it..
lakshmen gravatar image lakshmen  ( 2011-07-11 15:26:20 -0500 )edit
to download just that package, i need to type svn co https://kforge.ros.org/turtlebot/turtlebot Am i right?
lakshmen gravatar image lakshmen  ( 2011-07-11 15:29:21 -0500 )edit
That stack is under Mercurial version control, not SVN. First, "sudo apt-get install mercurial". Next, "hg clone https://kforge.ros.org/turtlebot/turtlebot"
Ivan Dryanovski gravatar image Ivan Dryanovski  ( 2011-07-11 15:47:01 -0500 )edit
Also, if you installed ROS from binaries, like the default instructions say, you can install the package from binaries too: "sudo apt-get install ros-diamondback-turtlebot"
Ivan Dryanovski gravatar image Ivan Dryanovski  ( 2011-07-11 15:48:00 -0500 )edit
just to clarify something. Does this package come with ros diamondback? it has to be downloaded.. Am i right?
lakshmen gravatar image lakshmen  ( 2011-07-11 17:00:14 -0500 )edit
I think this package does not come with the regular distribution of ROS Diamondback and has to be installed additionally
Ivan Dryanovski gravatar image Ivan Dryanovski  ( 2011-07-12 00:29:38 -0500 )edit
1

answered 2012-10-29 23:39:15 -0500

jajskadu gravatar image

<launch> <node pkg="nodelet" type="nodelet" name="pointcloud_throttle" args="load pointcloud_to_laserscan/CloudThrottle openni_manager" respawn="true"> <remap from="cloud_in" to="/laser_ReadOut/cloud_pcl"/> <remap from="cloud_out" to="cloud_throttled"/> </node>

<node pkg="nodelet" type="nodelet" name="laserOut" args="load pointcloud_to_laserscan/CloudToScan openni_manager" respawn="true"> <remap from="cloud" to="/cloud_throttled"/> </node>

<node pkg="nodelet" type="nodelet" name="kinect_laser_narrow" args="load pointcloud_to_laserscan/CloudToScan openni_manager" respawn="true"> <remap from="cloud" to="/cloud_throttled"/> <remap from="scan" to="/narrow_scan"/> </node> </launch>

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2011-07-11 14:24:44 -0500

Seen: 2,299 times

Last updated: Oct 29 '12