<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title></title>
  </head>

  <body>
    <p style="margin: 0px;">Seems I solved the problem. I just added a fake second point in the message with the same distance right next to the first one. Now it works. Seems that the laser message has a minimum of 2 points in order to be displayed.</p>

    <p style="margin: 0px;"><span><br />
    </span></p>

    <p style="margin: 0px;"><span>Cheers,</span></p>

    <p style="margin: 0px;"><span> </span></p>

    <p style="margin: 0px;"><span>Markus<br />
    </span></p>

    <p style="margin: 0px;"> </p>

    <p> </p>

    <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
      "Lorenz M�senlechner" <moesenle@in.tum.de> hat am 19. November 2010 um 13:59 geschrieben:<br />
      <br />
      > It was just a guess :)<br />
      ><br />
      > I think rviz uses the laser_geometry package to transform the laser<br />
      > scan to a point cloud. I would check if calling it directly produces a<br />
      > point cloud with one point. You could also publish the resulting point<br />
      > cloud directly and display it in rviz.<br />
      ><br />
      > Lorenz<br />
      ><br />
      > ><br />
      > > Thank you,<br />
      > ><br />
      > >  <br />
      > ><br />
      > > but this did not work either. If I use a normal hokuyo, without intensities it<br />
      > > works fine. I tink the problem is that it only has one reading and this collides<br />
      > > with the min_angle, max_angle and scan_time, somehow internally.<br />
      > ><br />
      > >  <br />
      > ><br />
      > ><br />
      > >  <br />
      > ><br />
      > >  <br />
      > ><br />
      > > "Lorenz Mösenlechner" <moesenle@in.tum.de> hat am 19. November 2010 um 13:41<br />
      > > geschrieben:<br />
      > ><br />
      > > > Hi,<br />
      > > ><br />
      > > > I would try adding an intensity measurement.<br />
      > > ><br />
      > > > Lorenz<br />
      > > ><br />
      > > > ><br />
      > > > ><br />
      > > > > Dear all,<br />
      > > > ><br />
      > > > > I have te following problem: I want to display a single point laser<br />
      > > > > measurement<br />
      > > > > in RVIZ using LaserScan message. Terefor I filled most of the laser message<br />
      > > > > parameters manualle. The range was set by the laser<br />
      > > > > (Leuze ODSL-30)<br />
      > > > ><br />
      > > > > The message generated looks fine, but when i subscrive to the /scan RVIZ<br />
      > > > > refused<br />
      > > > > to display it.<br />
      > > > ><br />
      > > > > When I use rostopic echo, the message looks like this<br />
      > > > ><br />
      > > > ><br />
      > > > > =================================================================<br />
      > > > > ---<br />
      > > > > header:<br />
      > > > > Â  seq: 144<br />
      > > > > Â  stamp:<br />
      > > > > Â Â Â  secs: 1290166306<br />
      > > > > Â Â Â  nsecs: 126582347<br />
      > > > > Â  frame_id: base_link<br />
      > > > > angle_min: 0.0<br />
      > > > > angle_max: 0.00999999977648<br />
      > > > > angle_increment: 0.00999999977648<br />
      > > > > time_increment: 0.10000000149<br />
      > > > > scan_time: 0.10000000149<br />
      > > > > range_min: 0.20000000298<br />
      > > > > range_max: 30.0<br />
      > > > > ranges: [3.4630000591278076]<br />
      > > > > intensities: []<br />
      > > > > ---<br />
      > > > > header:<br />
      > > > > Â  seq: 145<br />
      > > > > Â  stamp:<br />
      > > > > Â Â Â  secs: 1290166306<br />
      > > > > Â Â Â  nsecs: 226820561<br />
      > > > > Â  frame_id: base_link<br />
      > > > > angle_min: 0.0<br />
      > > > > angle_max: 0.00999999977648<br />
      > > > > angle_increment: 0.00999999977648<br />
      > > > > time_increment: 0.10000000149<br />
      > > > > scan_time: 0.10000000149<br />
      > > > > range_min: 0.20000000298<br />
      > > > > range_max: 30.0<br />
      > > > > ranges: [3.4619998931884766]<br />
      > > > > intensities: []<br />
      > > > ><br />
      > > > > =========================================================<br />
      > > > ><br />
      > > > > Maybe the params angle_min: 0.0<br />
      > > > > angle_max: 0.00999999977648<br />
      > > > > angle_increment: 0.00999999977648<br />
      > > > > time_increment: 0.10000000149<br />
      > > > > scan_time: 0.10000000149<br />
      > > > ><br />
      > > > > are wrong (because I have only one scan in contrast to the hokuyo which has<br />
      > > > > multi scans per reading).<br />
      > > > ><br />
      > > > > I though also to use the RANGE sensor message but there seems no way to<br />
      > > > > display<br />
      > > > > it in RVIZ as well.<br />
      > > > ><br />
      > > > > Any Ideas?<br />
      > > > ><br />
      > > > > Cheers,<br />
      > > > ><br />
      > > > > Markus<br />
      > > ><br />
      > > > > ------------------------------------------------------------------------------<br />
      > > > > Beautiful is writing same markup. Internet Explorer 9 supports<br />
      > > > > standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.<br />
      > > > > Spend less time writing and  rewriting code and more time creating great<br />
      > > > > experiences on the web. Be a part of the beta today<br />
      > > > > http://p.sf.net/sfu/msIE9-sfdev2dev<br />
      > > ><br />
      > > > > _______________________________________________<br />
      > > > > ros-users mailing list<br />
      > > > > ros-users@lists.sourceforge.net<br />
      > > > > https://lists.sourceforge.net/lists/listinfo/ros-users<br />
      > > ><br />
      > > > > _______________________________________________<br />
      > > > > ros-users mailing list<br />
      > > > > ros-users@code.ros.org<br />
      > > > > https://code.ros.org/mailman/listinfo/ros-users<br />
      > > ><br />
      > > ><br />
      ><br />
      > > _______________________________________________<br />
      > > ros-users mailing list<br />
      > > ros-users@code.ros.org<br />
      > > https://code.ros.org/mailman/listinfo/ros-users<br />
      ><br />
      ><br />
      > --<br />
      > Lorenz M�senlechner            | moesenle@in.tum.de<br />
      > Technische Universit�t M�nchen | Boltzmannstr. 3<br />
      > 85748 Garching bei M�nchen     | Germany<br />
      > http://ias.cs.tum.edu/         | Tel: +49 (89) 289-17750
    </div>
  </body>
</html>