Java port of LuNaTeCs 316 2013 robot code
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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 drivetrain
    • Pickup: Frisbee pickup subsystem
    • Shooter: Shooter subsystem
    • Climber: 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