player_gps_data Struct Reference
#include <player.h>
Detailed Description
Data: state (PLAYER_GPS_DATA_STATE).
The gps
interface gives current global position and heading information.
- Todo:
- : Review the units used here
Public Attributes | |
uint32_t | time_sec |
GPS (UTC) time, in seconds and microseconds since the epoch. | |
uint32_t | time_usec |
GPS (UTC) time, in seconds and microseconds since the epoch. | |
int32_t | latitude |
Latitude in degrees / 1e7 (units are scaled such that the effective resolution is roughly 1cm). | |
int32_t | longitude |
Longitude in degrees / 1e7 (units are scaled such that the effective resolution is roughly 1cm). | |
int32_t | altitude |
Altitude, in millimeters. | |
double | utm_e |
UTM WGS84 coordinates, easting [m]. | |
double | utm_n |
UTM WGS84 coordinates, northing [m]. | |
uint32_t | quality |
Quality of fix 0 = invalid, 1 = GPS fix, 2 = DGPS fix. | |
uint32_t | num_sats |
Number of satellites in view. | |
uint32_t | hdop |
Horizontal dilution of position (HDOP), times 10. | |
uint32_t | vdop |
Vertical dilution of position (VDOP), times 10. | |
double | err_horz |
Horizonal error [m]. | |
double | err_vert |
Vertical error [m]. |
Member Data Documentation
|
Altitude, in millimeters. Positive is above reference (e.g., sea-level), and negative is below. |
|
Latitude in degrees / 1e7 (units are scaled such that the effective resolution is roughly 1cm). Positive is north of equator, negative is south of equator. |
|
Longitude in degrees / 1e7 (units are scaled such that the effective resolution is roughly 1cm). Positive is east of prime meridian, negative is west of prime meridian. |
The documentation for this struct was generated from the following file: