TnEHProvider
Public Attributes | List of all members
tn::ehp::VehicleLocationInfo Struct Reference

Vehicle current location information. More...

#include <tn_vehicle_location_info.h>

Public Attributes

bool m_epoch_flag
 epoch flag, used to sync with 3rd party DR. More...
 
uint8_t m_satellite_num
 number of satellites used. More...
 
uint16_t m_heading
 heading in degrees. North is zero; clockwise; 0-359, 0 as default. More...
 
uint32_t m_utc_time
 UTC time of this location, in seconds since January 1, 1970. More...
 
uint32_t m_elapsed_time
 elapsed time in milliseconds since the system start. More...
 
float m_speed
 speed in meters per second. More...
 
float m_location_accuracy
 estimated horizontal accuracy as the radius of 68% confidence of this location, radial, in meters. More...
 
float m_cum_dist
 accumulated distance in meters since the system start. More...
 
float m_cum_alt
 accumulated altitude in meters since the system start. More...
 
double m_lat
 latitude of the coordinates of this location in WGS84. More...
 
double m_lon
 longtitude of the coordinates of this location in WGS84. More...
 

Detailed Description

Vehicle current location information.

Definition at line 21 of file tn_vehicle_location_info.h.

Member Data Documentation

◆ m_cum_alt

float tn::ehp::VehicleLocationInfo::m_cum_alt

accumulated altitude in meters since the system start.

Note
numeric_limits<float>::max() as default represents invalid.

Definition at line 75 of file tn_vehicle_location_info.h.

◆ m_cum_dist

float tn::ehp::VehicleLocationInfo::m_cum_dist

accumulated distance in meters since the system start.

Note
numeric_limits<float>::max() as default represents invalid.

Definition at line 69 of file tn_vehicle_location_info.h.

◆ m_elapsed_time

uint32_t tn::ehp::VehicleLocationInfo::m_elapsed_time

elapsed time in milliseconds since the system start.

Note
the millisecond time must be accurate as it's mandatory for map matching to work.
numeric_limits<uint32_t>::max() as default represents invalid.

Definition at line 51 of file tn_vehicle_location_info.h.

◆ m_epoch_flag

bool tn::ehp::VehicleLocationInfo::m_epoch_flag

epoch flag, used to sync with 3rd party DR.

Definition at line 26 of file tn_vehicle_location_info.h.

◆ m_heading

uint16_t tn::ehp::VehicleLocationInfo::m_heading

heading in degrees. North is zero; clockwise; 0-359, 0 as default.

Note
numeric_limits<uint16_t>::max() as default represents invalid.

Definition at line 38 of file tn_vehicle_location_info.h.

◆ m_lat

double tn::ehp::VehicleLocationInfo::m_lat

latitude of the coordinates of this location in WGS84.

Note
(90.0, 180.0) as default represents invalid.

Definition at line 81 of file tn_vehicle_location_info.h.

◆ m_location_accuracy

float tn::ehp::VehicleLocationInfo::m_location_accuracy

estimated horizontal accuracy as the radius of 68% confidence of this location, radial, in meters.

Note
numeric_limits<float>::max() as default represents invalid.

Definition at line 63 of file tn_vehicle_location_info.h.

◆ m_lon

double tn::ehp::VehicleLocationInfo::m_lon

longtitude of the coordinates of this location in WGS84.

Note
(90.0, 180.0) as default represents invalid.

Definition at line 87 of file tn_vehicle_location_info.h.

◆ m_satellite_num

uint8_t tn::ehp::VehicleLocationInfo::m_satellite_num

number of satellites used.

Note
numeric_limits<uint8_t>::max() as default represents invalid.

Definition at line 32 of file tn_vehicle_location_info.h.

◆ m_speed

float tn::ehp::VehicleLocationInfo::m_speed

speed in meters per second.

Note
numeric_limits<float>::max() as default represents invalid.

Definition at line 57 of file tn_vehicle_location_info.h.

◆ m_utc_time

uint32_t tn::ehp::VehicleLocationInfo::m_utc_time

UTC time of this location, in seconds since January 1, 1970.

Note
numeric_limits<uint32_t>::max() as default represents invalid.

Definition at line 44 of file tn_vehicle_location_info.h.


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