SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 19:57:55 -05:00
committed by Peter Johnson
parent c48b722dac
commit 1e7604f81c
1218 changed files with 2709 additions and 3267 deletions

View File

@@ -7,12 +7,12 @@
#include <Eigen/Core>
#include <Eigen/Eigenvalues>
#include <gtest/gtest.h>
#include "wpi/util/expected"
#include "wpi/util/print.hpp"
#include "wpi/math/fmt/Eigen.hpp"
#include "wpi/math/linalg/DARE.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/fmt/Eigen.hpp"
#include "wpi/util/expected"
#include "wpi/util/print.hpp"
// 2x1
extern template wpi::expected<Eigen::Matrix<double, 2, 2>, frc::DAREError>

View File

@@ -2,9 +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 "wpi/util/expected"
#include "wpi/math/linalg/DARE.hpp"
#include "wpi/util/expected"
template wpi::expected<Eigen::Matrix<double, 4, 4>, frc::DAREError>
frc::DARE<4, 1>(const Eigen::Matrix<double, 4, 4>& A,

View File

@@ -7,9 +7,9 @@
#include <gtest/gtest.h>
#include "wpi/math/util/MathUtil.hpp"
#include "wpi/math/geometry/Translation2d.hpp"
#include "wpi/math/geometry/Translation3d.hpp"
#include "wpi/math/util/MathUtil.hpp"
#include "wpi/units/angle.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"

View File

@@ -5,6 +5,7 @@
#pragma once
#include <gtest/gtest.h>
#include "wpi/util/SmallVector.hpp"
#include "wpi/util/protobuf/Protobuf.hpp"

View File

@@ -7,10 +7,10 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/controller/LinearPlantInversionFeedforward.hpp"
#include "wpi/math/controller/LinearQuadraticRegulator.hpp"
#include "wpi/math/estimator/KalmanFilter.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/LinearSystem.hpp"
#include "wpi/math/system/LinearSystemLoop.hpp"
#include "wpi/math/system/plant/DCMotor.hpp"

View File

@@ -5,6 +5,7 @@
#pragma once
#include <gtest/gtest.h>
#include "wpi/util/struct/Struct.hpp"
template <typename T>

View File

@@ -7,8 +7,8 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/controller/ArmFeedforward.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/NumericalIntegration.hpp"
#include "wpi/units/angular_acceleration.hpp"
#include "wpi/units/angular_velocity.hpp"

View File

@@ -4,8 +4,8 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/controller/ControlAffinePlantInversionFeedforward.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/units/time.hpp"
namespace frc {

View File

@@ -6,9 +6,9 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/controller/ElevatorFeedforward.hpp"
#include "wpi/math/controller/LinearPlantInversionFeedforward.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"

View File

@@ -6,11 +6,11 @@
#include <gtest/gtest.h>
#include "wpi/math/util/MathUtil.hpp"
#include "wpi/math/controller/LTVDifferentialDriveController.hpp"
#include "wpi/math/system/NumericalIntegration.hpp"
#include "wpi/math/system/plant/LinearSystemId.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/util/MathUtil.hpp"
#include "wpi/units/math.hpp"
#define EXPECT_NEAR_UNITS(val1, val2, eps) \

View File

@@ -4,9 +4,9 @@
#include <gtest/gtest.h>
#include "wpi/math/util/MathUtil.hpp"
#include "wpi/math/controller/LTVUnicycleController.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/util/MathUtil.hpp"
#include "wpi/units/math.hpp"
#define EXPECT_NEAR_UNITS(val1, val2, eps) \

View File

@@ -6,8 +6,8 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/controller/LinearPlantInversionFeedforward.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/units/time.hpp"
namespace frc {

View File

@@ -6,8 +6,8 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/controller/LinearQuadraticRegulator.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/LinearSystem.hpp"
#include "wpi/math/system/plant/DCMotor.hpp"
#include "wpi/math/system/plant/LinearSystemId.hpp"

View File

@@ -6,9 +6,9 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/controller/LinearPlantInversionFeedforward.hpp"
#include "wpi/math/controller/SimpleMotorFeedforward.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"

View File

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

View File

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

View File

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

View File

@@ -6,8 +6,8 @@
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/estimator/AngleStatistics.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
TEST(AngleStatisticsTest, Mean) {
frc::Matrixd<3, 3> sigmas{

View File

@@ -9,17 +9,17 @@
#include <vector>
#include <gtest/gtest.h>
#include "wpi/util/print.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/estimator/DifferentialDrivePoseEstimator3d.hpp"
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/geometry/Rotation2d.hpp"
#include "wpi/math/kinematics/DifferentialDriveKinematics.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/units/angle.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"
#include "wpi/util/print.hpp"
void testFollowTrajectory(
const frc::DifferentialDriveKinematics& kinematics,

View File

@@ -10,17 +10,17 @@
#include <vector>
#include <gtest/gtest.h>
#include "wpi/util/print.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/estimator/DifferentialDrivePoseEstimator.hpp"
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/geometry/Rotation2d.hpp"
#include "wpi/math/kinematics/DifferentialDriveKinematics.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/units/angle.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"
#include "wpi/util/print.hpp"
void testFollowTrajectory(
const frc::DifferentialDriveKinematics& kinematics,

View File

@@ -8,12 +8,12 @@
#include <Eigen/QR>
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/estimator/ExtendedKalmanFilter.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/NumericalJacobian.hpp"
#include "wpi/math/system/plant/DCMotor.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/units/moment_of_inertia.hpp"
namespace {

View File

@@ -8,12 +8,12 @@
#include <vector>
#include <gtest/gtest.h>
#include "wpi/util/print.hpp"
#include "wpi/math/estimator/MecanumDrivePoseEstimator3d.hpp"
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/kinematics/MecanumDriveKinematics.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/util/print.hpp"
void testFollowTrajectory(
const frc::MecanumDriveKinematics& kinematics,

View File

@@ -9,12 +9,12 @@
#include <vector>
#include <gtest/gtest.h>
#include "wpi/util/print.hpp"
#include "wpi/math/estimator/MecanumDrivePoseEstimator.hpp"
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/kinematics/MecanumDriveKinematics.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/util/print.hpp"
void testFollowTrajectory(
const frc::MecanumDriveKinematics& kinematics,

View File

@@ -10,16 +10,16 @@
#include <Eigen/QR>
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/estimator/AngleStatistics.hpp"
#include "wpi/math/estimator/MerweUKF.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/Discretization.hpp"
#include "wpi/math/system/NumericalIntegration.hpp"
#include "wpi/math/system/NumericalJacobian.hpp"
#include "wpi/math/system/plant/DCMotor.hpp"
#include "wpi/math/system/plant/LinearSystemId.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/units/moment_of_inertia.hpp"
namespace {

View File

@@ -10,16 +10,16 @@
#include <Eigen/QR>
#include <gtest/gtest.h>
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/estimator/AngleStatistics.hpp"
#include "wpi/math/estimator/S3UKF.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/system/Discretization.hpp"
#include "wpi/math/system/NumericalIntegration.hpp"
#include "wpi/math/system/NumericalJacobian.hpp"
#include "wpi/math/system/plant/DCMotor.hpp"
#include "wpi/math/system/plant/LinearSystemId.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/units/moment_of_inertia.hpp"
namespace {

View File

@@ -9,13 +9,13 @@
#include <fmt/format.h>
#include <gtest/gtest.h>
#include "wpi/util/print.hpp"
#include "wpi/util/timestamp.h"
#include "wpi/math/estimator/SwerveDrivePoseEstimator3d.hpp"
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/kinematics/SwerveDriveKinematics.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/util/print.hpp"
#include "wpi/util/timestamp.h"
void testFollowTrajectory(
const frc::SwerveDriveKinematics<4>& kinematics,

View File

@@ -10,13 +10,13 @@
#include <fmt/format.h>
#include <gtest/gtest.h>
#include "wpi/util/print.hpp"
#include "wpi/util/timestamp.h"
#include "wpi/math/estimator/SwerveDrivePoseEstimator.hpp"
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/kinematics/SwerveDriveKinematics.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/util/print.hpp"
#include "wpi/util/timestamp.h"
void testFollowTrajectory(
const frc::SwerveDriveKinematics<4>& kinematics,

View File

@@ -3,10 +3,10 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include "wpi/util/timestamp.h"
#include "wpi/math/filter/Debouncer.hpp"
#include "wpi/units/time.hpp"
#include "wpi/util/timestamp.h"
static units::second_t now = 0_s;

View File

@@ -11,9 +11,9 @@
#include <random>
#include <gtest/gtest.h>
#include "wpi/util/array.hpp"
#include "wpi/units/time.hpp"
#include "wpi/util/array.hpp"
// Filter constants
static constexpr auto kFilterStep = 5_ms;

View File

@@ -3,12 +3,12 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include "wpi/util/timestamp.h"
#include "wpi/math/filter/SlewRateLimiter.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"
#include "wpi/units/velocity.hpp"
#include "wpi/util/timestamp.h"
static units::second_t now = 0_s;

View File

@@ -5,9 +5,9 @@
#include <cmath>
#include <gtest/gtest.h>
#include "wpi/util/array.hpp"
#include "wpi/math/geometry/Pose3d.hpp"
#include "wpi/util/array.hpp"
using namespace frc;

View File

@@ -7,9 +7,9 @@
#include <Eigen/Core>
#include <gtest/gtest.h>
#include "wpi/util/MathExtras.hpp"
#include "wpi/math/geometry/Rotation3d.hpp"
#include "wpi/util/MathExtras.hpp"
using namespace frc;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -7,13 +7,13 @@
#include <vector>
#include <gtest/gtest.h>
#include "wpi/util/array.hpp"
#include "wpi/util/circular_buffer.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/geometry/Rotation2d.hpp"
#include "wpi/math/linalg/EigenCore.hpp"
#include "wpi/math/path/TravelingSalesman.hpp"
#include "wpi/util/array.hpp"
#include "wpi/util/circular_buffer.hpp"
/**
* Returns true if the cycles represented by the two lists match.

View File

@@ -2,12 +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 <gtest/gtest.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 "wpi/units/length.hpp"
#include "wpi/units/mass.hpp"

View File

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

View File

@@ -7,9 +7,9 @@
#include <gtest/gtest.h>
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/math/trajectory/constraint/CentripetalAccelerationConstraint.hpp"
#include "wpi/math/trajectory/constraint/TrajectoryConstraint.hpp"
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/angle.hpp"
#include "wpi/units/math.hpp"

View File

@@ -8,8 +8,8 @@
#include <gtest/gtest.h>
#include "wpi/math/kinematics/DifferentialDriveKinematics.hpp"
#include "wpi/math/trajectory/constraint/DifferentialDriveKinematicsConstraint.hpp"
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/math/trajectory/constraint/DifferentialDriveKinematicsConstraint.hpp"
#include "wpi/units/time.hpp"
using namespace frc;

View File

@@ -9,9 +9,9 @@
#include "wpi/math/geometry/Pose2d.hpp"
#include "wpi/math/kinematics/DifferentialDriveKinematics.hpp"
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/trajectory/constraint/DifferentialDriveVoltageConstraint.hpp"
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"

View File

@@ -4,9 +4,9 @@
#include <gtest/gtest.h>
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/math/trajectory/constraint/EllipticalRegionConstraint.hpp"
#include "wpi/math/trajectory/constraint/MaxVelocityConstraint.hpp"
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/angle.hpp"
#include "wpi/units/length.hpp"

View File

@@ -4,9 +4,9 @@
#include <gtest/gtest.h>
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/math/trajectory/constraint/MaxVelocityConstraint.hpp"
#include "wpi/math/trajectory/constraint/RectangularRegionConstraint.hpp"
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/length.hpp"
#include "wpi/units/math.hpp"

View File

@@ -6,11 +6,11 @@
#include <gtest/gtest.h>
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/math/trajectory/Trajectory.hpp"
#include "wpi/math/trajectory/TrajectoryGenerator.hpp"
#include "wpi/math/trajectory/constraint/CentripetalAccelerationConstraint.hpp"
#include "wpi/math/trajectory/constraint/TrajectoryConstraint.hpp"
#include "wpi/math/trajectory/TestTrajectory.hpp"
#include "wpi/units/math.hpp"
using namespace frc;

View File

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

View File

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