/// <summary> /// Initializes a new instance of the <see cref="ArcadeDrive"/> class. /// </summary> /// <param name="fl">The Front Left Motor.</param> /// <param name="fr">The Front Right Motor.</param> /// <param name="bl">The Back Left Motor.</param> /// <param name="br">The Back Right Motor.</param> /// <param name="xb">A instance of the Xbox Controller.</param> public ArcadeDrive(IMotor fl, IMotor fr, IMotor bl, IMotor br, XboxController xb) { _frontLeft = fl; _frontRight = fr; _backLeft = bl; _backRight = br; xbox = xb; }
/// <summary> /// Basic Constructor for the Shooting Mechanism /// </summary> /// <param XboxController="nxbox"></param> /// <param name="nxbox"></param> public TimShooter(XboxController nxbox) { _t = null; xbox = nxbox; mode = ControlMode.Disabled; one = new Jaguar(5); two = new Jaguar(6); elevator = new Victor(7); trigger = new DoubleSolenoid(0, 1); Zero(); }