From 7b92b7267c054baedc8aeb503823222203ccccfd Mon Sep 17 00:00:00 2001 From: "luca.conterio" <luca.conterio@skywarder.eu> Date: Fri, 22 Oct 2021 00:25:00 +0200 Subject: [PATCH] [NAS] Removed unused extended kalman config" --- .../ExtendedKalmanConfig.h | 53 ------------------- 1 file changed, 53 deletions(-) delete mode 100644 src/boards/DeathStack/NavigationAttitudeSystem/ExtendedKalmanConfig.h diff --git a/src/boards/DeathStack/NavigationAttitudeSystem/ExtendedKalmanConfig.h b/src/boards/DeathStack/NavigationAttitudeSystem/ExtendedKalmanConfig.h deleted file mode 100644 index bfdf5e92..00000000 --- a/src/boards/DeathStack/NavigationAttitudeSystem/ExtendedKalmanConfig.h +++ /dev/null @@ -1,53 +0,0 @@ -/* Copyright (c) 2020 Skyward Experimental Rocketry - * Authors: Alessandro Del Duca, Luca Conterio - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#pragma once - -#include <Eigen/Dense> - -namespace DeathStackBoard -{ - -using namespace Eigen; - -// function with 2 vectors as parameters -typedef std::function<MatrixXf(VectorXf, VectorXf)> function_2v; -// function with 1 vector as parameter -typedef std::function<MatrixXf(VectorXf)> function_v; - -struct ExtendedKalmanConfig -{ - uint8_t n; - uint8_t m; - uint8_t p; - - Matrix<float, 12, 12> P; - Matrix<float, 6, 6> Q; - Vector<float, 13> x; - - function_v h; - - function_2v dfdx; - function_v dhdx; -}; - -} // namespace DeathStackBoard \ No newline at end of file -- GitLab