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

Modified Files:
        gpsproxy.cc 
Log Message:
applied [ 1716272 ] GPS in Playerprint


Index: gpsproxy.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/gpsproxy.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** gpsproxy.cc 24 Feb 2006 02:46:14 -0000      1.3
--- gpsproxy.cc 9 Jun 2007 03:51:37 -0000       1.4
***************
*** 26,30 ****
  
  #include "playerc++.h"
! 
  using namespace PlayerCc;
  
--- 26,31 ----
  
  #include "playerc++.h"
! #include <sstream>
! #include <iomanip>
  using namespace PlayerCc;
  
***************
*** 70,77 ****
  {
    os << "#GPS (" << c.GetInterface() << ":" << c.GetIndex() << ")" << 
std::endl;
!   os << "#lat|long|alt|utm_e|utm_n|err_horz|err_vert|num_sats" << std::endl;
!   os << c.GetLatitude() << " " << c.GetLongitude() << " " << c.GetAltitude() 
<< " " ;
!   os << c.GetUtmEasting() << " " << c.GetUtmNorthing() << " " << 
c.GetErrHorizontal() << " ";
!   os << c.GetErrVertical() << " " << c.GetSatellites() << std::endl;
    return os;
  }
--- 71,79 ----
  {
    os << "#GPS (" << c.GetInterface() << ":" << c.GetIndex() << ")" << 
std::endl;
!   os << "#lat|long|alt|utm_e|utm_n|err_horz|err_vert|num_sats|quality" << 
std::endl;
!   os << std::setw(11) << std::setprecision(10) << c.GetLatitude() << " " << 
std::setw(11) << std::setprecision(10) <<  c.GetLongitude() << " " << 
std::setw(6) << std::setprecision(5) << c.GetAltitude() << " " ;
! 
!   os << std::setw(11) << std::setprecision(10) << c.GetUtmEasting() << " " << 
std::setw(11) << std::setprecision(10) << c.GetUtmNorthing() << " " << 
std::setw(6) << std::setprecision(5) << c.GetErrHorizontal() << " ";
!   os << std::setw(6) << std::setprecision(5) << c.GetErrVertical() << " " << 
setw(3) << c.GetSatellites() << " " << std::setw(3) << c.GetQuality() << 
std::endl;
    return os;
  }


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to