Add frc2 includes to list of "other lib" regexes (#1855)

This commit is contained in:
Tyler Veness
2019-08-26 23:11:07 -07:00
committed by Peter Johnson
parent 4b2b21d247
commit 2bdb443255
40 changed files with 44 additions and 82 deletions

View File

@@ -7,9 +7,8 @@
#include "Robot.h"
#include <frc2/command/CommandScheduler.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/CommandScheduler.h>
void Robot::RobotInit() {}

View File

@@ -7,9 +7,8 @@
#include "RobotContainer.h"
#include <frc2/command/button/JoystickButton.h>
#include <frc/shuffleboard/Shuffleboard.h>
#include <frc2/command/button/JoystickButton.h>
RobotContainer::RobotContainer() {
// Initialize all of your commands and subsystems here

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/TimedRobot.h>
#include <frc2/command/Command.h>
#include "RobotContainer.h"

View File

@@ -7,6 +7,8 @@
#pragma once
#include <frc/XboxController.h>
#include <frc/smartdashboard/SendableChooser.h>
#include <frc2/command/Command.h>
#include <frc2/command/ConditionalCommand.h>
#include <frc2/command/InstantCommand.h>
@@ -16,9 +18,6 @@
#include <frc2/command/WaitCommand.h>
#include <frc2/command/WaitUntilCommand.h>
#include <frc/XboxController.h>
#include <frc/smartdashboard/SendableChooser.h>
#include "Constants.h"
#include "subsystems/DriveSubsystem.h"
#include "subsystems/ShooterSubsystem.h"

View File

@@ -7,12 +7,11 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/Encoder.h>
#include <frc/PWMVictorSPX.h>
#include <frc/SpeedControllerGroup.h>
#include <frc/drive/DifferentialDrive.h>
#include <frc2/command/SubsystemBase.h>
#include "Constants.h"

View File

@@ -7,10 +7,9 @@
#pragma once
#include <frc2/command/PIDSubsystem.h>
#include <frc/Encoder.h>
#include <frc/PWMVictorSPX.h>
#include <frc2/command/PIDSubsystem.h>
class ShooterSubsystem : public frc2::PIDSubsystem {
public:

View File

@@ -7,9 +7,8 @@
#include "Robot.h"
#include <frc2/command/CommandScheduler.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/CommandScheduler.h>
void Robot::RobotInit() {}

View File

@@ -7,9 +7,8 @@
#include "RobotContainer.h"
#include <frc2/command/button/JoystickButton.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/button/JoystickButton.h>
#include "commands/CloseClaw.h"
#include "commands/OpenClaw.h"

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/TimedRobot.h>
#include <frc2/command/Command.h>
#include "RobotContainer.h"

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/Joystick.h>
#include <frc2/command/Command.h>
#include "commands/Autonomous.h"
#include "subsystems/Claw.h"

View File

@@ -7,10 +7,9 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/DigitalInput.h>
#include <frc/PWMVictorSPX.h>
#include <frc2/command/SubsystemBase.h>
/**
* The claw subsystem is a simple system with a motor for opening and closing.

View File

@@ -7,14 +7,13 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/AnalogGyro.h>
#include <frc/AnalogInput.h>
#include <frc/Encoder.h>
#include <frc/PWMVictorSPX.h>
#include <frc/SpeedControllerGroup.h>
#include <frc/drive/DifferentialDrive.h>
#include <frc2/command/SubsystemBase.h>
namespace frc {
class Joystick;

View File

@@ -7,10 +7,9 @@
#pragma once
#include <frc2/command/PIDSubsystem.h>
#include <frc/AnalogPotentiometer.h>
#include <frc/PWMVictorSPX.h>
#include <frc2/command/PIDSubsystem.h>
/**
* The elevator subsystem uses PID to go to a given height. Unfortunately, in

View File

@@ -7,10 +7,9 @@
#pragma once
#include <frc2/command/PIDSubsystem.h>
#include <frc/AnalogPotentiometer.h>
#include <frc/PWMVictorSPX.h>
#include <frc2/command/PIDSubsystem.h>
/**
* The wrist subsystem is like the elevator, but with a rotational joint instead

View File

@@ -7,9 +7,8 @@
#include "Robot.h"
#include <frc2/command/CommandScheduler.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/CommandScheduler.h>
void Robot::RobotInit() {}

View File

@@ -7,9 +7,8 @@
#include "RobotContainer.h"
#include <frc2/command/button/JoystickButton.h>
#include <frc/shuffleboard/Shuffleboard.h>
#include <frc2/command/button/JoystickButton.h>
RobotContainer::RobotContainer() {
// Initialize all of your commands and subsystems here

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/TimedRobot.h>
#include <frc2/command/Command.h>
#include "RobotContainer.h"

View File

@@ -7,16 +7,15 @@
#pragma once
#include <frc/XboxController.h>
#include <frc/controller/PIDController.h>
#include <frc/smartdashboard/SendableChooser.h>
#include <frc2/command/Command.h>
#include <frc2/command/InstantCommand.h>
#include <frc2/command/PIDCommand.h>
#include <frc2/command/ParallelRaceGroup.h>
#include <frc2/command/RunCommand.h>
#include <frc/XboxController.h>
#include <frc/controller/PIDController.h>
#include <frc/smartdashboard/SendableChooser.h>
#include "Constants.h"
#include "commands/TurnToAngle.h"
#include "subsystems/DriveSubsystem.h"

View File

@@ -7,13 +7,12 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/ADXRS450_Gyro.h>
#include <frc/Encoder.h>
#include <frc/PWMVictorSPX.h>
#include <frc/SpeedControllerGroup.h>
#include <frc/drive/DifferentialDrive.h>
#include <frc2/command/SubsystemBase.h>
#include "Constants.h"

View File

@@ -7,9 +7,8 @@
#include "Robot.h"
#include <frc2/command/CommandScheduler.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/CommandScheduler.h>
void Robot::RobotInit() {}

View File

@@ -7,9 +7,8 @@
#include "RobotContainer.h"
#include <frc2/command/button/JoystickButton.h>
#include <frc/shuffleboard/Shuffleboard.h>
#include <frc2/command/button/JoystickButton.h>
RobotContainer::RobotContainer() {
// Initialize all of your commands and subsystems here

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/TimedRobot.h>
#include <frc2/command/Command.h>
#include "RobotContainer.h"

View File

@@ -7,6 +7,8 @@
#pragma once
#include <frc/XboxController.h>
#include <frc/smartdashboard/SendableChooser.h>
#include <frc2/command/Command.h>
#include <frc2/command/InstantCommand.h>
#include <frc2/command/ParallelRaceGroup.h>
@@ -14,9 +16,6 @@
#include <frc2/command/SequentialCommandGroup.h>
#include <frc2/command/StartEndCommand.h>
#include <frc/XboxController.h>
#include <frc/smartdashboard/SendableChooser.h>
#include "Constants.h"
#include "commands/ComplexAuto.h"
#include "subsystems/DriveSubsystem.h"

View File

@@ -7,12 +7,11 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/Encoder.h>
#include <frc/PWMVictorSPX.h>
#include <frc/SpeedControllerGroup.h>
#include <frc/drive/DifferentialDrive.h>
#include <frc2/command/SubsystemBase.h>
#include "Constants.h"

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/DoubleSolenoid.h>
#include <frc2/command/SubsystemBase.h>
#include "Constants.h"

View File

@@ -7,9 +7,8 @@
#include "Robot.h"
#include <frc2/command/CommandScheduler.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/CommandScheduler.h>
void Robot::RobotInit() {}

View File

@@ -7,9 +7,8 @@
#include "RobotContainer.h"
#include <frc2/command/button/JoystickButton.h>
#include <frc/shuffleboard/Shuffleboard.h>
#include <frc2/command/button/JoystickButton.h>
#include "commands/DefaultDrive.h"
#include "commands/GrabHatch.h"

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/TimedRobot.h>
#include <frc2/command/Command.h>
#include "RobotContainer.h"

View File

@@ -7,10 +7,9 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/XboxController.h>
#include <frc/smartdashboard/SendableChooser.h>
#include <frc2/command/Command.h>
#include "Constants.h"
#include "commands/ComplexAuto.h"

View File

@@ -7,12 +7,11 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/Encoder.h>
#include <frc/PWMVictorSPX.h>
#include <frc/SpeedControllerGroup.h>
#include <frc/drive/DifferentialDrive.h>
#include <frc2/command/SubsystemBase.h>
#include "Constants.h"

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/DoubleSolenoid.h>
#include <frc2/command/SubsystemBase.h>
#include "Constants.h"

View File

@@ -7,9 +7,8 @@
#include "Robot.h"
#include <frc2/command/CommandScheduler.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/CommandScheduler.h>
void Robot::RobotInit() {}

View File

@@ -7,11 +7,10 @@
#include "RobotContainer.h"
#include <frc/shuffleboard/Shuffleboard.h>
#include <frc2/command/CommandScheduler.h>
#include <frc2/command/button/JoystickButton.h>
#include <frc/shuffleboard/Shuffleboard.h>
RobotContainer::RobotContainer() {
// Initialize all of your commands and subsystems here

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/TimedRobot.h>
#include <frc2/command/Command.h>
#include "RobotContainer.h"

View File

@@ -7,12 +7,11 @@
#pragma once
#include <frc/XboxController.h>
#include <frc2/command/Command.h>
#include <frc2/command/InstantCommand.h>
#include <frc2/command/WaitCommand.h>
#include <frc/XboxController.h>
#include "Constants.h"
/**

View File

@@ -7,9 +7,8 @@
#include "Robot.h"
#include <frc2/command/CommandScheduler.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <frc2/command/CommandScheduler.h>
void Robot::RobotInit() {}

View File

@@ -7,9 +7,8 @@
#pragma once
#include <frc2/command/Command.h>
#include <frc/TimedRobot.h>
#include <frc2/command/Command.h>
#include "RobotContainer.h"