robotpy / pyfrc

python3 library designed to make developing RobotPy-based code easier!
MIT License
50 stars 35 forks source link

Limit on axis's in sim #45

Closed onenerdyguy closed 8 years ago

onenerdyguy commented 8 years ago

Currently, the sim won't go above 4 axis. This makes it difficult to sim things like a tank drive using an Xbox controller, as these axis's map to 5 and up.

virtuald commented 8 years ago

The underlying HAL implementation supports up to 12 axis. I added the additional two axis in the pyfrc 2016.1.3 release.

I also added the POV, but clicking on it with a mouse is a bit messed up. I'm tired and don't care that much, so feel free to fix it and submit a patch -- code is at https://github.com/robotpy/pyfrc/blob/master/lib/pyfrc/sim/ui_widgets.py#L119. :)