Skip to content
This repository has been archived by the owner on Sep 1, 2017. It is now read-only.

Add OI control joystick for autonomous settings and gunner feedback #31

Open
ghost opened this issue Feb 19, 2016 · 0 comments
Open

Add OI control joystick for autonomous settings and gunner feedback #31

ghost opened this issue Feb 19, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 19, 2016

We have a device in the Operator Interface (OI) console that looks like a Joystick to the computer. This joystick has 5 digital inputs and a number of digital outputs.

We need to add a Joystick object in the Robot Map that allows us to define this joystick and the various controls we are going to potentially use. Check last year's code for the button input map. Joshua Phelps will provide the output id for the LED. Setting the LED is as easy as:
stick.setOutput(2, true); // sets the LED on channel 2 to ON

@andrewda andrewda added this to the Competition milestone Feb 20, 2016
@andrewda andrewda changed the title Add OI Control Joystick for Autonomous Settings and Gunner Feedback Add OI control joystick for autonomous settings and gunner feedback Feb 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant