Hi Aaron, <br>If you are not publishing tf messages you need to make sure the fixed_frame and target_frame in rviz are set to the frame in which you are publishing thes scans.  In the case of the 2nd tutorial you linked to it should be "laser_frame"<br>

<br>Also in the LaserScan display there is an error field with information if it cannot display anything.  This should tell you why rviz cannot update the display.  If you're still having trouble please send that message in your reply.  <br>

<br>Tully<br><br><div class="gmail_quote">On Thu, Oct 28, 2010 at 7:21 AM, Aaron Martinez Romero <span dir="ltr"><<a href="mailto:aaronmartinezromero@gmail.com">aaronmartinezromero@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

but...  can I display directly in rviz a "sensor_msgs/LaserScan" message ??  or I need too the "/tf [tf/tfMessage]"<br><br>because in the tutorial of <br><b><br><a href="http://www.ros.org/wiki/laser_pipeline/Tutorials/IntroductionToWorkingWithLaserScannerData#Visualizing_Your_Laser_Scan" target="_blank">http://www.ros.org/wiki/laser_pipeline/Tutorials/IntroductionToWorkingWithLaserScannerData#Visualizing_Your_Laser_Scan</a>, </b><br>


<br>I can display the data in rviz without problem (using laser.bag --> <a href="http://vault.willowgarage.com/wgdata1/vol1/wiki_docs/laser_pipeline/laser.bag" target="_blank">http://vault.willowgarage.com/wgdata1/vol1/wiki_docs/laser_pipeline/laser.bag</a> ).<br>


<br>But with the code of this example<br>   "<b><a href="http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors#Writing_Code_to_Publish_a_LaserScan_Message" target="_blank">http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors#Writing_Code_to_Publish_a_LaserScan_Message</a></b>", <br>


<br>I have problems to display the fake data generated by this code.<br><br>Why????<br><br>Best regards.<br><br><br><div class="gmail_quote">2010/10/27 Dan Lazewatsky <span dir="ltr"><<a href="mailto:lazewatskyd@cse.wustl.edu" target="_blank">lazewatskyd@cse.wustl.edu</a>></span><br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">There's a section in the tutorial "Introduction to Working With Laser Scanner Data" that covers this: <a href="http://www.ros.org/wiki/laser_pipeline/Tutorials/IntroductionToWorkingWithLaserScannerData#Visualizing_Your_Laser_Scan" target="_blank">http://www.ros.org/wiki/laser_pipeline/Tutorials/IntroductionToWorkingWithLaserScannerData#Visualizing_Your_Laser_Scan</a><br>



<br><div>-Dan</div></div><div><br><div class="gmail_quote"><div class="im"><div><div></div><div>On Wed, Oct 27, 2010 at 9:51 AM, Aaron Martinez Romero <span dir="ltr"><<a href="mailto:aaronmartinezromero@gmail.com" target="_blank">aaronmartinezromero@gmail.com</a>></span> wrote:<br>



</div></div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div><div class="im">Hello, <br><br>I am with this example, and I want to show the fake data in rviz, but I don't know how can do it.<br>



<br></div><a href="http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors" target="_blank">http://www.ros.org/wiki/navigation/Tutorials/RobotSetu<a href="p/S</a><a href="http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors" target="_blank">ensors</a><br clear="all">



<a href="<div class="im"><br>I am trying display the data, because later I will try to write a new driver for a old Laser hardware (PLS200-214)<br><br>Thanks.<br>Best regards...<br><font color="#888888">-- <br>Atentamente,<br>

Aarón Martínez Romero<br>

Ingeniero en Informática<br>
Tlf: 600 283 349<br><a href="http://www.AaronMR.com" target="_blank">http://www.AaronMR.com</a><br>
</font><br></div></div></div><div class="im">_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></div></blockquote></div><br></div><div class="im">
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></div></blockquote></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Atentamente,<br>Aarón Martínez Romero<br>Ingeniero en Informática<br>Tlf: 600 283 349<br><a href="http://www.AaronMR.com" target="_blank">http://www.AaronMR.com</a><br>


</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>