GPS support in firmware#43
Open
MoridinBG wants to merge 24 commits into
Open
Conversation
Reads values from the Quectel specific PQMT messages - this gives us EPE and slightly more convenient values. Also gets in 2 messages what would need 3 with standard NMEA
Right button during GPS fix skips gps and records without it. Left cancels recording completely
…If left is pressed while waiting for fix, skip gps and start recording without it.
…, number of records, sample rates
Contributor
Author
|
Initial testing looks promising. I have only walked around the house, but compared to my Garmin Enduro 3, the track appears to be much closer to the actual path taken. Better than iPhone 15 Pro as well. Using an inline USB power meter, I am getting 0.1W/0.02A consumption while idle, both with GPS connected and idle and with power lines disconnected. I have added a tool at |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for GPS tracking.
I am using a Quectel LC76G over UART with NMEA0183 messages as the concrete hardware implementation
The flow is as follows:
It disables stdio over uart, as it uses uart0 over GPO 0 & 1, but with stdio over usb that shouldn't be too big of a deal.
I have source dropped a fork of lwgps for parsing & validating NMEA messages while under dev, but ideally it would be a submodule.