SureShotSAM-Java
This is the Java version of FRC Team 316 LuNaTeCs' 2013 robot code, and the definitive version going forward. The robot project is based off of the IterativeRobot template, using a custom Subsystem/OI/Autonomous State pattern.
Main project files
- SureShotSAM.java: Main robot class. Subclasses
IterativeRobot. - RobotMap.java: Mapping of OI constants to named values.
- OI.java: TeleOp mode controller. Maps joystick inputs to subsystem actions.
- subsystems/: Contains Subsystem classes
Drivetrain: Robot drivetrainPickup: Frisbee pickup subsystemShooter: Shooter subsystemClimber: Climbing subsystem
- auto/: Autonomous related code
- AutonomousMode.java: Abstract base class for all autonomous modes
- StateMachineAuto.java: Base class for Finite State Machine based autonomous modes
- DoNothingAuto.java: Self explanatory
- ThreeDiskAuto.java: Simple auto mode to just shoot three frisbees
- FiveDiskAuto.java: Five-disk center line autonomous; shoot first shots then pickup additional disks from the center line
- KinectAuto.java: Drive the robot via the Microsoft Kinect
- TestAuto.java: Autonomous for testing whatever needs to be tested
- lib/: Library code
- LuNaDrive.java: Custom drivetrain class
- Potentiometer.java, Tachometer.java: Wrapper classes for use with the WPILib PIDController class
- SimplePIDController.java: Simple inline threadless loopless PIDController
- Util.java: Utility functions
This code is released under the BSD License. Details can be found in the LICENSE.md file.
LuNaTeCs 316 is a competitive robotics team in the FIRST Robotics Competition (FRC), part of a 501(c)(3) non-profit organization, South Jersey Robotics, Inc. To learn more, visit our website at lunatecs316.org