Core constants to configure the chassis dimensions and hardware.
float trackWidth
Distance between left and right wheels.
float gearRatio
Gear ratio (motor rotations / wheel rotations)
float drivetrainWidth
Physical width of the drivetrain.
float wheelDiameter
Diameter of the drive wheels.
float drivetrainLength
Physical length of the drivetrain.
bool kfEnabled
Use Kalman filtering on encoders if true.
Configuration for active heading correction during driver control.
float kD
Derivative gain for heading hold.
float kP
Proportional gain for heading hold.
float kI
Integral gain for heading hold.
bool correctionOn
True to actively maintain heading when rotation joystick is released.
Represents a simple deadzone-minimum output exponential or linear drive curve.
float minimum_output
Minimum voltage output once deadzone is surpassed.
float deadzone
Deadzone before response begins.
float curve_multipler
Curvature scale.
Holds the drive curves for movement and rotation inputs.
DriveCurve movement
Curve mapping for forward/sideways translation.
DriveCurve rotation
Curve mapping for rotational input.
Parameters defining bounds and conditions for autonomous movements.
float exitRange
Acceptable position error to consider motion complete.
float earlyExitRange
Distance to exit early before the movement is fully settled.
float maxTranslationSpeed
Maximum speed for translation.
float minSpeed
Minimum speed (avoid stalling)
uint32_t timeout
Maximum time allowed for movement (ms)
bool async
Should the motion run asynchronously.
float maxRotationSpeed
Maximum speed for rotation.