Skip to main content Link Menu Expand (external link) Document Search Copy Copied

void turnRight(double speedPct)

Rotates the chassis right (clockwise) at the given speed

Parameters

  • speedPct - The speed to turn at in pct units

Example

Chassis chassis (left, right, positioner, 11, 3.0/2.0, 3.25/2.0, ratio18_1);

//Turn right at 50% speed
chassis.turnRight(50);