You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make a new method in the drive class that will take the movement from the controller and then adds a rotation to aim the robot.
You will need to construct a ChassisSpeed (use field relative one) object that will be passed to the swerveDrive method.
Your method should use a PID controller to aim the robot. The output should be put into the omegaRadiansPerSecond value in the ChassisSpeeds method. (Look at the updateTurn method to figure out how to use PID)
The controller inputs should be passed for the vx and vy values.
The text was updated successfully, but these errors were encountered:
Make a new method in the drive class that will take the movement from the controller and then adds a rotation to aim the robot.
The text was updated successfully, but these errors were encountered: