Autonomous Driving Plan - KentridgeRobotics/2021Robot GitHub Wiki
- Verify that the gyroscope and encoders work through in-person testing
- Make sure
AutoDriveLinear.javaworks with simulation or in-person testing - Write code for
AutoTurnStationary.java. Also test in-person or simulate it - Create and schedule command groups that use
AutoDriveLinearandAutoTurnStationaryto follow each path in the Galactic Search and AutoNav Challenge - For the Galactic Search Challenge commands, add
ChomperCalibrateCommand,ChomperPIDCommand, andChomperIntakeCommandto pick up the balls
Trajectory Generation - Nick
- Add a simulated drivetrain model to
DriveSubsystemusingDifferentialDrivetrainSim-Feb 6 - In
Constants.java, add constants for the physical measurements of the robot and pass them into the constructor forDifferentialDrivetrainSim. The measurements needed are here. Will have to ask manufacturing for some of the measurements. -Feb 6 - Add simulated hardware into
DriveSubsystemsuch asEncoderSimand maybeAnalogGyroSim-Feb 6 - Add code to update the simulated sensor readings -Feb 7
- Update the robot's pose and odometry in a regular
periodic()method. This includes adding aField2Dobject -Feb 10 - Use Pathweaver to generate trajectories for the Galactic Search and AutoNav challenges -Feb 13
- Add the Pathweaver JSON files to the simulation -Feb 15
- Test and fine-tune the trajectories -Feb 16
- Run the Robot Characterization Tool with the robot -Feb 17
- Enter the numbers from the numbers calculated from the tool into
Constants.java-Feb 18 - Adjust the
DriveSubsystemto add odometry and voltage-based drive methods -Feb 18 - Write an autonomous command using a
RamseteCommand-Feb 18
Documentation about trajectories here. For simulating trajectories look here
Documentation for drivetrain simulation here