I have added an simplertk3b to my Blueboat with two antennas in order to get accurate heading. I have the RTK connected through serial 4 on the Navigator. I am sending NMEA messages to the navigator. the messages that I am sending are UNIHEADINGA, AGRICA, GNGGA, GNRMC. I know that I am receiving the data. when going to MAVlink inspector in cockpit and looking and GPS_RAW_INT I get this info:
All the info is correct except for the yaw and the epv. any ideas what could be the issue? Has anyone encountered this before? thank youHi @nrothberg, welcome to the forum ![]()
Which ArduRover firmware version are you running, and how have you configured your serial port and GPS driver in the autopilot parameters?
From a quick search of the codebase, support for the Unicore NMEA messages is only conditionally compiled in, and according to the build options they’re not included by default.
In case that’s the cause, I’ve just tried using ArduPilot’s custom build server to make a build for your vehicle that explicitly includes the NMEA_UNICORE option, but it seems that’s not yet able to build firmware for the Navigator, so I built it[1] for you locally:
ardurover_4-7-2-beta1_unicore_navigator.elf (2.5 MB)
Hopefully that sorts out your issue!
We normally recommend stable builds, but in this case 4.7.2 includes an important improvement for Navigators, so I built 4.7.2-beta1 instead. ↩︎
Hi @nrothberg -
To build on @EliotBR’s response -
How far apart have you mounted the two receivers on your vessel? We found it was necessary to separate them as far as possible to get a lock sufficient for computing heading - one on the bow of one hull, and the stern of the opposite hull. Separation less than 1.1m is not sufficient…
Additionally, on the BlueOS interface do you see two GPS icons in the upper right? If not, the system is not consuming both GPS streams. A screenshot of the autopilot serial port configuraiton under Autopilot Firmware, in Pirate mode, would be helpful to share!
You should only need GGA, RMC, and HDT sent at 10Hz (or more.)
We evaluated the ArduSimple RTK system, but found it prohibitively complex to configure and get working reliably… Especially for heading. The team was close to moving forward with a Holybro solution, but have not been able to get that vendor to accept large orders for launch stock! It’s looking more and more like the Blue Robotics recommended solution for RTK GPS for the BlueBoat will be an in-house development, which is great from a performance and cost standpoint, but not from an availability timeline one!
Hi Elliot, we have not had to use a custom build of Ardurover for it to consume Unicore nmea sentences, including yaw heading from a Holybro H-RTK. What is essential is to ensure the antennas are as far apart as possible with good line of sight of sky (not under the crossbar supports etc.). We have managed fine with them in the hulls.
Ardurover natively supports the Unicore units. The fifth field in that Feature definition (0) looks like it means “disabled by default,” but in ArduPilot’s build architecture, it actually means "Default to off ONLY if the board has flash restrictions. I don’t think the navigator has any flash restrictions due to the firmware running on the Pi, unlike the old pixhawks etc. that were limited. Is my understanding correct?
This isn’t correct - there are some features guarded on flash size, but NMEA_UNICORE isn’t one of them.
To clarify, the defaults in build_options.py file are used by the custom build server, which intentionally makes all non-minimal features opt-in. In contrast, local builds (and the standard firmware files provided by ArduPilot’s normal (non-custom) firmware server) apparently just follow the #ifndef defaults/fallbacks in the source code, and in this case the NMEA_UNICORE feature defaults to enabled as long as GPS is enabled, and GPS support is enabled by default unless a board specifically disables it.
In short, if you’re building with ArduPilot’s custom build server then NMEA_UNICORE needs to be manually enabled, but if you’re already using a standard (or locally built) firmware then it should be included already (unless you chose to disable it when building) ![]()
This is correct, so is relevant for features that are guarded on flash availability ![]()
Hi Eliot, Can you confirm if this has changed since Ardurover 4.5.7. We have a fully working BlueBoat using this version but have a client who is running a later Ardurover version 4.6.0 where there have been issues - we are working through these. I am concerned that this might be a simple issue whereby something has changed between versions that has switch off the NMEA_UNICORE feature. To be clear, the question is - versions of standard Ardurover firmware downloaded and installed via BlueOS should have this feature on by default?
To clarify, I have already tested this morning both 4.6.0 and Ardurover 4.7.1 all work as expected with the Holybro H-RTK unit and receive the Unicore messages and report correct yaw.
From a look around the codebase, the Unicore NMEA support doesn’t seem to have changed since it was added in Rover 4.4, aside from this UNIHEADINGA handling improvement that was included in 4.7.1 (but that’s after any 4.6 releases).
Yes ![]()
It should only be off if someone has made their own firmware via ArduPilot’s custom build server (which I mentioned further up doesn’t seem to work for building Navigator firmware yet anyway), or if they’ve built a custom firmware locally and explicitly disabled the feature (in which case they should be aware of it).
@nrothberg the 65535 value you are seeing for yaw is akin to a null value. Are you able to log the Agrica and Uniheadinga messages to a log file via a separate comm port on the simplertk? If can generate those along with potentially OBSVMA and OBSVHA messages I would be happy to look through. My suspicion is it is either calculating a spurious baseline solution or not at all. Or the heading solution is not status 4 which means Ardurover will reject it.
I’ve been looking through these logs a lot lately, so quite familiar with them.
Ideally the logs need to be with unit as intended fit in boat, good line of sight to sky and for about 5 mins or more. Also confirm your baseline distance between the antenna’s
