-
Notifications
You must be signed in to change notification settings - Fork 327
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
Add UBLOX AssistNow support to configurator #2123
Conversation
Currently able to fetch assistnow online and offline data from the web, but breaking data down into individual ubx commands is failing. I may need to change it into fetching and treating data as binary.
Allows for offline use.
added my token to the inav configurator. I connect to the flight controller and go to the GPS tab. then, after pressing load assistnow online or load assistnow offline, the configurator is disconnected from the flight controller. there are ISO messages in the configurator's log. 2025-01-02 @ 20:23:16 -- Loaded release information from GitHub. 2025-01-02 @ 20:23:19 -- MSP connection successfully opened with ID: 1 2025-01-02 @ 20:23:19 -- MultiWii API version received - 2.5.0 2025-01-02 @ 20:23:19 -- Flight controller info, identifier: INAV, version: 8.0.0 2025-01-02 @ 20:23:19 -- Running firmware released on: Dec 13 2024 11:21:39 2025-01-02 @ 20:23:19 -- Board: SP4W, version: 0 2025-01-02 @ 20:23:19 -- Unique device ID received - 0x1e002a3232471232333535 2025-01-02 @ 20:23:19 -- Loaded Profile: 1 2025-01-02 @ 20:23:19 -- Loaded Mixer Profile: 1, Check modes tab: MIXER PROFILE 2 if you don't see the changes 2025-01-02 @ 20:23:19 -- Loaded Battery Profile: 1 2025-01-02 @ 20:23:28 -- AssistNow data transfer starting... 2025-01-02 @ 20:23:28 -- Unexpected error: self.chain[self.chainIndex] is not a function 2025-01-02 @ 20:23:28 -- Disconnecting... 2025-01-02 @ 20:23:28 -- MSP connection successfully closed |
Make use of iNavFlight/inav#9349 to send Assistnow messages to GPS.
Should help seeding gps info from the internet to speed up initial lock on M8+ GPS devices.
You will need to provide your own AssistNow token.
The configurator can cache AssistNow Offline information for up to 3 days. Currently, the information is not written to the GPS unit flash, so it needs to be applied after the fc has been turned on.
Information on how to register for a token is available at:
https://developer.thingstream.io/guides/location-services/assistnow-getting-started-guide
General information on AssistNow:
https://developer.thingstream.io/guides/location-services/assistnow-user-guide
Token can be setup on Application options:
Both AssistNow Online and Offline are supported.
Currently, both require an active internet connection, but AssistNow Offline is saved and can be re-used for 3 days (can probably be kept a bit longer).