vehicle_gps_position: add heading field

This commit is contained in:
Beat Küng
2018-07-16 09:54:19 +02:00
parent a8463a5226
commit 43c2970fb9
5 changed files with 11 additions and 0 deletions
+1
View File
@@ -178,6 +178,7 @@ GPSSIM::GPSSIM(const char *uart_path, bool fake_gps, bool enable_sat_info,
{
/* we need this potentially before it could be set in task_main */
g_dev = this;
_report_gps_pos.heading = NAN;
/* create satellite info data object if requested */
if (enable_sat_info) {