Open bignaczak opened 2 years ago
Additional include these functions, which were moved from Encoder Calibration Issue into this one.
Consider the driveMotor orientation (gears inward or outward on wheel), which determines whether the wheel will spin in the correct direction. Use the absolute encoder to determine if the driveMotor should be reversed to make the calibration process more robust.
Log the absolute encoder positions during calibration and compare misalignment to the constants.
The robot has 2 sensors by which it can determine the orientation of the turningMotor
The absolute encoder could fail in a few of ways:
Create a watchdog function that compares the readings between the absolute encoder and the turningMotor encoder to identify issues and alert the team.