We suspect that the robot may not always drive straight depending on driver motor and controller balance, battery voltage, driving surface, wheel condition, and other noise.
This straight-line correction factor is expected to correct for differences between the 2 drive motors and/or controllers and will likely be represented as a "curve value" passed as the second parameter in the RobotDrive.drive method.
E.g. when supposedly going straight when using the drive method, if the robot veers to the right, a slight correction, maybe -0.05, could correct for this imbalance allowing the robot to track straight.
Testing will be required to understand whether the robot veers more or less from a straight-line at different motor speeds and correct accordingly.
We suspect that the robot may not always drive straight depending on driver motor and controller balance, battery voltage, driving surface, wheel condition, and other noise.
This straight-line correction factor is expected to correct for differences between the 2 drive motors and/or controllers and will likely be represented as a "curve value" passed as the second parameter in the RobotDrive.drive method.
E.g. when supposedly going straight when using the drive method, if the robot veers to the right, a slight correction, maybe -0.05, could correct for this imbalance allowing the robot to track straight.
Testing will be required to understand whether the robot veers more or less from a straight-line at different motor speeds and correct accordingly.