FRC1076 / wapur_mecanum

Mecanum drive wapur 2019
0 stars 0 forks source link

Help us figure out why the controllers don't seem to change anything in the robot.py sim #5

Open mcolinj opened 5 years ago

mcolinj commented 5 years ago

When we run the robot.py simulator, we don't see any window activity for controller button presses, etc... Help us figure this out so we can test out code better.

mcolinj commented 5 years ago

So, I saw this message in the output as the simulator is starting up:

22:12:11:801 WARNING : pyfrc.sim.ui : pygame not detected, real joystick support not loaded

I think we'll need to install pygame before joystick works. Last I checked there was no pygame for Python 3.7.1, but I will check to see what is available.

mcolinj commented 5 years ago

I was able to install the compatible version of pygame using the following:

pip3 install pygame==1.9.4

I can test to see if it works with an Xbox controller when I get in to Tappan.