mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpimath] Use project includes for units, Drake, Eigen (#2634)
This commit is contained in:
@@ -31,7 +31,12 @@ includeGuardRoots {
|
||||
}
|
||||
|
||||
includeOtherLibs {
|
||||
^Eigen/
|
||||
^unsupported/
|
||||
^wpi/
|
||||
}
|
||||
|
||||
includeProject {
|
||||
^drake/
|
||||
^Eigen/
|
||||
^units/
|
||||
^unsupported/
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <unsupported/Eigen/MatrixFunctions>
|
||||
#include <wpi/jni_util.h>
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "drake/math/discrete_algebraic_riccati_equation.h"
|
||||
#include "edu_wpi_first_math_WPIMathJNI.h"
|
||||
#include "unsupported/Eigen/MatrixFunctions"
|
||||
|
||||
using namespace wpi::java;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <units/angle.h>
|
||||
#include "units/angle.h"
|
||||
|
||||
namespace wpi {
|
||||
class json;
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <units/length.h>
|
||||
|
||||
#include "Rotation2d.h"
|
||||
#include "units/length.h"
|
||||
|
||||
namespace wpi {
|
||||
class json;
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <units/angle.h>
|
||||
#include <units/length.h>
|
||||
#include <units/math.h>
|
||||
#include "units/angle.h"
|
||||
#include "units/length.h"
|
||||
#include "units/math.h"
|
||||
|
||||
namespace frc {
|
||||
/**
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/QR>
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "Eigen/QR"
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
#include "frc/kinematics/ChassisSpeeds.h"
|
||||
#include "frc/kinematics/MecanumDriveWheelSpeeds.h"
|
||||
|
||||
@@ -10,9 +10,8 @@
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/QR>
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "Eigen/QR"
|
||||
#include "frc/geometry/Rotation2d.h"
|
||||
#include "frc/geometry/Translation2d.h"
|
||||
#include "frc/kinematics/ChassisSpeeds.h"
|
||||
|
||||
@@ -9,8 +9,7 @@
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <Eigen/Core>
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "frc/spline/Spline.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -9,8 +9,7 @@
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <Eigen/Core>
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "frc/spline/Spline.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <Eigen/Core>
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "units/curvature.h"
|
||||
#include "units/length.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <units/math.h>
|
||||
#include "units/math.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/LU>
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "Eigen/LU"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(EigenTest, MultiplicationTest) {
|
||||
|
||||
Reference in New Issue
Block a user