mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpimath] Add folder prefix to geometry includes (#5489)
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "Transform2d.h"
|
||||
#include "Translation2d.h"
|
||||
#include "Twist2d.h"
|
||||
#include "frc/geometry/Transform2d.h"
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
#include "frc/geometry/Twist2d.h"
|
||||
|
||||
namespace wpi {
|
||||
class json;
|
||||
@@ -206,4 +206,4 @@ void from_json(const wpi::json& json, Pose2d& pose);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#include "Pose2d.inc"
|
||||
#include "frc/geometry/Pose2d.inc"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "Pose2d.h"
|
||||
#include "Transform3d.h"
|
||||
#include "Translation3d.h"
|
||||
#include "Twist3d.h"
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "frc/geometry/Transform3d.h"
|
||||
#include "frc/geometry/Translation3d.h"
|
||||
#include "frc/geometry/Twist3d.h"
|
||||
|
||||
namespace wpi {
|
||||
class json;
|
||||
|
||||
@@ -179,4 +179,4 @@ void from_json(const wpi::json& json, Rotation2d& rotation);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#include "Rotation2d.inc"
|
||||
#include "frc/geometry/Rotation2d.inc"
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "Quaternion.h"
|
||||
#include "Rotation2d.h"
|
||||
#include "frc/EigenCore.h"
|
||||
#include "frc/geometry/Quaternion.h"
|
||||
#include "frc/geometry/Rotation2d.h"
|
||||
#include "units/angle.h"
|
||||
|
||||
namespace wpi {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "Translation2d.h"
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -112,4 +112,4 @@ class WPILIB_DLLEXPORT Transform2d {
|
||||
};
|
||||
} // namespace frc
|
||||
|
||||
#include "Transform2d.inc"
|
||||
#include "frc/geometry/Transform2d.inc"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "Translation3d.h"
|
||||
#include "frc/geometry/Translation3d.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "Rotation2d.h"
|
||||
#include "frc/geometry/Rotation2d.h"
|
||||
#include "units/length.h"
|
||||
|
||||
namespace wpi {
|
||||
@@ -201,4 +201,4 @@ void from_json(const wpi::json& json, Translation2d& state);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#include "Translation2d.inc"
|
||||
#include "frc/geometry/Translation2d.inc"
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "Rotation3d.h"
|
||||
#include "Translation2d.h"
|
||||
#include "frc/geometry/Rotation3d.h"
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
#include "units/length.h"
|
||||
|
||||
namespace wpi {
|
||||
@@ -186,4 +186,4 @@ void from_json(const wpi::json& json, Translation3d& state);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#include "Translation3d.inc"
|
||||
#include "frc/geometry/Translation3d.inc"
|
||||
|
||||
Reference in New Issue
Block a user