TnEHProvider
tn_vehicle_location_info.h
Go to the documentation of this file.
1 
9 #ifndef __TN_VEHICLE_LOCATION_INFO_H__
10 #define __TN_VEHICLE_LOCATION_INFO_H__
11 
12 #include "../tn_export.h"
13 
14 namespace tn
15 {
16 namespace ehp
17 {
22 {
27 
32  uint8_t m_satellite_num;
33 
38  uint16_t m_heading;
39 
44  uint32_t m_utc_time;
45 
51  uint32_t m_elapsed_time;
52 
57  float m_speed;
58 
64 
69  float m_cum_dist;
70 
75  float m_cum_alt;
76 
81  double m_lat;
82 
87  double m_lon;
88 };
89 } // namespace ehp
90 } // namespace tn
91 #endif //__TN_VEHICLE_LOCATION_INFO_H__
tn::ehp::VehicleLocationInfo::m_epoch_flag
bool m_epoch_flag
epoch flag, used to sync with 3rd party DR.
Definition: tn_vehicle_location_info.h:26
tn::ehp::VehicleLocationInfo::m_satellite_num
uint8_t m_satellite_num
number of satellites used.
Definition: tn_vehicle_location_info.h:32
tn::ehp::VehicleLocationInfo::m_cum_dist
float m_cum_dist
accumulated distance in meters since the system start.
Definition: tn_vehicle_location_info.h:69
tn::ehp::VehicleLocationInfo::m_lat
double m_lat
latitude of the coordinates of this location in WGS84.
Definition: tn_vehicle_location_info.h:81
tn::ehp::VehicleLocationInfo
Vehicle current location information.
Definition: tn_vehicle_location_info.h:22
tn::ehp::VehicleLocationInfo::m_lon
double m_lon
longtitude of the coordinates of this location in WGS84.
Definition: tn_vehicle_location_info.h:87
tn::ehp::VehicleLocationInfo::m_location_accuracy
float m_location_accuracy
estimated horizontal accuracy as the radius of 68% confidence of this location, radial,...
Definition: tn_vehicle_location_info.h:63
tn::ehp::VehicleLocationInfo::m_utc_time
uint32_t m_utc_time
UTC time of this location, in seconds since January 1, 1970.
Definition: tn_vehicle_location_info.h:44
tn::ehp::VehicleLocationInfo::m_speed
float m_speed
speed in meters per second.
Definition: tn_vehicle_location_info.h:57
tn::ehp::VehicleLocationInfo::m_elapsed_time
uint32_t m_elapsed_time
elapsed time in milliseconds since the system start.
Definition: tn_vehicle_location_info.h:51
tn
Definition: tn_adas_message.h:15
tn::ehp::VehicleLocationInfo::m_heading
uint16_t m_heading
heading in degrees. North is zero; clockwise; 0-359, 0 as default.
Definition: tn_vehicle_location_info.h:38
tn::ehp::VehicleLocationInfo::m_cum_alt
float m_cum_alt
accumulated altitude in meters since the system start.
Definition: tn_vehicle_location_info.h:75
TN_EHP_API_DECL
#define TN_EHP_API_DECL
Definition: tn_export.h:46