Serial GPS Output

Hi,

I’m looking to export serial GPS data from the Navigator Board to a CR6 data logger. I have tried a few setups such as using the UDP export on BlueOS. The current set up I am trying is having the serial port configuration with serial port 1 being mapped to port 1 on the Navigator board and then in the Autopilot parameters I have Serial1 with a NMEA output and GPS2 being NMEA as well. The data logger is showing no incoming bytes from this. I am using a TTL connection for the devices. Any help would be appreciated if this is even possible.

Hi @elit-

That’s not a valid way to make the autopilot output GPS data, so I’m not surprised it didn’t work…

The GPS data you’re after is available via the Mavlink2Rest interface in BlueOS, and you could develop a custom extension to log it. There is no need to log it externally, as the autopilot log files already contain this information? Can you share more about your applications and motivations for using the CR6?

Is there a valid way to make the autopilot output GPS through one of the serial ports?
I want to feed it to the CR6 logger to minus the vehicles velocity off of one of the other sensors I’m using. Its preferrable all of this calculation is done onboard the blueboat and not afterwards once the Blueboat is connected to a computer again.
I also tried something similar to this Forwarding locally connected GPS - Blue Robotics Software - Blue Robotics Community Forums using UDP broadcast but was unable to get it to work

Hi @elit -

I believe it remains simpler to do whatever calculations onboard, within BlueOS, perhaps in the form of a custom extension? It is trivial to pull in location data via Mavlink2Rest, and do whatever you’d like to it before logging it to your own file, or sending it to the autopilot to log via a Named Value Float. You could also output gps data to a serial port in this extension if you still want to use the logger - it may be possible in another way in BlueOS, but sometimes it is preferable to implement it yourself for full control and understanding of the pipeline!

In any case, you could simply splice your logged into the TX/RX lines connected to the GPS plugged into the Navigator?