Team 937's code for the 2024 FRC season The Spec Sheet for our Robot Summary of how our Robot Functions Run Intake to intake a Note Stop Intake when Index Switch senses a Note Align bot with Amp using Limelight Spin up Output while extending Piston When Position Switch detects Tower is in upright position, run Intake to index Note to Output When button is released, stop Intake and Output and retract Piston. Basic Introduction to our Code We use Command-Based Programming [Command-Based Programming WPILib Documentation] We use Java We use a global Constants file to allow easy access to any constants. RobotContainer contains objects of our subsystems and commands, for use throughout all of our code. This lets us avoid dependency injection. We have JavaDoc on all of our code. Asimov's Laws: The First Law: A robot may not injure a human being or, through inaction, allow a human being to come to harm. The Second Law: A robot must obey the orders given it by human beings except where such orders would conflict with the First Law. The Third Law: A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.