Using a sidewinder2 joystick controller at the moment. The controller is recognized by windows and by the crazyflie client.
I can map the controls and name the config, save lights up as it should.
Named the file, clicked save.
I get a dialog box stating that the software needs to restart to use the controller.
When I open up the software again it throws an error message...
Input device error
--------------------------------------------------------
Error while opening/initializing input device
Traceback (most recent call last):
File "clclient\utils\input.puc", line 225, in startInput
Value Error: u'sidewinder' is not in list
<OK button>
----------------------------------------------------
All this after fighting with windows and many various controllers, the sidewinder has actually fired up the copter once, but the controls were not working correctly so I tried reconfiguring it and have never gotten it to save a config since.
device mappings not saving
-
- Beginner
- Posts: 12
- Joined: Mon May 06, 2013 6:59 pm
Re: device mappings not saving
The in indicates unicode, which would suggest a string encoding issue. Perhaps you can inspect the json conf file which corresponds to your controller and make sure there are no weird characters present. The default name of the USB device may have included some unicode trash which is poorly handled by the client.
Code: Select all
u
Code: Select all
u'sidewinder'
Re: device mappings not saving
Hi,
Did you ever try to load a previous configuration? If so it might be this issue. Could you try to delete the configuration as mentioned in that issue?
/Marcus
Did you ever try to load a previous configuration? If so it might be this issue. Could you try to delete the configuration as mentioned in that issue?
/Marcus