3 ms·
This is purely sloppy. Dealt with a similar issue on a UAV project. We elected to check for a gps time (which fails if, e.g. indoors), and fall back to os syste
by kortex 7y ago
This is purely sloppy. Dealt with a similar issue on a UAV project. We elected to check for a gps time (which fails if, e.g. indoors), and fall back to os system time, with a note in the logs. It can't do anything mission critical without gps anyway, so this only even shows up in dev/debug settings.
- masklinn 7y agoI'd guess they use GPS as ntp (rather than direct time source which as you note would dangerously fail in plenty of normal situations). But since the infotainment already dealt with time, they just used that as a "system clock" straight, so without infotainment there's no "system clock" to be had.
- dwyerm 7y agoIs your OS time at least battery backed? I can tell you that nightmares start when all your clocks go back to 1970 on boot, and you need a clock to validate certificates on boot...