Data: state (PLAYER_GPS_DATA_STATE) More...

`#include <player_interfaces.h>`

## 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]. |

## Detailed Description

Data: state (PLAYER_GPS_DATA_STATE)

The `gps`

interface gives current global position and heading information.

## Member Data Documentation

int32_t player_gps_data::altitude |

Altitude, in millimeters.

Positive is above reference (e.g., sea-level), and negative is below.

int32_t player_gps_data::latitude |

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.

int32_t player_gps_data::longitude |

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.

uint32_t player_gps_data::num_sats |

Number of satellites in view.

uint32_t player_gps_data::time_sec |

GPS (UTC) time, in seconds and microseconds since the epoch.

uint32_t player_gps_data::time_usec |

GPS (UTC) time, in seconds and microseconds since the epoch.

The documentation for this struct was generated from the following file: