Competition Language | ||
EncoderDegrees | WheelDistance | How to Use |
The EncoderDegrees command takes one motor port (the integrated motor port), and returns the value. This differs from RobotC's nMotorEncoder command as it actually returns the measure in degrees.
The Wheel Distance command takes a diameter of a wheel, and a rotation in degrees. It will then output the distance traveled by the wheel in inches.