Google is committed to advancing racial equity for Black communities. See how.

GpsMeasurement Struct Reference

GpsMeasurement Struct Reference

#include < gps.h >

Data Fields

size_t  size
 
GpsMeasurementFlags   flags
 
int8_t  prn
 
double  time_offset_ns
 
GpsMeasurementState   state
 
int64_t  received_gps_tow_ns
 
int64_t  received_gps_tow_uncertainty_ns
 
double  c_n0_dbhz
 
double  pseudorange_rate_mps
 
double  pseudorange_rate_uncertainty_mps
 
GpsAccumulatedDeltaRangeState   accumulated_delta_range_state
 
double  accumulated_delta_range_m
 
double  accumulated_delta_range_uncertainty_m
 
double  pseudorange_m
 
double  pseudorange_uncertainty_m
 
double  code_phase_chips
 
double  code_phase_uncertainty_chips
 
float  carrier_frequency_hz
 
int64_t  carrier_cycles
 
double  carrier_phase
 
double  carrier_phase_uncertainty
 
GpsLossOfLock   loss_of_lock
 
int32_t  bit_number
 
int16_t  time_from_last_bit_ms
 
double  doppler_shift_hz
 
double  doppler_shift_uncertainty_hz
 
GpsMultipathIndicator   multipath_indicator
 
double  snr_db
 
double  elevation_deg
 
double  elevation_uncertainty_deg
 
double  azimuth_deg
 
double  azimuth_uncertainty_deg
 
bool  used_in_fix
 

Detailed Description

Legacy struct to represent a GPS Measurement, it contains raw and computed information. Deprecated, to be removed in the next Android release. Use GnssMeasurement instead.

Definition at line 1610 of file gps.h .

Field Documentation

double accumulated_delta_range_m

Definition at line 1623 of file gps.h .

GpsAccumulatedDeltaRangeState accumulated_delta_range_state

Definition at line 1622 of file gps.h .

double accumulated_delta_range_uncertainty_m

Definition at line 1624 of file gps.h .

double azimuth_deg

Definition at line 1642 of file gps.h .

double azimuth_uncertainty_deg

Definition at line 1643 of file gps.h .

int32_t bit_number

Definition at line 1634 of file gps.h .

double c_n0_dbhz

Definition at line 1619 of file gps.h .

int64_t carrier_cycles

Definition at line 1630 of file gps.h .

float carrier_frequency_hz

Definition at line 1629 of file gps.h .

double carrier_phase

Definition at line 1631 of file gps.h .

double carrier_phase_uncertainty

Definition at line 1632 of file gps.h .

double code_phase_chips

Definition at line 1627 of file gps.h .

double code_phase_uncertainty_chips

Definition at line 1628 of file gps.h .

double doppler_shift_hz

Definition at line 1636 of file gps.h .

double doppler_shift_uncertainty_hz

Definition at line 1637 of file gps.h .

double elevation_deg

Definition at line 1640 of file gps.h .

double elevation_uncertainty_deg

Definition at line 1641 of file gps.h .

Definition at line 1613 of file gps.h .

GpsLossOfLock loss_of_lock

Definition at line 1633 of file gps.h .

GpsMultipathIndicator multipath_indicator

Definition at line 1638 of file gps.h .

int8_t prn

Definition at line 1614 of file gps.h .

double pseudorange_m

Definition at line 1625 of file gps.h .

double pseudorange_rate_mps

Definition at line 1620 of file gps.h .

double pseudorange_rate_uncertainty_mps

Definition at line 1621 of file gps.h .

double pseudorange_uncertainty_m

Definition at line 1626 of file gps.h .

int64_t received_gps_tow_ns

Definition at line 1617 of file gps.h .

int64_t received_gps_tow_uncertainty_ns

Definition at line 1618 of file gps.h .

size_t size

set to sizeof(GpsMeasurement)

Definition at line 1612 of file gps.h .

double snr_db

Definition at line 1639 of file gps.h .

Definition at line 1616 of file gps.h .

int16_t time_from_last_bit_ms

Definition at line 1635 of file gps.h .

double time_offset_ns

Definition at line 1615 of file gps.h .

bool used_in_fix

Definition at line 1644 of file gps.h .


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