|
Re: [FTC]: FTC Encoder Program with Distance
In pragma, change
#pragma config(Motor, mtr_S1_C1_2, leftBottomDrive, tmotorTetrix, openLoop, encoder)
to
#pragma config(Motor, mtr_S1_C1_2, leftBottomDrive, tmotorTetrix, PIDControl, encoder)
(or just check the box "PID control" in Motor and sensor setup). Obviously, you need to do this for both motors.
|