I am attempting to make the iRobot Create 2 drive in a straight line using the opcode 137 with the parameters specified in the OI documentation. "Straight = 32768 or 32767 = 0x8000 or 0x7FFF" I have tried both of these parameters, but the robot always veers to the right as it moves forward. I've verified that my byte order is correct.
Is this expected behavior or is there an issue with my unit? Is there a way to get the robot to drive straight? I've also tried the DriveDirect command with various speeds to the two motors with no luck there either. I've read a bit about PID control, but was hoping that was already implemented in the firmware since I've not done PID control before.
The platform that I'm using is a Raspberry PI running Windows 10 IoT Core and a .NET application. I've also tried from a direct serial connection on a Windows Desktop and an Arduino. All of these give me the same results.