| 
    Copernicus
    1.0
    
   An Arduino module for the Trimble Copernicus GPS receiver 
   | 
 
Position fix. More...
#include <gpstype.h>
Public Member Functions | |
| PosFix () | |
| const LLA_Fix< Float32 > * | getLLA_32 () const | 
| const LLA_Fix< Float64 > * | getLLA_64 () const | 
| const XYZ_Fix< Float32 > * | getXYZ_32 () const | 
| const XYZ_Fix< Float64 > * | getXYZ_64 () const | 
Public Attributes | |
| ReportType | type | 
| Format of stored position fix.  More... | |
| XYZ_Fix< Float32 > | xyz_32 | 
| XYZ_Fix< Float64 > | xyz_64 | 
| LLA_Fix< Float32 > | lla_32 | 
| LLA_Fix< Float64 > | lla_64 | 
Protected Attributes | |
| union { | |
| XYZ_Fix< Float32 > xyz_32 | |
| XYZ_Fix< Float64 > xyz_64 | |
| LLA_Fix< Float32 > lla_32 | |
| LLA_Fix< Float64 > lla_64 | |
| }; | |
Friends | |
| class | CopernicusGPS | 
Position fix.
Depending on the reporting mode of the receiver, this structure may store a report of type RPT_FIX_POS_LLA_32, RPT_FIX_POS_LLA_64, RPT_FIX_POS_XYZ_32, RPT_FIX_POS_XYZ_64, or RPT_NONE. The stored type is indicated by PosFix.type; use one of the four access methods to obtain an object storing the actual position data. Access methods which don't currently correspond to the store type will return NULL.
If the report type is unknown, there is not yet a valid fix and all accessors will return NULL.
For example:
 const PosFix &fix = gps.GetPositionFix();
 if (fix.type == RPT_FIX_POS_LLA_32) {
     LLA_Fix<Float32> fixdata = fix.getLLA_32();
     // ...
 } else if (fix.type == RPT_FIX_POS_XYZ_32) {
     XYZ_FIX<Float32> fixdata = fix.getXYZ_32();
     // ...
 } // etc. | PosFix::PosFix | ( | ) | 
      
  | 
  friend | 
| union { ... } | 
| ReportType PosFix::type | 
Format of stored position fix.
 1.8.3.1