Update of /cvsroot/playerstage/code/player/server/drivers/position/mbicp
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10946/server/drivers/position/mbicp
Modified Files:
.cvsignore mbicp_driver.cc
Log Message:
applied Toby's patch to replace fixed-size arrays
Index: .cvsignore
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/position/mbicp/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** .cvsignore 17 Sep 2007 02:18:56 -0000 1.2
--- .cvsignore 1 Nov 2007 22:16:22 -0000 1.3
***************
*** 3,4 ****
--- 3,6 ----
.deps
*.la
+ .libs
+ *.lo
Index: mbicp_driver.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/position/mbicp/mbicp_driver.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** mbicp_driver.cc 23 Aug 2007 19:58:47 -0000 1.2
--- mbicp_driver.cc 1 Nov 2007 22:16:22 -0000 1.3
***************
*** 180,183 ****
--- 180,184 ----
#include "MbICP.h"
+ #define LASER_MAX_SAMPLES 1024
class mbicp : public Driver
***************
*** 560,564 ****
currentScan.id = data.scan.id;
! for (int i=0; i < PLAYER_LASER_MAX_SAMPLES; i++){
currentScan.ranges[i] = data.scan.ranges[i];
currentScan.intensity[i] = data.scan.intensity[i];
--- 561,565 ----
currentScan.id = data.scan.id;
! for (int i=0; i < currentScan.ranges_count; i++){
currentScan.ranges[i] = data.scan.ranges[i];
currentScan.intensity[i] = data.scan.intensity[i];
***************
*** 599,604 ****
outInversion4;
! Tpfp previousScanTpfp[PLAYER_LASER_MAX_SAMPLES],
! currentScanTpfp[PLAYER_LASER_MAX_SAMPLES];
int salidaMbicp;
--- 600,605 ----
outInversion4;
! Tpfp previousScanTpfp[LASER_MAX_SAMPLES],
! currentScanTpfp[LASER_MAX_SAMPLES];
int salidaMbicp;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit