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

Modified Files:
        nomad_position.cc nomad_sonar.cc 
Log Message:
overhaul of the player interface definitions
interfaces are now defined with a very light weight IDL allowing them to be 
edited in a single file
some subtype names were also modified as a side effect, making them more 
consistent globally


Index: nomad_sonar.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/mixed/nomad/nomad_sonar.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** nomad_sonar.cc      16 Nov 2005 06:08:45 -0000      1.10
--- nomad_sonar.cc      20 Aug 2007 06:37:29 -0000      1.11
***************
*** 54,58 ****
  @par Configuration requests
  
! - PLAYER_POSITION_GET_GEOM_REQ
    
  @par Configuration file options
--- 54,58 ----
  @par Configuration requests
  
! - PLAYER_POSITION2D_REQ_GET_GEOM
    
  @par Configuration file options
***************
*** 186,190 ****
    assert(resp_len);
        
!   if (MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_SONAR_GET_GEOM, device_id))
    {
        assert(*resp_len >= sizeof(player_sonar_geom_t));
--- 186,190 ----
    assert(resp_len);
        
!   if (MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_SONAR_REQ_GET_GEOM, 
device_id))
    {
        assert(*resp_len >= sizeof(player_sonar_geom_t));

Index: nomad_position.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/mixed/nomad/nomad_position.cc,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** nomad_position.cc   16 Nov 2005 06:08:45 -0000      1.12
--- nomad_position.cc   20 Aug 2007 06:37:29 -0000      1.13
***************
*** 54,58 ****
  @par Configuration requests
  
! - PLAYER_POSITION_GET_GEOM_REQ
    
  @par Configuration file options
--- 54,58 ----
  @par Configuration requests
  
! - PLAYER_POSITION2D_REQ_GET_GEOM
    
  @par Configuration file options
***************
*** 122,126 ****
  
  NomadPosition::NomadPosition( ConfigFile* cf, int section)
!         : Driver(cf, section, true, PLAYER_MSGQUEUE_DEFAULT_MAXLEN, 
PLAYER_POSITION_CODE, PLAYER_ALL_MODE)
  {
    // Must have a nomad
--- 122,126 ----
  
  NomadPosition::NomadPosition( ConfigFile* cf, int section)
!         : Driver(cf, section, true, PLAYER_MSGQUEUE_DEFAULT_MAXLEN, 
PLAYER_POSITION2D_CODE, PLAYER_ALL_MODE)
  {
    // Must have a nomad
***************
*** 186,190 ****
    assert(resp_len);
        
!   if (MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_POSITION_GET_GEOM, 
device_id))
    {
        assert(*resp_len >= sizeof(player_position_geom_t));
--- 186,190 ----
    assert(resp_len);
        
!   if (MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_POSITION2D_REQ_GET_GEOM, 
device_id))
    {
        assert(*resp_len >= sizeof(player_position_geom_t));


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