Update of /cvsroot/playerstage/code/player/utils/pmap
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10464/player/utils/pmap

Modified Files:
        lodo_driver.cc 
Log Message:
applied Toby's autopointer patches

Index: lodo_driver.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/utils/pmap/lodo_driver.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** lodo_driver.cc      19 Jul 2007 23:32:13 -0000      1.3
--- lodo_driver.cc      23 Aug 2007 19:58:48 -0000      1.4
***************
*** 182,186 ****
  
    /// @brief Message handler
!   public: int ProcessMessage (MessageQueue *resp_queue, player_msghdr *hdr, 
void *data);
  
    /// Laser offset in robot cs
--- 182,186 ----
  
    /// @brief Message handler
!   public: int ProcessMessage (QueuePointer &resp_queue, player_msghdr *hdr, 
void *data);
  
    /// Laser offset in robot cs
***************
*** 384,388 ****
  
  
! int LodoDriver::ProcessMessage (MessageQueue * resp_queue, player_msghdr 
*hdr, void *data)
  {
    pose2_t pose;
--- 384,388 ----
  
  
! int LodoDriver::ProcessMessage (QueuePointer & resp_queue, player_msghdr 
*hdr, void *data)
  {
    pose2_t pose;
***************
*** 397,401 ****
      laser_data = *reinterpret_cast<player_laser_data_t*> (data);
      this->laser_time = hdr->timestamp;
!     Publish (out_laser_id, NULL, PLAYER_MSGTYPE_DATA, PLAYER_LASER_DATA_SCAN, 
&laser_data, sizeof (player_laser_data_t), &laser_time);
  
      // Auto-detect range count and create lodo object
--- 397,401 ----
      laser_data = *reinterpret_cast<player_laser_data_t*> (data);
      this->laser_time = hdr->timestamp;
!     Publish (out_laser_id, PLAYER_MSGTYPE_DATA, PLAYER_LASER_DATA_SCAN, 
&laser_data, sizeof (player_laser_data_t), &laser_time);
  
      // Auto-detect range count and create lodo object
***************
*** 447,451 ****
      this->out_position2d_data.pos.py = this->robot_pose.pos.y;
      this->out_position2d_data.pos.pa = this->robot_pose.rot;
!     Publish (out_position2d_id, NULL, PLAYER_MSGTYPE_DATA, 
PLAYER_POSITION2D_DATA_STATE, &out_position2d_data, sizeof 
(player_position2d_data_t), &laser_time);
  
      return 0;
--- 447,451 ----
      this->out_position2d_data.pos.py = this->robot_pose.pos.y;
      this->out_position2d_data.pos.pa = this->robot_pose.rot;
!     Publish (out_position2d_id, PLAYER_MSGTYPE_DATA, 
PLAYER_POSITION2D_DATA_STATE, &out_position2d_data, sizeof 
(player_position2d_data_t), &laser_time);
  
      return 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

Reply via email to