Update of /cvsroot/playerstage/code/player/examples/plugins/multidriver
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24692/examples/plugins/multidriver
Modified Files:
multidriver.cc
Log Message:
fixed provides parsing in driver examples
serial stream fixes
added mapping capability to nav200 driver, and other bug fixes
added vectormap to playerprop utility
Index: multidriver.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/examples/plugins/multidriver/multidriver.cc,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** multidriver.cc 23 Aug 2007 19:58:41 -0000 1.12
--- multidriver.cc 14 Dec 2007 00:19:55 -0000 1.13
***************
*** 118,122 ****
// Create my position interface
if (cf->ReadDeviceAddr(&(this->m_position_addr), section,
! "provides", PLAYER_POSITION2D_CODE, 0, NULL) != 0)
{
this->SetError(-1);
--- 118,122 ----
// Create my position interface
if (cf->ReadDeviceAddr(&(this->m_position_addr), section,
! "provides", PLAYER_POSITION2D_CODE, -1, NULL) != 0)
{
this->SetError(-1);
***************
*** 131,135 ****
// Create my laser interface
if (cf->ReadDeviceAddr(&(this->m_laser_addr), section,
! "provides", PLAYER_LASER_CODE, 0, NULL) != 0)
{
this->SetError(-1);
--- 131,135 ----
// Create my laser interface
if (cf->ReadDeviceAddr(&(this->m_laser_addr), section,
! "provides", PLAYER_LASER_CODE, -1, NULL) != 0)
{
this->SetError(-1);
***************
*** 144,148 ****
// Find out which laser I'll subscribe to
if (cf->ReadDeviceAddr(&(this->laser_addr), section,
! "requires", PLAYER_LASER_CODE, 0, NULL) != 0)
{
this->SetError(-1);
--- 144,148 ----
// Find out which laser I'll subscribe to
if (cf->ReadDeviceAddr(&(this->laser_addr), section,
! "requires", PLAYER_LASER_CODE, -1, NULL) != 0)
{
this->SetError(-1);
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit