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

@@ -7,9 +7,9 @@
#include <Eigen/Eigenvalues>
#include <gtest/gtest.h>
#include "frc/EigenCore.h"
#include "frc/system/Discretization.h"
#include "frc/system/NumericalIntegration.h"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/Discretization.hpp"
#include "wpi/math/system/NumericalIntegration.hpp"
// Check that for a simple second-order system that we can easily analyze
// analytically,

View File

@@ -2,14 +2,14 @@
// 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/system/LinearSystem.h>
#include <frc/system/plant/DCMotor.h>
#include <frc/system/plant/LinearSystemId.h>
#include "wpi/math/system/LinearSystem.hpp"
#include "wpi/math/system/plant/DCMotor.hpp"
#include "wpi/math/system/plant/LinearSystemId.hpp"
#include <gtest/gtest.h>
#include "units/length.h"
#include "units/mass.h"
#include "wpi/units/length.hpp"
#include "wpi/units/mass.hpp"
TEST(LinearSystemIDTest, IdentifyDrivetrainVelocitySystem) {
#if __GNUC__ <= 11

View File

@@ -6,8 +6,8 @@
#include <gtest/gtest.h>
#include "frc/EigenCore.h"
#include "frc/system/NumericalIntegration.h"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/NumericalIntegration.hpp"
// Test that integrating dx/dt = eˣ works
TEST(NumericalIntegrationTest, Exponential) {

View File

@@ -4,7 +4,7 @@
#include <gtest/gtest.h>
#include "frc/system/NumericalJacobian.h"
#include "wpi/math/system/NumericalJacobian.hpp"
frc::Matrixd<4, 4> A{{1, 2, 4, 1}, {5, 2, 3, 4}, {5, 1, 3, 2}, {1, 1, 3, 7}};
frc::Matrixd<4, 2> B{{1, 1}, {2, 1}, {3, 2}, {3, 7}};

View File

@@ -3,9 +3,9 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <wpi/SmallVector.h>
#include "wpi/util/SmallVector.hpp"
#include "frc/system/plant/DCMotor.h"
#include "wpi/math/system/plant/DCMotor.hpp"
using namespace frc;

View File

@@ -4,7 +4,7 @@
#include <gtest/gtest.h>
#include "frc/system/plant/DCMotor.h"
#include "wpi/math/system/plant/DCMotor.hpp"
using namespace frc;

View File

@@ -4,9 +4,9 @@
#include <gtest/gtest.h>
#include "../../ProtoTestBase.h"
#include "frc/system/LinearSystem.h"
#include "frc/system/proto/LinearSystemProto.h"
#include "../../ProtoTestBase.hpp"
#include "wpi/math/system/LinearSystem.hpp"
#include "wpi/math/system/proto/LinearSystemProto.hpp"
using namespace frc;

View File

@@ -4,9 +4,9 @@
#include <gtest/gtest.h>
#include "../../StructTestBase.h"
#include "frc/system/LinearSystem.h"
#include "frc/system/struct/LinearSystemStruct.h"
#include "../../StructTestBase.hpp"
#include "wpi/math/system/LinearSystem.hpp"
#include "wpi/math/system/struct/LinearSystemStruct.hpp"
using namespace frc;