/** * Arcade drive implements single stick driving. * Given a single Joystick, the class assumes the Y axis for the move value and the X axis * for the rotate value. * (Should add more information here regarding the way that arcade drive works.) * @param stick The joystick to use for Arcade single-stick driving. The Y-axis will be selected * for forwards/backwards and the X-axis will be selected for rotation rate. * @param squaredInputs If true, the sensitivity will be increased for small values */ void RobotDrive::ArcadeDrive(GenericHID &stick, bool squaredInputs) { // simply call the full-featured ArcadeDrive with the appropriate values ArcadeDrive(stick.GetY(), stick.GetX(), stick.GetTrigger()); }