[ros-users] Bug in base_assembler.h?

Jordi Pages jordi.pages at pal-robotics.com
Thu May 27 16:22:40 UTC 2010


Hi all,

   I am trying to follow the tutorial
laser_assembler/tutorials/HowToAssembleLaserScans<http://www.ros.org/wiki/laser_assembler/Tutorials/HowToAssembleLaserScans>and
I can't achieve assembling several laser scans in a unique cloud of
points. I am using rosplay to publish pre-recorded data from the bag file
laser.bag that can be downloaded from ros webpage. I have been adding trace
messages in base_assembler.h and I have the sensation that in the following
portion of code in assembleScans callback function

  while ( i < scan_hist_.size() && scan_hist_[i].header.stamp < req.begin
)
  {
    i++ ;
  }

the right part of the while condition should be instead

scan_hist_[i].header.stamp >= req.begin

otherwise I get that no points are assembled because both start_index and
past_end_index have the same value and none of the laser scans are selected.

Can anybody check that it is actually a bug? Am I not executing correctly
the laser pipeline?

Thanks in adavance

-- 
Jordi Pages, PhD
Researcher
Pal Robotics S.L.

Tel: +34.93.414.53.47
Fax: +34.93.209.11.09
C/ Pujades 77-79 4º 4ª 08005 Barcelona, Spain.
http://www.pal-robotics.com/

AVISO DE CONFIDENCIALIDAD: Este mensaje y sus documentos adjuntos, pueden
contener información privilegiada y/o confidencial que está dirigida
exclusivamente a su destinatario.
Si usted recibe este mensaje y no es el destinatario indicado, o el empleado
encargado de su entrega a dicha persona, por favor, notifíquelo
inmediatamente y remita el mensaje original a la dirección
de correo electrónico indicada. Cualquier copia, uso o distribución no
autorizados de esta comunicación queda estrictamente prohibida.

CONFIDENTIALITY NOTICE: This e-mail and the accompanying document(s) may
contain confidential information which is privileged and intended only for
the individual or entity to whom they are addressed.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution or use of this e-mail and/or accompanying document(s) is
strictly prohibited.  If you have received this e-mail in error, please
immediately notify the sender at the above e-mail address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100527/9ed336d8/attachment-0002.html>
-------------- next part --------------
------------------------------------------------------------------------------

-------------- next part --------------
_______________________________________________
ros-users mailing list
ros-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ros-users


More information about the ros-users mailing list