Update of /cvsroot/playerstage/code/player/server/drivers/mixed/evolution/er1
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18834/server/drivers/mixed/evolution/er1
Modified Files:
er.cc er.h
Log Message:
inserted new er1 driver from Ricardo Tellez
Index: er.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/mixed/evolution/er1/er.cc,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** er.cc 1 Nov 2007 22:16:20 -0000 1.20
--- er.cc 1 Nov 2007 22:35:56 -0000 1.21
***************
*** 776,780 ****
if (this->_powered || !this->_resting) {
! Publish(position_id, NULL, PLAYER_MSGTYPE_DATA,
PLAYER_POSITION2D_DATA_STATE, &data, sizeof(data));
if (!this->_powered) this->_resting = true;
}
--- 776,780 ----
if (this->_powered || !this->_resting) {
! Publish(position_id, PLAYER_MSGTYPE_DATA, PLAYER_POSITION2D_DATA_STATE,
&data, sizeof(data), NULL);
if (!this->_powered) this->_resting = true;
}
***************
*** 788,792 ****
////////////////////////////////////////////////////////////////////////////////
// Process an incoming message
! int ER::ProcessMessage(MessageQueue * resp_queue,
player_msghdr * hdr,
void * data)
--- 788,792 ----
////////////////////////////////////////////////////////////////////////////////
// Process an incoming message
! int ER::ProcessMessage(QueuePointer & resp_queue,
player_msghdr * hdr,
void * data)
***************
*** 802,809 ****
geom.pose.px = -0.1;//htons((short) (-100));
geom.pose.py = 0;//htons((short) (0));
! geom.pose.pa = 0;//htons((short) (0));
geom.size.sw = 0.25;//htons((short) (250));
geom.size.sl = 0.425;//htons((short) (425));
! Publish(position_id, resp_queue, PLAYER_MSGTYPE_RESP_ACK,
PLAYER_POSITION2D_REQ_GET_GEOM, &geom, sizeof(geom));
return 0;
--- 802,809 ----
geom.pose.px = -0.1;//htons((short) (-100));
geom.pose.py = 0;//htons((short) (0));
! geom.pose.pyaw = 0;//htons((short) (0));
geom.size.sw = 0.25;//htons((short) (250));
geom.size.sl = 0.425;//htons((short) (425));
! Publish(position_id, resp_queue, PLAYER_MSGTYPE_RESP_ACK,
PLAYER_POSITION2D_REQ_GET_GEOM, &geom, sizeof(geom),NULL);
return 0;
***************
*** 1077,1079 ****
er->Stop (FULL_STOP);
! }
\ No newline at end of file
--- 1077,1080 ----
er->Stop (FULL_STOP);
! }
!
Index: er.h
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/mixed/evolution/er1/er.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** er.h 1 Nov 2007 22:16:20 -0000 1.6
--- er.h 1 Nov 2007 22:35:56 -0000 1.7
***************
*** 114,118 ****
// MessageHandler
! virtual int ProcessMessage(MessageQueue * resp_queue,
player_msghdr * hdr,
void * data);
--- 114,118 ----
// MessageHandler
! virtual int ProcessMessage(QueuePointer & resp_queue,
player_msghdr * hdr,
void * data);
***************
*** 170,172 ****
};
! #endif
\ No newline at end of file
--- 170,173 ----
};
! #endif
!
-------------------------------------------------------------------------
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