-
Notifications
You must be signed in to change notification settings - Fork 85
Feature Request: Please add support for UBX-HNR-PVT and UBX-HNR-INS (NEO-M8U) #156
Comments
Hi Simon (@shecker ), |
Hi Simon (@shecker ), To explain the earlier comment, modules like the ZED-F9P can achieve a PVT navigation rate of 25Hz. but it depends on which constellations are being tracked: The datasheet for the NEO-M8U doesn't say if it can achieve 30Hz while tracking all constellations. But let's ignore that for now. The SparkFun u-blox GNSS library does not currently support the HNR messages. So we need to add those. This will take us some time as we will need to:
So, I'm going to change the name of this issue to "Feature Request: Please add support for UBX-HNR-PVT and UBX-HNR-INS (NEO-M8U). For now, if you want to access the HNR information, so can do that by creating a custom command. Please see Example20 and Example21 for details. You will need to use:
and then refer to section 32.12 of the M8 Protocol Description to see which fields to extract. Best wishes, |
Hi Paul (@PaulZC)
If I understand this correctly, then the 30Hz is only provided via the UBX-HNR-PVT and UBX-HNR-INS messages and these are not included in the current version of the Sparkfun library, thus disabling GLOSNASS, Galileo and BaiDou probably won't help us here? (I'm also unsure how to disable them using the library) Would you happen to have a minimal working example of how to access the information at 30Hz we are using this unit as part of a Master thesis and the student is finishing soon (thus we are a bit under time pressure). Our core competency is unfortunately not with programming Arduinos but rather we are using them as a tool within our system. Thus it would probably take us quite some time to write this code from scratch that is able to poll the data at 30Hz. Thanks a lot and best wishes |
Hi Simon (@shecker ), |
Hi Paul (@PaulZC) Best wishes |
Some notes on this: Messages to support:
"If a high navigation rate has been configured with UBX-CFG-HNR then the number of Questions / Things To Test:
UBX-HNR-ATT is 32+6 bytes (38+32+78) * 9 bits per byte (8 bits plus ACK) * 30Hz = ~40 kilobits per second (without overheads). It may be feasible... |
Hi Paul (@PaulZC) Regarding your questions: If you want I can make a branch or something once I finish this and you can decide to use some parts. Thanks |
Hi Simon (@shecker ), |
Hi Simon (@shecker), I have added the HNR functionality you wanted to the release_candidate branch. Can you please test it? I have tested it on the NEO-M8U and it all appears to run correctly, but I have not yet tried to calibrate the IMU. (Basically, I don't have the time to take this out to my car and drive around with it!) You will find two new examples in the Dead Reckoning section which show how to get the data with and without "autoHNR". You will find the data structures defined in the header file. Please let me know how your tests go. Best wishes, |
Hi Paul (@PaulZC) I am able to run the GPS at 28Hz with all three messages being reported. I turn off everything else (regular PVT, etc.) Thanks again for your help and all the best |
Thanks Simon, |
Subject of the issue
Unable to get GPS and/or deadreckoning updates from Sparkfun M8U with an update rate of 30Hz. Instead publishing rate is max. around 4Hz. How do we increase to 30Hz as written in the documentation (30 High Navigation Rate (HNR))? We are aware that "UBX-HNR-PVT" will be the HNR message but we do not understand how to use this with the Sparkfun library.
Your workbench
What development board or microcontroller are you using?
ESP32 Thing Plus
What version of hardware or breakout board are you using?
We upgraded to the latest Ublox Firmware using the Ublox Control center.
How is the breakout board wired to your microcontroller?
Using I2C @ 400kHz
We are setting:
The text was updated successfully, but these errors were encountered: