The px4-time.service was running before the system time has been synced. I added the dependency time-sync.target as well as enabled the systemd-time-wait-sync.service from the setup.sh
Right now this service just gets the time close enough (2 seconds off) so that the logs are properly timestamped. In the future I will add TIMESYNC mavlink service
https://mavlink.io/en/services/timesync.html
The
px4-time.service
was running before the system time has been synced. I added the dependencytime-sync.target
as well as enabled thesystemd-time-wait-sync.service
from the setup.shRight now this service just gets the time close enough (2 seconds off) so that the logs are properly timestamped. In the future I will add TIMESYNC mavlink service https://mavlink.io/en/services/timesync.html