Lemlib spinning and not moving backwards in auton

I’ve been trying to get Lemlib to work for our robot, and it just spins in circles continuously. It also won’t move backwards when I tell it to. My code is below.

    chassis.setPose(-58.702, 23.143, 90);
    chassis.moveToPoint(-27.948, 22.662, 5000, {.forwards = false}, true);
    clamper.set_value(true);
    intake.move(intakeSpeed);
    pros::delay(500); 
    intake.move(0);
    chassis.moveToPose(-23.143, 47.169, 0, 5000);
    intake.move(intakeSpeed);
    pros::delay(1000);
    intake.move(0);
    chassis.moveToPose(-10.408, 47.169, 90, 5000);

Did you make a call to chassis.calibrate() in initialize?

1 Like

No, is that needed for it to work?

If you use an IMU or tracking wheels, yes.