Team5830 / 2022-Rapid-React

Team 5830's robot code for FIRST Rapid React (2022)
MIT License
0 stars 0 forks source link

Characterize Drivetrain for more precise control #34

Open asteele11 opened 2 years ago

asteele11 commented 2 years ago

To more accurately control how the robot moves the drivetrain should be characterized as described here: https://docs.wpilib.org/en/stable/docs/software/pathplanning/trajectory-tutorial/characterizing-drive.html?highlight=feedforward%20value

This involves running the robot so that it will move in a precise way so that the way it accelerates is measured. This will give us parameters that can be used to set feedforward control values. Note in order to use this we may need to get the right drivetrain encoder to work. The below link gives more info: https://docs.wpilib.org/en/stable/docs/software/pathplanning/system-identification/introduction.html#introduction-to-system-identification