mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
SCRIPT Run cc include replacements
This commit is contained in:
committed by
Peter Johnson
parent
f0a3c64121
commit
7c6efa41ae
@@ -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/kinematics/DifferentialDriveOdometry.h"
|
||||
#include "wpi/math/kinematics/DifferentialDriveOdometry.hpp"
|
||||
|
||||
#include "wpimath/MathShared.h"
|
||||
#include "wpi/math/util/MathShared.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/kinematics/DifferentialDriveOdometry3d.h"
|
||||
#include "wpi/math/kinematics/DifferentialDriveOdometry3d.hpp"
|
||||
|
||||
#include "wpimath/MathShared.h"
|
||||
#include "wpi/math/util/MathShared.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/MecanumDriveKinematics.h"
|
||||
#include "wpi/math/kinematics/MecanumDriveKinematics.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/kinematics/MecanumDriveOdometry.h"
|
||||
#include "wpi/math/kinematics/MecanumDriveOdometry.hpp"
|
||||
|
||||
#include "wpimath/MathShared.h"
|
||||
#include "wpi/math/util/MathShared.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -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/kinematics/MecanumDriveOdometry3d.h"
|
||||
#include "wpi/math/kinematics/MecanumDriveOdometry3d.hpp"
|
||||
|
||||
#include "wpimath/MathShared.h"
|
||||
#include "wpi/math/util/MathShared.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/SwerveDriveKinematics.h"
|
||||
#include "wpi/math/kinematics/SwerveDriveKinematics.hpp"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/SwerveDriveOdometry.h"
|
||||
#include "wpi/math/kinematics/SwerveDriveOdometry.hpp"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/SwerveDriveOdometry3d.h"
|
||||
#include "wpi/math/kinematics/SwerveDriveOdometry3d.hpp"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/proto/ChassisSpeedsProto.h"
|
||||
#include "wpi/math/kinematics/proto/ChassisSpeedsProto.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/proto/DifferentialDriveKinematicsProto.h"
|
||||
#include "wpi/math/kinematics/proto/DifferentialDriveKinematicsProto.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/proto/DifferentialDriveWheelPositionsProto.h"
|
||||
#include "wpi/math/kinematics/proto/DifferentialDriveWheelPositionsProto.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/proto/DifferentialDriveWheelSpeedsProto.h"
|
||||
#include "wpi/math/kinematics/proto/DifferentialDriveWheelSpeedsProto.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -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/kinematics/proto/MecanumDriveKinematicsProto.h"
|
||||
#include "wpi/math/kinematics/proto/MecanumDriveKinematicsProto.hpp"
|
||||
|
||||
#include <wpi/protobuf/ProtobufCallbacks.h>
|
||||
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/proto/MecanumDriveWheelPositionsProto.h"
|
||||
#include "wpi/math/kinematics/proto/MecanumDriveWheelPositionsProto.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/proto/MecanumDriveWheelSpeedsProto.h"
|
||||
#include "wpi/math/kinematics/proto/MecanumDriveWheelSpeedsProto.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -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/kinematics/proto/SwerveModulePositionProto.h"
|
||||
#include "wpi/math/kinematics/proto/SwerveModulePositionProto.hpp"
|
||||
|
||||
#include <wpi/protobuf/ProtobufCallbacks.h>
|
||||
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -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/kinematics/proto/SwerveModuleStateProto.h"
|
||||
#include "wpi/math/kinematics/proto/SwerveModuleStateProto.hpp"
|
||||
|
||||
#include <wpi/protobuf/ProtobufCallbacks.h>
|
||||
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
|
||||
|
||||
#include "wpimath/protobuf/kinematics.npb.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/ChassisSpeedsStruct.h"
|
||||
#include "wpi/math/kinematics/struct/ChassisSpeedsStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kVxOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/DifferentialDriveKinematicsStruct.h"
|
||||
#include "wpi/math/kinematics/struct/DifferentialDriveKinematicsStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kTrackwidthOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/DifferentialDriveWheelPositionsStruct.h"
|
||||
#include "wpi/math/kinematics/struct/DifferentialDriveWheelPositionsStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kLeftOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/DifferentialDriveWheelSpeedsStruct.h"
|
||||
#include "wpi/math/kinematics/struct/DifferentialDriveWheelSpeedsStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kLeftOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/MecanumDriveKinematicsStruct.h"
|
||||
#include "wpi/math/kinematics/struct/MecanumDriveKinematicsStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kFrontLeftOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/MecanumDriveWheelPositionsStruct.h"
|
||||
#include "wpi/math/kinematics/struct/MecanumDriveWheelPositionsStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kFrontLeftOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/MecanumDriveWheelSpeedsStruct.h"
|
||||
#include "wpi/math/kinematics/struct/MecanumDriveWheelSpeedsStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kFrontLeftOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/SwerveModulePositionStruct.h"
|
||||
#include "wpi/math/kinematics/struct/SwerveModulePositionStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kDistanceOff = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/kinematics/struct/SwerveModuleStateStruct.h"
|
||||
#include "wpi/math/kinematics/struct/SwerveModuleStateStruct.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr size_t kSpeedOff = 0;
|
||||
|
||||
Reference in New Issue
Block a user