Update of /cvsroot/playerstage/code/player/server/drivers/mixed/irobot/roomba
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11860/server/drivers/mixed/irobot/roomba
Modified Files:
Tag: b_thjc_dynamic_arrays
roomba_driver.cc .cvsignore
Log Message:
dynamic array changes to drivers compile, still needs testing
added lots more .cvsignore settings for eclipse
Index: .cvsignore
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/mixed/irobot/roomba/.cvsignore,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -C2 -d -r1.1.4.1 -r1.1.4.2
*** .cvsignore 10 Oct 2007 09:26:08 -0000 1.1.4.1
--- .cvsignore 19 Oct 2007 21:58:58 -0000 1.1.4.2
***************
*** 3,4 ****
--- 3,6 ----
.deps
*.la
+ .libs
+ *.lo
Index: roomba_driver.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/mixed/irobot/roomba/roomba_driver.cc,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -C2 -d -r1.16.2.1 -r1.16.2.2
*** roomba_driver.cc 14 Oct 2007 04:41:48 -0000 1.16.2.1
--- roomba_driver.cc 19 Oct 2007 21:58:58 -0000 1.16.2.2
***************
*** 345,349 ****
irdata.ranges_count = 11;
! irdata.ranges = new double [irdata.ranges_count];
irdata.ranges[0] = (float)this->roomba_dev->wall;
irdata.ranges[1] = (float)this->roomba_dev->cliff_left;
--- 345,349 ----
irdata.ranges_count = 11;
! irdata.ranges = new float [irdata.ranges_count];
irdata.ranges[0] = (float)this->roomba_dev->wall;
irdata.ranges[1] = (float)this->roomba_dev->cliff_left;
***************
*** 384,388 ****
cpdata.data_count=5;
! this->cpdata->data = new uint8_t [this->cpdata->data_count];
cpdata.data[0]=this->roomba_dev->button_max;
--- 384,388 ----
cpdata.data_count=5;
! cpdata.data = new uint8_t [cpdata.data_count];
cpdata.data[0]=this->roomba_dev->button_max;
***************
*** 395,399 ****
PLAYER_MSGTYPE_DATA,PLAYER_OPAQUE_DATA_STATE,
(void*)&cpdata);
! delete [] this->cpdata->data;
usleep(CYCLE_TIME_US);
--- 395,399 ----
PLAYER_MSGTYPE_DATA,PLAYER_OPAQUE_DATA_STATE,
(void*)&cpdata);
! delete [] cpdata.data;
usleep(CYCLE_TIME_US);
***************
*** 486,490 ****
poses.poses_count = 11;
! poses.poses = player_pose3d_t[poses.poses_count];
// TODO: Fill in proper values
--- 486,490 ----
poses.poses_count = 11;
! poses.poses = new player_pose3d_t[poses.poses_count];
// TODO: Fill in proper values
-------------------------------------------------------------------------
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