Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added GPS reset command #11504

Merged
merged 1 commit into from
Feb 19, 2019
Merged

Added GPS reset command #11504

merged 1 commit into from
Feb 19, 2019

Conversation

MatejFranceskin
Copy link
Contributor

@MatejFranceskin MatejFranceskin commented Feb 19, 2019

Add GPS reset command.

This solves open issue from GPSDrivers repo: Add UBX-CFG-RST to force a Cold Start #26
PX4/GpsDrivers#26

There are 3 types of GPS reset:
Hot - In hot start mode, the receiver was powered down only for a short time (4 hours or less), so that its ephemeris is still valid. Since the receiver doesn't need to download ephemeris again, this is the lastest startup method.
Warm - In warm start mode, the receiver has approximate information for time, position, and coarse satellite position data (Almanac). In this mode, after power-up, the receiver normally needs to download ephemeris before it can calculate position and velocity data.
Cold - In cold start mode, the receiver has no information from the last position at startup. Therefore, the receiver must search the full time and frequency space, and all possible satellite numbers. If a satellite signal is found, it is tracked to decode the ephemeris, whereas the other channels continue to search satellites. Once there is a sufficient number of satellites with valid ephemeris, the receiver can calculate position and velocity data.

Currently UBX and SBF drivers support GPS reset, others will return "non implemented" message.

@bkueng bkueng merged commit 9782aec into PX4:master Feb 19, 2019
@MatejFranceskin MatejFranceskin deleted the pr-gps-reset2 branch February 19, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants