Error with pointcloud_to_laserscan and rviz [closed]
Hello
I'm trying to convert a point cloud to a fake laser scan and then visualize it with rviz. For doing that, first I use the pointcloud_to_laserscan stack. I think I have no problem with this part because with rostopic echo I can see a list of points of the laser scan, and all seems right.
The problem starts when I try to visualize this fake laser with rviz. I add a new LaserScan display and I put the topic of the laser scan converted. When I do that, the display status changes to "Error" and I get this warning message on the console:
[ WARN] [1349860717.340263739, 12012.394000000]: MessageFilter [target=/map ]: Dropped 100,00% of messages so far. Please turn the [ros.rviz.message_notifier] rosconsole logger to DEBUG for more information.
Does anyone know why I get this error?
For more detail, there's how I convert the point_cloud to a fake laser scan:
<!-- openni_manager -->
<node pkg="nodelet" type="nodelet" name="openni_manager" output="screen" respawn="true" args="manager"/>
<!-- fake laser -->
<node pkg="nodelet" type="nodelet" name="kinect_laser" args="load pointcloud_to_laserscan/CloudToScan openni_manager">
<param name="output_frame_id" value="/openni_depth_frame"/>
<param name="range_max" value="10.0"/>
<param name="range_min" value="0.4"/>
<param name="angle_max" value="0.383972435"/>
<param name="angle_min" value="-0.383972435"/>
<remap from="cloud" to="/tof_camera/depth/points"/>
<remap from="scan" to="tof_camera/fake_laser"/>
</node>
I'm in Ubuntu 12.04 and ROS Fuerte. Thanks in advance. Regards.