AP_GPS: added fake time to fake GPS lock
This commit is contained in:
parent
35e67f37c6
commit
d3dcae1b08
@ -334,6 +334,9 @@ AP_GPS_UBLOX::_parse_gps(void)
|
|||||||
next_fix = fix;
|
next_fix = fix;
|
||||||
num_sats = 10;
|
num_sats = 10;
|
||||||
hdop = 200;
|
hdop = 200;
|
||||||
|
time_week = 1721;
|
||||||
|
time_week_ms = hal.scheduler->millis() + 3*60*60*1000 + 37000;
|
||||||
|
_last_gps_time = hal.scheduler->millis();
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case MSG_VELNED:
|
case MSG_VELNED:
|
||||||
|
Loading…
Reference in New Issue
Block a user