Removed older linux dependencies, updated cmake version requirement in METIS CMakeLists.txt & removed variables that were not used
parent
cd1782e5d4
commit
d48bf56ff8
|
@ -502,7 +502,7 @@ Matrix stateActionDiff(const State& xi) {
|
||||||
* Uses SelfAdjointSolver, completeOrthoganalDecomposition().pseudoInverse()
|
* Uses SelfAdjointSolver, completeOrthoganalDecomposition().pseudoInverse()
|
||||||
*/
|
*/
|
||||||
EqF::EqF(const Matrix& Sigma, int n, int m)
|
EqF::EqF(const Matrix& Sigma, int n, int m)
|
||||||
: __dof(6 + 3 * n), __n_cal(n), __n_sensor(m), __X_hat(G::identity(n)),
|
: __dof(6 + 3 * n), __n_cal(n), __X_hat(G::identity(n)),
|
||||||
__Sigma(Sigma), __xi_0(State::identity(n)) {
|
__Sigma(Sigma), __xi_0(State::identity(n)) {
|
||||||
|
|
||||||
if (Sigma.rows() != __dof || Sigma.cols() != __dof) {
|
if (Sigma.rows() != __dof || Sigma.cols() != __dof) {
|
||||||
|
|
|
@ -312,7 +312,6 @@ class EqF {
|
||||||
private:
|
private:
|
||||||
int __dof; // Degrees of freedom
|
int __dof; // Degrees of freedom
|
||||||
int __n_cal; // Number of calibration states
|
int __n_cal; // Number of calibration states
|
||||||
int __n_sensor; // Number of sensors
|
|
||||||
G __X_hat; // Filter state
|
G __X_hat; // Filter state
|
||||||
Matrix __Sigma; // Error covariance
|
Matrix __Sigma; // Error covariance
|
||||||
State __xi_0; // Origin state
|
State __xi_0; // Origin state
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 3.5...3.22)
|
||||||
project(METIS)
|
project(METIS)
|
||||||
|
|
||||||
# Add flags for currect directory and below
|
# Add flags for currect directory and below
|
||||||
|
|
Loading…
Reference in New Issue