Update of /cvsroot/playerstage/code/player/server/drivers/blobfinder/simpleshape
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25787/server/drivers/blobfinder/simpleshape

Modified Files:
      Tag: b_thjc_dynamic_arrays
        .cvsignore simpleshape.cc 
Log Message:
Merged some changes from head a while back

Work on updating drivers, A-J done,  laser is next

Index: .cvsignore
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/blobfinder/simpleshape/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.1.6.1
diff -C2 -d -r1.1 -r1.1.6.1
*** .cvsignore  4 Oct 2005 17:53:50 -0000       1.1
--- .cvsignore  10 Oct 2007 09:26:03 -0000      1.1.6.1
***************
*** 1,2 ****
--- 1,6 ----
  Makefile
  Makefile.in
+ .deps
+ *.la
+ .libs
+ *.lo

Index: simpleshape.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/blobfinder/simpleshape/simpleshape.cc,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -d -r1.6 -r1.6.2.1
*** simpleshape.cc      23 Aug 2007 19:58:42 -0000      1.6
--- simpleshape.cc      10 Oct 2007 09:26:03 -0000      1.6.2.1
***************
*** 605,609 ****
  
    data.blobs_count = (this->shapeCount);
!     
    for (i = 0; i < this->shapeCount; i++)
    {
--- 605,609 ----
  
    data.blobs_count = (this->shapeCount);
!   data.blobs = 
(player_blobfinder_blob_t*)calloc(shapeCount,sizeof(data.blobs[0]));
    for (i = 0; i < this->shapeCount; i++)
    {
***************
*** 625,631 ****
    // Copy data to server.
    
Publish(device_addr,PLAYER_MSGTYPE_DATA,PLAYER_BLOBFINDER_DATA_BLOBS,&data,sizeof(data));
!   // Copy data to server
! /*  size = sizeof(data) - sizeof(data.blobs) + this->shapeCount * 
sizeof(data.blobs[0]);
!   this->PutMsg(this->blobfinder_id, NULL, PLAYER_MSGTYPE_DATA, 0, &data, 
size, &this->cameraTime);*/
    
    return;
--- 625,629 ----
    // Copy data to server.
    
Publish(device_addr,PLAYER_MSGTYPE_DATA,PLAYER_BLOBFINDER_DATA_BLOBS,&data,sizeof(data));
!   free(data.blobs);
    
    return;


-------------------------------------------------------------------------
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

Reply via email to