mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
SCRIPT Run cc include replacements
This commit is contained in:
committed by
Peter Johnson
parent
f0a3c64121
commit
7c6efa41ae
@@ -4,9 +4,9 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/CoordinateSystem.h"
|
||||
#include "frc/geometry/Pose3d.h"
|
||||
#include "frc/geometry/Transform3d.h"
|
||||
#include "wpi/math/geometry/CoordinateSystem.hpp"
|
||||
#include "wpi/math/geometry/Pose3d.hpp"
|
||||
#include "wpi/math/geometry/Transform3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Ellipse2d.h"
|
||||
#include "wpi/math/geometry/Ellipse2d.hpp"
|
||||
|
||||
TEST(Ellipse2dTest, FocalPoints) {
|
||||
constexpr frc::Pose2d center{1_m, 2_m, 0_deg};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "wpi/math/geometry/Pose2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
#include <cmath>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <wpi/array.h>
|
||||
#include "wpi/util/array.hpp"
|
||||
|
||||
#include "frc/geometry/Pose3d.h"
|
||||
#include "wpi/math/geometry/Pose3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Quaternion.h"
|
||||
#include "units/angle.h"
|
||||
#include "units/math.h"
|
||||
#include "wpi/math/geometry/Quaternion.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/units/math.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Rectangle2d.h"
|
||||
#include "wpi/math/geometry/Rectangle2d.hpp"
|
||||
|
||||
TEST(Rectangle2dTest, NewWithCorners) {
|
||||
constexpr frc::Translation2d cornerA{1_m, 2_m};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Rotation2d.h"
|
||||
#include "wpi/math/geometry/Rotation2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <gtest/gtest.h>
|
||||
#include <wpi/MathExtras.h>
|
||||
#include "wpi/util/MathExtras.hpp"
|
||||
|
||||
#include "frc/geometry/Rotation3d.h"
|
||||
#include "wpi/math/geometry/Rotation3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "frc/geometry/Rotation2d.h"
|
||||
#include "frc/geometry/Transform2d.h"
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
#include "wpi/math/geometry/Pose2d.hpp"
|
||||
#include "wpi/math/geometry/Rotation2d.hpp"
|
||||
#include "wpi/math/geometry/Transform2d.hpp"
|
||||
#include "wpi/math/geometry/Translation2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Pose3d.h"
|
||||
#include "frc/geometry/Rotation3d.h"
|
||||
#include "frc/geometry/Transform3d.h"
|
||||
#include "frc/geometry/Translation3d.h"
|
||||
#include "wpi/math/geometry/Pose3d.hpp"
|
||||
#include "wpi/math/geometry/Rotation3d.hpp"
|
||||
#include "wpi/math/geometry/Transform3d.hpp"
|
||||
#include "wpi/math/geometry/Translation3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
#include "wpi/math/geometry/Translation2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Translation3d.h"
|
||||
#include "wpi/math/geometry/Translation3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "wpi/math/geometry/Pose2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Pose3d.h"
|
||||
#include "wpi/math/geometry/Pose3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Ellipse2d.h"
|
||||
#include "wpi/math/geometry/Ellipse2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Pose2d.h"
|
||||
#include "wpi/math/geometry/Pose2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Pose3d.h"
|
||||
#include "wpi/math/geometry/Pose3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Quaternion.h"
|
||||
#include "wpi/math/geometry/Quaternion.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Rectangle2d.h"
|
||||
#include "wpi/math/geometry/Rectangle2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Rotation2d.h"
|
||||
#include "wpi/math/geometry/Rotation2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Rotation3d.h"
|
||||
#include "wpi/math/geometry/Rotation3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Transform2d.h"
|
||||
#include "wpi/math/geometry/Transform2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Transform3d.h"
|
||||
#include "wpi/math/geometry/Transform3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Translation2d.h"
|
||||
#include "wpi/math/geometry/Translation2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Translation3d.h"
|
||||
#include "wpi/math/geometry/Translation3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Twist2d.h"
|
||||
#include "wpi/math/geometry/Twist2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/geometry/Twist3d.h"
|
||||
#include "wpi/math/geometry/Twist3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Ellipse2d.h"
|
||||
#include "wpi/math/geometry/Ellipse2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "wpi/math/geometry/Pose2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Pose3d.h"
|
||||
#include "wpi/math/geometry/Pose3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Quaternion.h"
|
||||
#include "wpi/math/geometry/Quaternion.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Rectangle2d.h"
|
||||
#include "wpi/math/geometry/Rectangle2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Rotation2d.h"
|
||||
#include "wpi/math/geometry/Rotation2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Rotation3d.h"
|
||||
#include "wpi/math/geometry/Rotation3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Transform2d.h"
|
||||
#include "wpi/math/geometry/Transform2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Transform3d.h"
|
||||
#include "wpi/math/geometry/Transform3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
#include "wpi/math/geometry/Translation2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Translation3d.h"
|
||||
#include "wpi/math/geometry/Translation3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Twist2d.h"
|
||||
#include "wpi/math/geometry/Twist2d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/geometry/Twist3d.h"
|
||||
#include "wpi/math/geometry/Twist3d.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user