Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15262/client_libs/libplayerc++
Modified Files:
playerc++.h
Log Message:
added chatterbox driver, fixed build bug in libplayerc/dev_vectormap.c, fixed
shallow copy bug in libplayerc/dev_ir.c
Index: playerc++.h
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** playerc++.h 6 Feb 2008 19:38:36 -0000 1.110
--- playerc++.h 7 Feb 2008 02:22:59 -0000 1.111
***************
*** 972,982 ****
/// get the number of IR rangers
! uint32_t GetCount() const { return GetVar(mDevice->ranges.ranges_count);
};
/// get the current range
double GetRange(uint32_t aIndex) const
! { return GetVar(mDevice->ranges.ranges[aIndex]); };
/// get the current voltage
double GetVoltage(uint32_t aIndex) const
! { return GetVar(mDevice->ranges.voltages[aIndex]); };
/// get the number of poses
uint32_t GetPoseCount() const { return
GetVar(mDevice->poses.poses_count); };
--- 972,982 ----
/// get the number of IR rangers
! uint32_t GetCount() const { return GetVar(mDevice->data.ranges_count); };
/// get the current range
double GetRange(uint32_t aIndex) const
! { return GetVar(mDevice->data.ranges[aIndex]); };
/// get the current voltage
double GetVoltage(uint32_t aIndex) const
! { return GetVar(mDevice->data.voltages[aIndex]); };
/// get the number of poses
uint32_t GetPoseCount() const { return
GetVar(mDevice->poses.poses_count); };
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit