newheights / frc5902-testbed-gitenabled

Other
1 stars 0 forks source link

The Wire Clippers - FRC 5902 Robot Code - 2017 Season

2017 is our 2nd year in the FIRST Robotics competition.

We used Robot builder and followed along these videos from WPI https://www.youtube.com/playlist?list=PLYA9eZLlgz7t9Oleid2wtlgnvhGObeKzp

2017 Notes

Robot Subsystems

DriveTrain - Robot Driving

Talon SRX Motor Controllers connected

(Not setup yet) - fuelIntake - Method to Intake and Eject the Fuel Balls

(Not setup yet) - sensorBase

cameraControl

Autonomous Mode

Using an autonomous command chooser in the code drivers are able to select which code is run during the autnomous mode.

Teleop Mode

During teleop mode our robot can run commands as well as having the driver drive around. On the drive station computer we have a SmartDashboard that will display informaiton from the robot to the drivers.

Driver Station SmartDashboard

On the smart dashboard we have the following

2017 Driver Controls

Driver Logitech Joystick - Operator Interface Assignments

Button Button # Command
Joystick NA Regular ArcadeDrive
Button 5 5 Held - Shimmy

Driver Xbox - Operator Interface Assignments

Button Button # Command
Left analog stick NA Camera Control (Pan/Tilt) - When Move Camera Button Held
A Button 1 Toggle - Agitator Forward
B Button 2 Held - Shooter 1
X Button 3 Toggle Agitator Reverse
Y Button 4 Held - Shooter .98
Left Bumper 5 Held - Move Camera
Right Bumper 6 Toggle - Intake System
Left Stick Button 7 Assignment
Right Stick Button 8 Assignment
START Button 9 Assignment
BACK Button 10 Assignment
HOME Button 11 Assignment
D-Pad Up 12 Assignment
D-Pad Down 13 Assignment
D-Pad Left 14 Assignment
D-Pad Right 15 Assignment