SCRIPT Run cc include replacements

This commit is contained in:
PJ Reiniger
2025-11-07 19:56:21 -05:00
committed by Peter Johnson
parent f0a3c64121
commit 7c6efa41ae
2477 changed files with 8882 additions and 8882 deletions

View File

@@ -2,10 +2,10 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/ADXL345_I2C.h>
#include <frc/AnalogInput.h>
#include <frc/I2C.h>
#include <frc/TimedRobot.h>
#include "wpi/hardware/accelerometer/ADXL345_I2C.hpp"
#include "wpi/hardware/discrete/AnalogInput.hpp"
#include "wpi/hardware/bus/I2C.hpp"
#include "wpi/opmode/TimedRobot.hpp"
/**
* ADXL346, 362 Accelerometer snippets for frc-docs.

View File

@@ -2,10 +2,10 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/OnboardIMU.h>
#include <frc/TimedRobot.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <units/acceleration.h>
#include "wpi/hardware/imu/OnboardIMU.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/smartdashboard/SmartDashboard.hpp"
#include "wpi/units/acceleration.hpp"
/**
* Collision detection snippets for frc-docs.

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/OnboardIMU.h>
#include <frc/TimedRobot.h>
#include <frc/filter/LinearFilter.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <units/acceleration.h>
#include "wpi/hardware/imu/OnboardIMU.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/math/filter/LinearFilter.hpp"
#include "wpi/smartdashboard/SmartDashboard.hpp"
#include "wpi/units/acceleration.hpp"
/**
* Accelerometer filtering snippets for frc-docs.

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/AnalogAccelerometer.h>
#include <frc/AnalogInput.h>
#include <frc/TimedRobot.h>
#include "wpi/hardware/accelerometer/AnalogAccelerometer.hpp"
#include "wpi/hardware/discrete/AnalogInput.hpp"
#include "wpi/opmode/TimedRobot.hpp"
/**
* AnalogAccelerometer snippets for frc-docs.

View File

@@ -2,8 +2,8 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/AnalogEncoder.h>
#include <frc/TimedRobot.h>
#include "wpi/hardware/rotation/AnalogEncoder.hpp"
#include "wpi/opmode/TimedRobot.hpp"
/**
* AnalogEncoder snippets for frc-docs.

View File

@@ -2,8 +2,8 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/AnalogInput.h>
#include <frc/TimedRobot.h>
#include "wpi/hardware/discrete/AnalogInput.hpp"
#include "wpi/opmode/TimedRobot.hpp"
/**
* AnalogInput snippets for frc-docs.

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/AnalogInput.h>
#include <frc/AnalogPotentiometer.h>
#include <frc/TimedRobot.h>
#include "wpi/hardware/discrete/AnalogInput.hpp"
#include "wpi/hardware/rotation/AnalogPotentiometer.hpp"
#include "wpi/opmode/TimedRobot.hpp"
/**
* AnalogPotentiometer snippets for frc-docs.

View File

@@ -2,8 +2,8 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/DigitalInput.h>
#include <frc/TimedRobot.h>
#include "wpi/hardware/discrete/DigitalInput.hpp"
#include "wpi/opmode/TimedRobot.hpp"
/**
* Digital Input snippets for frc-docs.

View File

@@ -2,8 +2,8 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/DutyCycleEncoder.h>
#include <frc/TimedRobot.h>
#include "wpi/hardware/rotation/DutyCycleEncoder.hpp"
#include "wpi/opmode/TimedRobot.hpp"
/**
* DutyCycleEncoder snippets for frc-docs.

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/Encoder.h>
#include <frc/TimedRobot.h>
#include <wpi/deprecated.h>
#include "wpi/hardware/rotation/Encoder.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/util/deprecated.hpp"
/**
* Encoder snippets for frc-docs.

View File

@@ -2,10 +2,10 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/Encoder.h>
#include <frc/TimedRobot.h>
#include <frc/drive/DifferentialDrive.h>
#include <frc/motorcontrol/Spark.h>
#include "wpi/hardware/rotation/Encoder.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/drive/DifferentialDrive.hpp"
#include "wpi/hardware/motor/Spark.hpp"
/**
* Encoder drive to distance snippets for frc-docs.

View File

@@ -2,10 +2,10 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/DigitalInput.h>
#include <frc/Encoder.h>
#include <frc/TimedRobot.h>
#include <frc/motorcontrol/Spark.h>
#include "wpi/hardware/discrete/DigitalInput.hpp"
#include "wpi/hardware/rotation/Encoder.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/hardware/motor/Spark.hpp"
/**
* Encoder mechanism homing snippets for frc-docs.

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/DigitalInput.h>
#include <frc/Encoder.h>
#include <frc/Joystick.h>
#include <frc/TimedRobot.h>
#include <frc/motorcontrol/PWMVictorSPX.h>
#include "wpi/hardware/discrete/DigitalInput.hpp"
#include "wpi/hardware/rotation/Encoder.hpp"
#include "wpi/driverstation/Joystick.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/hardware/motor/PWMVictorSPX.hpp"
/**
* Limit Switch snippets for frc-docs.

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/OnboardIMU.h>
#include <frc/TimedRobot.h>
#include <frc/geometry/Rotation2d.h>
#include <units/acceleration.h>
#include <units/angle.h>
#include "wpi/hardware/imu/OnboardIMU.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/math/geometry/Rotation2d.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/angle.hpp"
/**
* Onboard IMU snippets for frc-docs.

View File

@@ -2,15 +2,15 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/Encoder.h>
#include <frc/TimedRobot.h>
#include <frc/controller/ProfiledPIDController.h>
#include <frc/controller/SimpleMotorFeedforward.h>
#include <frc/motorcontrol/PWMSparkMax.h>
#include <units/acceleration.h>
#include <units/length.h>
#include <units/velocity.h>
#include <units/voltage.h>
#include "wpi/hardware/rotation/Encoder.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/math/controller/ProfiledPIDController.hpp"
#include "wpi/math/controller/SimpleMotorFeedforward.hpp"
#include "wpi/hardware/motor/PWMSparkMax.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/velocity.hpp"
#include "wpi/units/voltage.hpp"
/**
* ProfiledPIDController with feedforward snippets for frc-docs.