[wpimath] Use external Eigen headers only (#3564)

Internal headers are no longer allowed as of
https://gitlab.com/libeigen/eigen/-/merge_requests/631. Based on
benchmarking I conducted in that thread, there doesn't seem to be a
performance penalty for including the full headers anymore.
This commit is contained in:
Tyler Veness
2021-09-13 14:31:01 -07:00
committed by GitHub
parent c42e053ae9
commit 27951442b8
7 changed files with 9 additions and 13 deletions

View File

@@ -10,8 +10,8 @@
#include <type_traits>
#include "Eigen/Core"
#include "Eigen/Eigenvalues"
#include "Eigen/QR"
#include "Eigen/src/Eigenvalues/EigenSolver.h"
#include "frc/geometry/Pose2d.h"
namespace frc {

View File

@@ -6,18 +6,15 @@
#include <wpi/array.h>
#include "Eigen/Cholesky"
#include "Eigen/Core"
#include "Eigen/src/Cholesky/LLT.h"
#include "Eigen/src/Eigenvalues/ComplexSchur.h"
#include "Eigen/src/LU/Determinant.h"
#include "Eigen/src/LU/InverseImpl.h"
#include "Eigen/Eigenvalues"
#include "drake/math/discrete_algebraic_riccati_equation.h"
#include "frc/StateSpaceUtil.h"
#include "frc/system/Discretization.h"
#include "frc/system/LinearSystem.h"
#include "units/time.h"
#include "unsupported/Eigen/src/MatrixFunctions/MatrixPower.h"
#include "unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h"
#include "unsupported/Eigen/MatrixFunctions"
namespace frc {
namespace detail {

View File

@@ -8,8 +8,8 @@
#include <wpi/array.h>
#include "Eigen/Cholesky"
#include "Eigen/Core"
#include "Eigen/src/Cholesky/LDLT.h"
#include "drake/math/discrete_algebraic_riccati_equation.h"
#include "frc/StateSpaceUtil.h"
#include "frc/system/Discretization.h"

View File

@@ -8,8 +8,8 @@
#include <wpi/array.h>
#include "Eigen/Cholesky"
#include "Eigen/Core"
#include "Eigen/src/Cholesky/LDLT.h"
#include "drake/math/discrete_algebraic_riccati_equation.h"
#include "frc/StateSpaceUtil.h"
#include "frc/system/Discretization.h"

View File

@@ -6,8 +6,8 @@
#include <cmath>
#include "Eigen/Cholesky"
#include "Eigen/Core"
#include "Eigen/src/Cholesky/LLT.h"
namespace frc {

View File

@@ -8,8 +8,8 @@
#include <wpi/array.h>
#include "Eigen/Cholesky"
#include "Eigen/Core"
#include "Eigen/src/Cholesky/LDLT.h"
#include "frc/StateSpaceUtil.h"
#include "frc/estimator/MerweScaledSigmaPoints.h"
#include "frc/estimator/UnscentedTransform.h"

View File

@@ -5,9 +5,8 @@
#pragma once
#include "Eigen/Core"
#include "Eigen/src/LU/PartialPivLU.h"
#include "units/time.h"
#include "unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h"
#include "unsupported/Eigen/MatrixFunctions"
namespace frc {