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

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

Initializes a new DriveHelper
public DriveHelper ( ITankDrive drive, double speedDeadzone, double turnDeadzone, double highNonLinearity, double lowNonLinearity, double highSensitivity, double lowSensitivity ) : System
drive ITankDrive to control
speedDeadzone double deadband value for the speed axis
turnDeadzone double deadband value for the turn axis
highNonLinearity double Non-linearity for the turn input in high gear
lowNonLinearity double Non-linearity for the turn input in low gear
highSensitivity double turn sensitivity in high gear
lowSensitivity double turn sensitivity in low gear
Результат System
        public DriveHelper(ITankDrive drive, double speedDeadzone, double turnDeadzone, double highNonLinearity, double lowNonLinearity, double highSensitivity, double lowSensitivity)
        {
            m_drive = drive;
            m_oldTurn = m_quickStopAccumulator = 0;
            m_speedDeadzone = speedDeadzone;
            m_turnDeadzone = turnDeadzone;
            m_highNonLinearity = highNonLinearity;
            m_lowNonLinearity = lowNonLinearity;
            m_highSensitivity = highSensitivity;
            m_lowSensitivity = lowSensitivity;
        }