Update of /cvsroot/playerstage/code/player/server/drivers/mixed/p2os
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11860/server/drivers/mixed/p2os

Modified Files:
      Tag: b_thjc_dynamic_arrays
        p2os.cc sip.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/p2os/.cvsignore,v
retrieving revision 1.1.20.1
retrieving revision 1.1.20.2
diff -C2 -d -r1.1.20.1 -r1.1.20.2
*** .cvsignore  10 Oct 2007 09:26:11 -0000      1.1.20.1
--- .cvsignore  19 Oct 2007 21:58:57 -0000      1.1.20.2
***************
*** 4,5 ****
--- 4,7 ----
  *.la
  *.a
+ .libs
+ *.lo

Index: sip.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/mixed/p2os/sip.cc,v
retrieving revision 1.24.2.2
retrieving revision 1.24.2.3
diff -C2 -d -r1.24.2.2 -r1.24.2.3
*** sip.cc      14 Oct 2007 04:41:47 -0000      1.24.2.2
--- sip.cc      19 Oct 2007 21:58:57 -0000      1.24.2.3
***************
*** 172,176 ****
    data->aio.voltages_count = (unsigned char)1;
    if (!data->aio.voltages)
!     data->aio.voltages = new double[1];
    data->aio.voltages[0] = (this->analog / 255.0) * 5.0;
  
--- 172,176 ----
    data->aio.voltages_count = (unsigned char)1;
    if (!data->aio.voltages)
!     data->aio.voltages = new float[1];
    data->aio.voltages[0] = (this->analog / 255.0) * 5.0;
  

Index: p2os.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/mixed/p2os/p2os.cc,v
retrieving revision 1.83.2.2
retrieving revision 1.83.2.3
diff -C2 -d -r1.83.2.2 -r1.83.2.3
*** p2os.cc     14 Oct 2007 04:41:46 -0000      1.83.2.2
--- p2os.cc     19 Oct 2007 21:58:56 -0000      1.83.2.3
***************
*** 326,329 ****
--- 326,330 ----
  
  #include "p2os.h"
+ #include <libplayerxdr/playerxdr.h>
  
  Driver*
***************
*** 1303,1307 ****
  {
    player_position2d_data_t_cleanup(&p2os_data.position);
!   player_sonar_data_t_cleanup (&p2os_data.sonar)
    player_gripper_data_t_cleanup (&p2os_data.gripper);
    player_gripper_data_t_cleanup (&p2os_data.armGripper);
--- 1304,1308 ----
  {
    player_position2d_data_t_cleanup(&p2os_data.position);
!   player_sonar_data_t_cleanup (&p2os_data.sonar);
    player_gripper_data_t_cleanup (&p2os_data.gripper);
    player_gripper_data_t_cleanup (&p2os_data.armGripper);


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