Gyroscope problem. Endless spinning! - from ROBOTC tech

Remember, only ROBOTC tech support can help in the other forum you posted in.

Is the gyro counting in the correct direction, use the sensor debug window.

what is “reset()”

perhaps the code should be the other way around.

move (-69, 69); //move(left, right). Left drive@-69 power and right at 69 power
while(SensorValue[gyro] < 450) {
    wait1Msec(10);
    } 
move(0, 0);

Using the ROBOTC debugger should allow you to determine what’s happening.

1 Like