Servers by jDrones

Joystick not working under WSL Ubuntu

(Patrick Spero) #1

Hi,

I’ve installed MAVProxy both for Windows 10 and for WSL Ubuntu on Windows 10.

Everything works OK when I load module joystick in MAVProxy under Windows.

However, when I try to do the same under WSL Ubuntu, I receive an error message: MAVProxy.modules.mavproxy_joystick: Failed to find matching joystick.
Loaded module joystick

I have tried to satisfy the dependencies, including: pygame pyyaml joystick cuav pyserial

python -m MAVProxy.modules.mavproxy_joystick.findjoy does not find a joystick.

Would be grateful for any help!

Thanks,

Pogo

EDIT:

I spoke too soon. I’m also have problems getting the joystick to work in Windows 10 native:

MAVProxy.modules.mavproxy_joystick: Initializing pygame
MAVProxy.modules.mavproxy_joystick: Initializing commands
MAVProxy.modules.mavproxy_joystick: Loading joystick definitions
MAVProxy.modules.mavproxy_joystick: Looking for joystick definitions in C:\Program Files (x86)\MAVProxy\MAVProxy\modules\mavproxy_joystick\joysticks
MAVProxy.modules.mavproxy_joystick: Found joystick (FrSky Taranis Joystick)
MAVProxy.modules.mavproxy_joystick: Failed to find matching joystick.
Loaded module joystick

Does anyone know why this happens?

(Patrick Spero) #2

So it seems that you can’t use a joystick with MAVProxy in Windows period. WSL, Cygwin, MSYS2 - nothing works?

Please do say if you know different!

Pogo