Auton not moving forward

So I am programming our team’s auton… And everything works well until the turnRight(); function. So once the robot turned right, it wouldn’t move forward (the forward(); function), but then the robot moved forward when we picked the robot up. What is the problem?

      SUCKL.spin(directionType::fwd, -100, velocityUnits::rpm);
      SUCKR.spin(directionType::rev, -100, velocityUnits::rpm);
      MID.spin(directionType::fwd, -100, velocityUnits::rpm);
      MID.spin(directionType::fwd, 100, velocityUnits::rpm);
      LF.spin(directionType::rev, -60, velocityUnits::pct);
      RF.spin(directionType::rev, -60, velocityUnits::pct);
      RB.spin(directionType::rev, -60, velocityUnits::pct);
      LB.spin(directionType::rev, -60, velocityUnits::pct);
      SUCKL.spin(directionType::fwd, 100, velocityUnits::rpm);
      SUCKR.spin(directionType::rev, 100, velocityUnits::rpm);
      LIFT.rotateFor(-25, rotationUnits::deg, -100, velocityUnits::pct, false);
      forwards(1200, 20);
       //where we have problem
      turnRight(360, 30);
    LF.setTimeout(0.8, seconds);
    RF.setTimeout(0.8, seconds);
    RB.setTimeout(0.8, seconds);
    LB.setTimeout(0.8, seconds);
     forwards(830, 50);

I think it might have to do with not having enough power when it’s on the ground. Try increasing the amount of power when it moves forward

1 Like