MP 1.3.39: GPS Inject not working

Hi devs,

I wanted to report that I think there’s a problem with Mission Planner 1.3.39 GPS Inject. (I know this is an in-development feature) I and several others have noticed this using a Piksi RTK GPS system. With identical configurations, MP 1.3.38 works correctly, while MP 1.3.39 does not.

What additional info can I provide to help?
Best, -Hunter

P.S. We define “success” as gpsstatus2 = 4 (or 5) when using a Piksi RTK system with GPS injected into the 3DR telemetry stream. When using MP 1.3.39, gpsstatus2=1. (it never changes to 4 or 5.)

please try MP Beta.
there was a bug around the packet size.

I tried the Beta (MP 1.3.39.3 Build 1.1.6087.23702) and it still did not work.

gpsstatus2 did not change from 1. Without touching anything else, I tried MP 1.3.38, and it reported gpsstatus2=4. I switched back to 1.3.39.3, and gpstatus2=1 again.

What else can I provide to help?
-Hunter

I’m not sure what the issue could be, as ive been testing rtk myself recently, and havnt been having any issues.

could you try the beta again, ive updated it again.

Just updated beta to 1.3.39.3 build 1.1.6093.25480, but got the same result.

Details: gpstatus2 does not change from 1 (nor does gpshdop2 or satcount2, among others) with this new Beta version. Without changing anything else, I close that and open MP 1.3.38, do the same Ctrl+F inject process, and this time it works: gpstatus2=4, satcount2 changes to 6, etc. Close that, re-open MP 1.3.39.3, same inject process, and I’m back to gpsstatus2=1. It may or may not interest you that satcount2 and gpshdop2 now show their previous values, which were obtained using MP 1.3.38, rather than the default 0’s MP appears to instantiate as.

Can I run any other tests or debugging ideas?

could you send me your tlog? this should have the outgoing sbp messages in it, I would just like to verify whats going on.

also does the inject gps screen show bps and packet stats?

Yes, the inject gps dialog-style popup shows bps and packet stats, as though the injection is working correctly.

I have attempted to attach below 2 tlogs from MP 1.3.39.3 where the gpsstatus2 did not change from 1. (I have a 3rd, but think it’s too big):
a class=“attachment” href="/uploads/default/original/2X/9/9105b0e2cd437826af0d969f2e4afe88834187a7.tlog">2016-09-06 14-20-29.tlog (451.5 KB)
2016-09-06 14-14-42.tlog (804.9 KB)

Below here, I have attempted to attach 2 tlogs from MP 1.3.38 where gpsstatus2 changed to 4 successfully:
2016-09-06 14-17-04.tlog (280.5 KB)
2016-09-06 14-22-27.tlog (568.1 KB)

does yours show anything like this on the last line?

ok ive found the bug, thanks for your patience on this one.

could you please try the latest beta. it hopefully is now resolved. https://github.com/ArduPilot/MissionPlanner/commit/a403f340a7a4e5f18f45a8e2033491a9dfc3a367

I’m sorry for the long delay, I got busy with other stuff. On Oct 29th, I downloaded the latest beta version of MP: 1.3.41.3 and got the GPS Inject working correctly for my Piksi.

I have to UNCHECK the box “new RTCM msg” for it to work. Not sure what that means or why, but I wanted to report.

Thank you very much!

that checkbox has to do with newer versions of the firmware. you are using the legacy option, and its working. so all is good.

Michael,

I’m sorry for the long delay, I got busy with other stuff. I just
downloaded the latest beta version of MP: 1.3.41.3 and got the GPS Inject
working correctly for my Piksi.

I have to UNCHECK the box “new RTCM msg” for it to work. Not sure what that
means or why, but I wanted to report.

Thank you very much!
-Hunter