From: Dominic L. <ma...@us...> - 2004-11-10 14:00:19
|
Update of /cvsroot/robotflow/RobotFlow/Player/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22632 Modified Files: PlayerLaser.cc Log Message: fix laser conversion Index: PlayerLaser.cc =================================================================== RCS file: /cvsroot/robotflow/RobotFlow/Player/src/PlayerLaser.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PlayerLaser.cc 2 Jun 2004 18:51:04 -0000 1.8 --- PlayerLaser.cc 10 Nov 2004 14:00:10 -0000 1.9 *************** *** 107,111 **** //copy range & intensity values for (int i = 0; i < m_laserProxy->RangeCount(); i++) { ! (*rangeVect)[i] = (int)(*m_laserProxy)[i] * 1000; (*intensityVect)[i] = m_laserProxy->intensities[i]; } --- 107,111 ---- //copy range & intensity values for (int i = 0; i < m_laserProxy->RangeCount(); i++) { ! (*rangeVect)[i] = (int)((*m_laserProxy)[i] * 1000.0); (*intensityVect)[i] = m_laserProxy->intensities[i]; } |