Mission Planner Joystick Control stopped working (was working fine)

Hello guys, I have just recently encountered a strange incidence with Mission Planner 1.3.70 (build 1.3.7277.34800).

I managed to setup a Joystick (simulator controller) to override the RC Controller to control the drone via a TCP link. Managed to did it successfully over a span of few days for our bench testing.

However, it just decided to stop working one day. The Joystick setup window still recognizes the input from the “joystick”, all channels assigned properly, but it just does not pass on the signal to Mission Planner. The Radio Calibration window does not react to the “joystick” at all.

All settings remain stock, also SYSID_MYGCS = 255 (default).

Has anyone encountered this before ?

Also, upon clicking “Enable” for the joystick, no RC Override message appears :frowning:

Could you send a MissionPlanner.log (While enable joy) ? It’s in the c:\ProgramData\Mission Planner folder (the ProgramData folder is hidden)

1 Like

MissionPlanner.log (64.1 KB)

Here you go. I hope this is the correct one you’re asking for. I have just repeated the whole process.

It looks like the usb device get disconnected, broken cable or driver issue ? The VID_0B9B&PID_4012 is a Reflex RC controller.

   at MissionPlanner.Joystick.Joystick.mainloop() (:0) [Joystick loop]
2020-04-02 15:08:57,081  INFO MissionPlanner.MainV2 - Interface \\?\USB#VID_0B9B&PID_4012#5&31e0fe2b&0&12#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  ??t ???  (:0) [Base Thread]
2020-04-02 15:08:57,086  INFO MissionPlanner.MainV2 - Device Change 537 DBT_DEVICEREMOVECOMPLETE 277701713504 (:0) [Base Thread]
2020-04-02 15:08:57,090  INFO MissionPlanner.MainV2 - Device Change 537 DBT_DEVNODES_CHANGED 0 (:0) [Base Thread]
2020-04-02 15:08:57,097 DEBUG Program - FirstChanceException in: SharpDX (:0) [Base Thread]
SharpDX.SharpDXException: HRESULT: [0x8007001E], Module: [SharpDX.DirectInput], ApiCode: [DIERR_INPUTLOST/InputLost], Message: The system cannot read from the specified device.

I think that’s when I unplug everything to disconnect.

When everything was running, I can still move the sticks and the sliders in the Joystick window still moves, but not the one in the Initial Setup - Radio Calibration.

ok, then also send the log file ends with log.1 please

Also check you comm, I see lots of bad packets…

2020-04-02 15:08:42,209  INFO MissionPlanner.MAVLinkInterface - Request stream EXTRA2 at 4 hz for 1:1 (:0) [Main Serial reader]
2020-04-02 15:08:42,456  INFO MissionPlanner.MAVLinkInterface - Mavlink Bad Packet (Len Fail) len 32 pkno 125 (:0) [Main Serial reader]
2020-04-02 15:08:42,456  INFO MissionPlanner.MAVLinkInterface - unknown packet type 199 (:0) [Main Serial reader]
2020-04-02 15:08:42,457  INFO MissionPlanner.MAVLinkInterface - mav 1-1 seqno 209 exp 207 pkts lost 2 (:0) [Main Serial reader]
2020-04-02 15:08:42,561  INFO MissionPlanner.MAVLinkInterface - Mavlink Bad Packet (crc fail) len 30 crc 11820 vs 1513 pkno 35 RC_CHANNELS_RAW (:0) [Main Serial reader]
2020-04-02 15:08:42,565  INFO MissionPlanner.MAVLinkInterface - mav 1-1 seqno 217 exp 215 pkts lost 2 (:0) [Main Serial reader]
2020-04-02 15:08:42,606  INFO MissionPlanner.MAVLinkInterface - Mavlink Bad Packet (Len Fail) len 23 pkno 158 (:0) [Main Serial reader]

I uploaded all the log.X files to this folder so you can easily access those. Also, I’ll check on the comm link too, normally I setup a separated router dedicated for this, but was using a common router just now :frowning:

https://drive.google.com/open?id=1lWJLOMMJJlK30fSOltYY_bPJ8Y7Sf_PC

Well, I see bad mavlink packets all over, and looks like the joystick is working.

I also noticed that you use an old version of Mission Planner with something that is definitely not Ardupilot… :smiley: Most of the parameters are looks like unknown to me…

Your MP build is definitely not 1.3.70 because since last summer MP generate 1000Kb log file chunks, not 500k.

Yeap for sure the joystick is working, as it’s detectable in the joystick screen, just that it stops overriding the RC control whenever I click “enable” now.

Also, previously it was on 1.3.70, I recently downgraded back to 1.3.65 to see if it was the new version of MP that caused the bugs (but well, didnt solve).

And you are right, this is a very custom build hahaha, anyways thank you so much for your inputs. I guess I’ll just wait for the software builders of the drone to look if they messed up something :frowning:

If you happen to have a FC around, just upload a vanilla ArduCopter and test it, you can rule out MP error.

1 Like

hi, can you solve your problem? I had this too. but i run mission planner on linux and it recognize joystick in joystick setup page but in radio calibration stick does not work.