We are trying to get our robot to drive 44 inches forward using gyro keeping the heading at 0 degrees. We are following a teacher workshop code that went off Caution Tape’s PStraight code video.
Please help me figure out if my calculations are way off base.
our code
Since we have a 5:2 gear ratio and our code is set up to turns (rotations)
wheels are 200mm
2.2 rotations should = 8 inches x 2.5 driven gear = 44 inches
But the robot never stops.