GpsLocation Struct Reference

GpsLocation Struct Reference

#include < gps.h >

Data Fields

size_t  size
 
uint16_t  flags
 
double  latitude
 
double  longitude
 
double  altitude
 
float  speed
 
float  bearing
 
float  accuracy
 
GpsUtcTime   timestamp
 

Detailed Description

Represents a location.

Definition at line 527 of file gps.h .

Field Documentation

float accuracy

Represents expected accuracy in meters.

Definition at line 545 of file gps.h .

double altitude

Represents altitude in meters above the WGS 84 reference ellipsoid.

Definition at line 539 of file gps.h .

float bearing

Represents heading in degrees.

Definition at line 543 of file gps.h .

uint16_t flags

Contains GpsLocationFlags bits.

Definition at line 531 of file gps.h .

double latitude

Represents latitude in degrees.

Definition at line 533 of file gps.h .

double longitude

Represents longitude in degrees.

Definition at line 535 of file gps.h .

size_t size

set to sizeof(GpsLocation)

Definition at line 529 of file gps.h .

float speed

Represents speed in meters per second.

Definition at line 541 of file gps.h .

GpsUtcTime timestamp

Timestamp for the location fix.

Definition at line 547 of file gps.h .


The documentation for this struct was generated from the following file:
  • hardware/libhardware/include/hardware/ gps.h