|
OpenCPN Partial API docs
|
A generic position and navigation data structure. More...
#include <ocpn_types.h>
Public Attributes | |
| double | kLat |
| Latitude in decimal degrees. | |
| double | kLon |
| Longitude in decimal degrees. | |
| double | kCog |
| Course over ground in degrees. | |
| double | kSog |
| Speed over ground in knots. | |
| double | kVar |
| Magnetic variation in degrees. | |
| double | kHdm |
| Magnetic heading in degrees. | |
| double | kHdt |
| True heading in degrees. | |
| time_t | FixTime |
| UTC time of fix. | |
| int | nSats |
| Number of satellites used in the fix. | |
A generic position and navigation data structure.
This structure provides position and navigation data that may come from various sources:
Definition at line 68 of file ocpn_types.h.
| time_t GenericPosDatEx::FixTime |
UTC time of fix.
Definition at line 118 of file ocpn_types.h.
| double GenericPosDatEx::kCog |
Course over ground in degrees.
Definition at line 86 of file ocpn_types.h.
| double GenericPosDatEx::kHdm |
Magnetic heading in degrees.
May be NaN if heading sensor data is not available.
Definition at line 104 of file ocpn_types.h.
| double GenericPosDatEx::kHdt |
True heading in degrees.
May be NaN if true heading cannot be calculated (requires both magnetic heading and variation).
Definition at line 111 of file ocpn_types.h.
| double GenericPosDatEx::kLat |
Latitude in decimal degrees.
May represent last known position rather than current true position if:
Definition at line 75 of file ocpn_types.h.
| double GenericPosDatEx::kLon |
Longitude in decimal degrees.
May represent last known position rather than current true position if:
Definition at line 83 of file ocpn_types.h.
| double GenericPosDatEx::kSog |
Speed over ground in knots.
May be NaN if speed cannot be determined.
Definition at line 92 of file ocpn_types.h.
| double GenericPosDatEx::kVar |
Magnetic variation in degrees.
Typically sourced from NMEA RMC message.
Definition at line 98 of file ocpn_types.h.
| int GenericPosDatEx::nSats |
Number of satellites used in the fix.
Will be 0 if:
Definition at line 126 of file ocpn_types.h.