bmj-autonomous / muleAI

Self driving RC car hardware framework - alternative/similar to DonkeyCar.
0 stars 2 forks source link

PS3 controller failure #47

Open MarcusJones opened 6 years ago

MarcusJones commented 6 years ago

A PS3 controller is not behaving as expected.

PS3 controller part hangs on shutdown;

self.thread.stop() # This works
self.joystick.close() # This hangs inside the parent class as follows;
JoystickDevice()
    def close(self):
        self.joystick.close() # HANGS

PS3 controller does not list correct buttons;

jstest works as normal, all buttons listed correctly

JoystickDevice() # reports incorrect events
    def poll(self):
   ...
        return tag, value # INCORRECT VALUES