Update of /cvsroot/playerstage/code/player/server/drivers/pointcloud3d
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11860/server/drivers/pointcloud3d
Modified Files:
Tag: b_thjc_dynamic_arrays
laserptzcloud.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/pointcloud3d/.cvsignore,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** .cvsignore 10 Oct 2007 09:26:14 -0000 1.1.2.1
--- .cvsignore 19 Oct 2007 21:58:57 -0000 1.1.2.2
***************
*** 3,4 ****
--- 3,6 ----
.deps
*.la
+ .libs
+ *.lo
Index: laserptzcloud.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/pointcloud3d/laserptzcloud.cc,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** laserptzcloud.cc 23 Aug 2007 19:58:46 -0000 1.2
--- laserptzcloud.cc 19 Oct 2007 21:58:57 -0000 1.2.2.1
***************
*** 78,82 ****
#define DEFAULT_MAXSCANS 100
! #define DEFAULT_MAXPOINTS PLAYER_POINTCLOUD3D_MAX_POINTS
#define DEFAULT_MAXDISTANCE 10
--- 78,82 ----
#define DEFAULT_MAXSCANS 100
! #define DEFAULT_MAXPOINTS 1024
#define DEFAULT_MAXDISTANCE 10
***************
*** 350,353 ****
--- 350,354 ----
cloud_data.points_count = counter;
+ cloud_data.points =
(player_pointcloud3d_element_t*)calloc(sizeof(cloud_data.points[0]),cloud_data.points_count);
for (int j=0; j < counter; j++)
cloud_data.points[j] = all_elements[j];
***************
*** 356,359 ****
--- 357,361 ----
PLAYER_POINTCLOUD3D_DATA_STATE, &cloud_data,
sizeof (player_pointcloud3d_data_t), NULL);
+ free(cloud_data.points);
}
this->numscans = 0;
-------------------------------------------------------------------------
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