Update of /cvsroot/playerstage/code/player/server/drivers/mixed/khepera
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30199/server/drivers/mixed/khepera
Modified Files:
khepera.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: khepera.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/mixed/khepera/khepera.cc,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** khepera.cc 9 Jul 2007 17:18:01 -0000 1.17
--- khepera.cc 20 Aug 2007 06:37:28 -0000 1.18
***************
*** 57,67 ****
- The @ref interface_position2d interface supports:
! - PLAYER_POSITION_GET_GEOM_REQ
! - PLAYER_POSITION_MOTOR_POWER_REQ
! - PLAYER_POSITION_VELOCITY_MODE_REQ
! - PLAYER_POSITION_RESET_ODOM_REQ
! - PLAYER_POSITION_SET_ODOM_REQ
- The @ref interface_ir interface supports:
! - PLAYER_IR_POSE_REQ
@par Configuration file options
--- 57,67 ----
- The @ref interface_position2d interface supports:
! - PLAYER_POSITION2D_REQ_GET_GEOM
! - PLAYER_POSITION2D_REQ_MOTOR_POWER
! - PLAYER_POSITION2D_REQ_VELOCITY_MODE
! - PLAYER_POSITION2D_REQ_RESET_ODOM
! - PLAYER_POSITION2D_REQ_SET_ODOM
- The @ref interface_ir interface supports:
! - PLAYER_IR_REQ_POSE
@par Configuration file options
***************
*** 164,168 ****
assert(data);
! if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_IR_POSE,
ir_addr))
{
Publish(ir_addr, resp_queue, PLAYER_MSGTYPE_RESP_ACK,
hdr->subtype, &geometry->ir, sizeof(geometry->ir));
--- 164,168 ----
assert(data);
! if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ, PLAYER_IR_REQ_POSE,
ir_addr))
{
Publish(ir_addr, resp_queue, PLAYER_MSGTYPE_RESP_ACK,
hdr->subtype, &geometry->ir, sizeof(geometry->ir));
***************
*** 263,269 ****
geometry->scale = cf->ReadFloat(section, "scale_factor",
KHEPERA_DEFAULT_SCALE);
- // set sub type here
- // geometry->position.subtype = PLAYER_POSITION_GET_GEOM_REQ;
-
geometry->encoder_res = cf->ReadFloat(section,"encoder_res",
KHEPERA_DEFAULT_ENCODER_RES);
--- 263,266 ----
-------------------------------------------------------------------------
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