Update of /cvsroot/playerstage/code/player/server/drivers/mixed/rflex
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30199/server/drivers/mixed/rflex
Modified Files:
rflex.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: rflex.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/mixed/rflex/rflex.cc,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** rflex.cc 25 Jul 2007 09:06:17 -0000 1.37
--- rflex.cc 20 Aug 2007 06:37:29 -0000 1.38
***************
*** 67,86 ****
- The @ref interface_position2d interface supports:
! - PLAYER_POSITION_SET_ODOM_REQ
! - PLAYER_POSITION_MOTOR_POWER_REQ
! - PLAYER_POSITION_VELOCITY_MODE_REQ
! - PLAYER_POSITION_RESET_ODOM_REQ
! - PLAYER_POSITION_GET_GEOM_REQ
- The @ref interface_ir interface supports:
! - PLAYER_IR_POWER_REQ
! - PLAYER_IR_POSE_REQ
- The "sonar" @ref interface_sonar interface supports:
! - PLAYER_SONAR_POWER_REQ
! - PLAYER_SONAR_GET_GEOM_REQ
- The "sonar2" @ref interface_sonar interface supports:
! - PLAYER_SONAR_POWER_REQ
! - PLAYER_SONAR_GET_GEOM_REQ
- The @ref interface_bumper interface supports:
! - PLAYER_BUMPER_GET_GEOM_REQ
@par Configuration file options
--- 67,86 ----
- The @ref interface_position2d interface supports:
! - PLAYER_POSITION2D_REQ_SET_ODOM
! - PLAYER_POSITION2D_REQ_MOTOR_POWER
! - PLAYER_POSITION2D_REQ_VELOCITY_MODE
! - PLAYER_POSITION2D_REQ_RESET_ODOM
! - PLAYER_POSITION2D_REQ_GET_GEOM
- The @ref interface_ir interface supports:
! - PLAYER_IR_REQ_POWER
! - PLAYER_IR_REQ_POSE
- The "sonar" @ref interface_sonar interface supports:
! - PLAYER_SONAR_REQ_POWER
! - PLAYER_SONAR_REQ_GET_GEOM
- The "sonar2" @ref interface_sonar interface supports:
! - PLAYER_SONAR_REQ_POWER
! - PLAYER_SONAR_REQ_GET_GEOM
- The @ref interface_bumper interface supports:
! - PLAYER_BUMPER_REQ_GET_GEOM
@par Configuration file options
***************
*** 419,423 ****
return 0;
}
! else if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ,
PLAYER_BUMPER_GET_GEOM,
bumper_id))
{
--- 419,423 ----
return 0;
}
! else if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ,
PLAYER_BUMPER_REQ_GET_GEOM,
bumper_id))
{
***************
*** 435,439 ****
return 0;
}
! else if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_IR_POSE,
ir_id))
{
Lock();
--- 435,439 ----
return 0;
}
! else if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_IR_REQ_POSE,
ir_id))
{
Lock();
***************
*** 442,446 ****
return 0;
}
! else if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_IR_POWER,
ir_id))
{
assert(hdr->size == sizeof(player_ir_power_req_t));
--- 442,446 ----
return 0;
}
! else if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_IR_REQ_POWER,
ir_id))
{
assert(hdr->size == sizeof(player_ir_power_req_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