CSharpRoboticsLib.Drive.DriveEncoders.SetDistancePerPulse C# (CSharp) Метод

SetDistancePerPulse() публичный Метод

Sets the Left and Right DistancePerPulse in feet based on Wheel Diameter and counts per revolution
public SetDistancePerPulse ( double wheelDiameter, int countPerRevolution ) : void
wheelDiameter double Diameter of your drive wheels IN INCHES
countPerRevolution int
Результат void
        public void SetDistancePerPulse(double wheelDiameter, int countPerRevolution)
        {
            Left.SetDistancePerPulse(wheelDiameter / 12, countPerRevolution);
            Right.SetDistancePerPulse(wheelDiameter / 12, countPerRevolution);
        }