Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24320/client_libs/libplayerc++
Modified Files:
Tag: release-2-0-patches
playerc++.h
Log Message:
merged client-side laser min-left / min-right fixes from HEAD
Index: playerc++.h
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.54.2.14
retrieving revision 1.54.2.15
diff -C2 -d -r1.54.2.14 -r1.54.2.15
*** playerc++.h 19 Oct 2007 18:03:21 -0000 1.54.2.14
--- playerc++.h 5 Dec 2007 21:57:34 -0000 1.54.2.15
***************
*** 888,894 ****
playerc_laser_t *mDevice;
- double aMinLeft;
- double aMinRight;
-
// local storage of config
double min_angle, max_angle, scan_res, range_res;
--- 888,891 ----
***************
*** 1006,1014 ****
return(b);
}
! /// Min left
! double MinLeft () { return aMinLeft; }
! /// Min right
! double MinRight () { return aMinRight; }
/// Range access operator. This operator provides an alternate
--- 1003,1022 ----
return(b);
}
+
+ /// Minimum range reading on the left side
+ double GetMinLeft() const
+ { return GetVar(mDevice->min_left); };
+
+ /// Minimum range reading on the right side
+ double GetMinRight() const
+ { return GetVar(mDevice->min_right); };
+
+ /// @deprecated Minimum range reading on the left side
+ double MinLeft () const
+ { return GetMinLeft(); }
! /// @deprecated Minimum range reading on the right side
! double MinRight () const
! { return GetMinRight(); }
/// Range access operator. This operator provides an alternate
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit