Hello! Faced a strange problem with motors while teleop 2wd. The left motor always rotates correctly. The right motor always rotates in one direction only. The encoders readings are correct.
I am using an Arduino Mega with a non-standard l298 driver. This driver has only 4 pins, 2 per motor. The first pin is the direction, the second pin is the speed. It turns out that I just don't use MOTOR1_IN_B and MOTOR2_IN_B.
Can you please tell me where to dig?