forked from PX4/PX4-Autopilot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gps_blending: output valid time_utc_usec
Before this fix, the time_utc_usec output from blending was always 0. This means that you wouldn't get a valid vehicle_gps_position/time_utc_usec With this commit, UTC timestamps are blended according to weights for all GPSes with a nonzero UTC timestamp value. It would be possible to simply use the first valid UTC timestamp instead of blending, but since the system timestamps are blended, it seems suitable to blend UTC timestamps as well.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters