Closed gerth2 closed 7 years ago
add an optional gyro compensation term to the drivetrain PID's. Should just be a simple, hand-written proportional.
If gyro comp is desired, and gyro is available, a desired heading should be passed in (can be gotten from path planner).
should involve adding, implementing, and utilizing the following new methods for the drivetrain PI controllers:
setGyroCompEnabled(boolean enable) setGyroCompInverted(booelan invert) setDesiredHeading(double heading)
finished but untested
tested and functional enough.
add an optional gyro compensation term to the drivetrain PID's. Should just be a simple, hand-written proportional.
If gyro comp is desired, and gyro is available, a desired heading should be passed in (can be gotten from path planner).
should involve adding, implementing, and utilizing the following new methods for the drivetrain PI controllers:
setGyroCompEnabled(boolean enable) setGyroCompInverted(booelan invert) setDesiredHeading(double heading)