PixHawk UBLOX passthrough?

1,266 views
Skip to first unread message

Steve McLaughlin

unread,
Sep 26, 2014, 11:43:03 PM9/26/14
to drones-...@googlegroups.com
This seems like it'd be pretty useful...Is this simple to do?  I tried something similar to what APM had but it didn't work.


Randy Mackay

unread,
Sep 27, 2014, 12:12:02 AM9/27/14
to drones-...@googlegroups.com

Steve,

 

     The coding is easy, the compiling seems hard (for me anyway).  Theoretically all we need to do is compile this sketch for the Pixhawk and maybe change the serial port that it’s using (remember we support two GPSs now).

             https://github.com/diydrones/ardupilot/blob/master/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.pde

 

    http://copter.ardupilot.com/wiki/common-installing-3dr-ublox-gps-compass-module/

 

-Randy

--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Steve McLaughlin

unread,
Sep 27, 2014, 2:07:04 AM9/27/14
to drones-...@googlegroups.com
Tried it again and it worked!

Attached is the working firmware.
PixHawk GPS UBLOX Passthru.px4

Randy Mackay

unread,
Sep 27, 2014, 3:15:54 AM9/27/14
to drones-...@googlegroups.com

 

     I gave this a go with my Pixhawk + 3dr Ublox LEA-6H and u-center was able to connect but I never saw any data.  Could someone else try it out?

          http://copter.ardupilot.com/wiki/common-ublox-gps/

 

-Randy

 

From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com]

Sent: 27-Sep-14 3:07 PM
To: drones-...@googlegroups.com

--

Marco Robustini

unread,
Sep 27, 2014, 3:43:23 AM9/27/14
to drones-...@googlegroups.com
There's no way with NuttX to redirect the gps serial port to the usb?
I'm not 100% sure but with VR Brain 5 is possible with a command line.

Marco

Meier Lorenz

unread,
Sep 27, 2014, 5:51:53 AM9/27/14
to drones-...@googlegroups.com
Tridge implemented this for the radio firmware update, so rather than doing something special for the GPS you might just want to work out what the MAVLink command for enabling pass-through was. If I recall correctly it allowed you to pick the serial port.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discus...@googlegroups.com>.

Michael Oborne

unread,
Sep 27, 2014, 7:00:53 AM9/27/14
to drones-...@googlegroups.com

If the ublox is connected to a pixhawk, then in misisonplanner

 

While connected

Press control-f

Click mavserial pass.

This starts a tcp server on port 500, that you can connect to using ucenter.

 

Michael

Steve McLaughlin

unread,
Sep 27, 2014, 11:53:33 AM9/27/14
to drones-...@googlegroups.com
This works even better and is quicker!

Thanks!

Roberto Navoni

unread,
Sep 27, 2014, 7:02:02 PM9/27/14
to drones-discuss
Yes,
we had implemented some utility for bypass serial port of gps and
radio telemetry link.
best
Roberto
Reply all
Reply to author
Forward
0 new messages