Browse Source

GPS-HIL: set new_data on setHIL()

this fixes navigation for ACM in HIL

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2909 f9c3cf11-9bcb-44bc-f272-b75c42450872
mission-4.1.18
tridge60@gmail.com 14 years ago
parent
commit
60bf2182e4
  1. 1
      libraries/AP_GPS/AP_GPS_HIL.cpp

1
libraries/AP_GPS/AP_GPS_HIL.cpp

@ -45,6 +45,7 @@ void AP_GPS_HIL::setHIL(long _time, float _latitude, float _longitude, float _al @@ -45,6 +45,7 @@ void AP_GPS_HIL::setHIL(long _time, float _latitude, float _longitude, float _al
speed_3d = _speed_3d*1.0e2;
num_sats = _num_sats;
fix = true;
new_data = true;
_updated = true;
}

Loading…
Cancel
Save