|
Re: Joystick issues
Here's a simple view:
For the Logitech (or other) game controllers, an easy approach is to: - Start with a default or current project.
- Create Indicators for the Joystick 1 outputs of axes and buttons (you can also create a new Joystick on an unused USB port)
- Plug the new game controller into the Driver Station and use the Setup tab to move it to the #1 slot
- Run the project in debug mode from Robot Main
- Open the Teleop front panel where the joystick Indicators are shown
- Run the Driver Station to Enable the robot.
- Watch the Teleop Indicators as you push the buttons and move the stick to see what maps to what
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 01-02-2012 at 12:00.
|