Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 1.3 KB

controller-properties.md

File metadata and controls

10 lines (5 loc) · 1.3 KB

Controller Properties

Swerve Controller (controllerproperties.json)

The Swerve Controller stores configuration options relating it how the swerve drive works during autonomous and drive modes which set the heading of the robot based off a joystick. The JSON files maps 1:1 with ControllerPropertiesJson.java which creates a SwerveControllerConfiguration. The values within here are EXTREMELY important to autonomous because the robot heading PID needs to be tuned correctly in order for Autonomous functions to work.

Fields

NameUnitsRequiredDescription
angleJoystickRadiusDeadbandDoubleYThe minimum radius of the angle control joystick to allow for heading adjustment of the robot.
headingPIDYThe PID used to control the robot heading.