-
Notifications
You must be signed in to change notification settings - Fork 198
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
u-blox: reduce update rate for M9N to 5Hz (instead of 10Hz) #57
Conversation
Apparently a 10Hz update rate restricts the number of used satellites to 16, and as soon as the update rate is reduced, the number of used satellites increases. The datasheet only mentions that the navigation rate can go up to 25Hz.
@bkueng and this has nothing to do with baudrate or number of messages configured? |
That’s too bad about the 16 sat limitation. This commit breaks functionality on the m9n reverted to previous submodule fix and changed hz to 5 and another to 20. I have one unit sitting at 5hz and one at 20hz (for good measure although the 20hz was an accident but it’s sitting logging so will look anyway). Will report back on max sats. |
16 sats on 25hz (changed it to max to try) and >20 sats at 5hz so it’s strange that at anything 10hz and above it drops it to 16 sats no matter what but still needed to use your previous driver change for it to work (with amendments to the ubx.cpp file to test sat vs hz). |
No, I played around in u-center with different settings.
Yes that's unfotunate. It makes sense though as the ZED-F9P has the larger form factor and thus more compute. |
This breaks m9n functionality though completely. |
How? |
It never finds the device. Just keeps cycling through the GPS probe at different bauds. Tried also changing to 115200 and still no go but using the exact hardware and just flashing a build with the previous driver change and it finds it immediately (was wanting to remove this exact piece of hardware as a variable). |
Which exact gps device is that? And just that we use the same code, can you test with PX4/PX4-Autopilot#14785? And to further debug can you enable debug output in https://github.com/PX4/GpsDrivers/blob/master/src/ubx.cpp#L80, and either start the gps driver from the shell or use |
Devices were made in house, the M8N modules work fine and these work fine with the other PR changes, just not this one. Tried with PX4/PX4-Autopilot#14785 GPS Debug enabled. It is timing out after receiving UBX msg 0x068a (see attached). |
Whats the difference between this and master? If i flash master as of right now from QGC, it works. If i pull cdee27f in as i did from ~2 days ago, it does not. Normally is wouldn't matter but if this is trying to be put into 11 release this needs to work with that and not master. |
The ceiling looks to be 8 Hz (125ms), not 5 Hz |
Thanks @cturvey. Did you test that already with this driver? If so we can update it to 8 Hz. |
This is a receiver level observation, I'm not using this driver. |
Ok, I'll do the testing then and adjust accordingly |
Apparently a 10Hz update rate restricts the number of used satellites to 16, and as soon as the update rate is reduced, the number of used satellites increases.
The datasheet only mentions that the navigation rate can go up to 25Hz.
Cross-tested on an F9P.