Browse Source

simulator: publish GPS antenna heading offset as NAN

sbg
Paul Riseborough 7 years ago committed by Daniel Agar
parent
commit
cf962afafe
  1. 1
      src/modules/simulator/gpssim/gpssim.cpp

1
src/modules/simulator/gpssim/gpssim.cpp

@ -179,6 +179,7 @@ GPSSIM::GPSSIM(bool fake_gps, bool enable_sat_info, @@ -179,6 +179,7 @@ GPSSIM::GPSSIM(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;
_report_gps_pos.heading_offset = NAN;
/* create satellite info data object if requested */
if (enable_sat_info) {

Loading…
Cancel
Save