[ros-users] How can I show the laser data in rviz???

Aaron Martinez Romero aaronmartinezromero at gmail.com
Thu Oct 28 14:21:51 UTC 2010


but...  can I display directly in rviz a "sensor_msgs/LaserScan" message ??
or I need too the "/tf [tf/tfMessage]"

because in the tutorial of
*
http://www.ros.org/wiki/laser_pipeline/Tutorials/IntroductionToWorkingWithLaserScannerData#Visualizing_Your_Laser_Scan,
*

I can display the data in rviz without problem (using laser.bag -->
http://vault.willowgarage.com/wgdata1/vol1/wiki_docs/laser_pipeline/laser.bag).

But with the code of this example
   "*
http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors#Writing_Code_to_Publish_a_LaserScan_Message
*",

I have problems to display the fake data generated by this code.

Why????

Best regards.


2010/10/27 Dan Lazewatsky <lazewatskyd at cse.wustl.edu>

> There's a section in the tutorial "Introduction to Working With Laser
> Scanner Data" that covers this:
> http://www.ros.org/wiki/laser_pipeline/Tutorials/IntroductionToWorkingWithLaserScannerData#Visualizing_Your_Laser_Scan
>
> -Dan
>
> On Wed, Oct 27, 2010 at 9:51 AM, Aaron Martinez Romero <
> aaronmartinezromero at gmail.com> wrote:
>
>> Hello,
>>
>> I am with this example, and I want to show the fake data in rviz, but I
>> don't know how can do it.
>>
>> http://www.ros.org/wiki/navigation/Tutorials/RobotSetu<a href="p/S<http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors>
>> ensors <http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors>
>> <a href="
>> I am trying display the data, because later I will try to write a new
>> driver for a old Laser hardware (PLS200-214)
>>
>> Thanks.
>> Best regards...
>> --
>> Atentamente,
>> Aarón Martínez Romero
>> Ingeniero en Informática
>> Tlf: 600 283 349
>> http://www.AaronMR.com
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
Atentamente,
Aarón Martínez Romero
Ingeniero en Informática
Tlf: 600 283 349
http://www.AaronMR.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101028/d49a687f/attachment-0003.html>


More information about the ros-users mailing list