Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19101/client_libs/libplayerc++

Modified Files:
        playerc++.h 
Log Message:
implemented min-left and min-right functionality in libplayerc and libplayerc++

Index: playerc++.h
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.104
retrieving revision 1.105
diff -C2 -d -r1.104 -r1.105
*** playerc++.h 26 Nov 2007 21:50:21 -0000      1.104
--- playerc++.h 5 Dec 2007 21:43:50 -0000       1.105
***************
*** 1012,1018 ****
      playerc_laser_t *mDevice;
  
-     double aMinLeft;
-     double aMinRight;
- 
      // local storage of config
      double min_angle, max_angle, scan_res, range_res, scanning_frequency;
--- 1012,1015 ----
***************
*** 1147,1155 ****
        return(b);
      }
  
!     /// Min left
!     double MinLeft () { return aMinLeft; }
!     /// Min right
!     double MinRight () { return aMinRight; }
  
      /// Range access operator.  This operator provides an alternate
--- 1144,1163 ----
        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

Reply via email to