WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
Measurements.hpp
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX LLC 2024. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX, LLC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX, LLC.
15******************************************************************************/
16
17#ifndef GNCUTILS_EKF_MEASUREMENTS_HPP
18#define GNCUTILS_EKF_MEASUREMENTS_HPP
19
20#include <array>
21
23#include "types.h"
24
25namespace warpos {
26
40 template <uint32 N, uint32 M, uint32 O>
42 public:
49 virtual int16 calculateMeasurements(floating_point time,
50 const std::array<floating_point, N> &tar_state,
51 const std::array<floating_point, O> &obs_state,
52 floating_point expected_measurement[M]) {
54 }
55
62 virtual int16 calculateMeasurementsMatrix(floating_point time,
63 const std::array<floating_point, N> &tar_state,
64 const std::array<floating_point, O> &obs_state,
65 floating_point measurement_Jacobian[M*N]) {
67 }
68 private:
69
70 };
71
72}
73
74#endif
Definition Measurements.hpp:41
virtual int16 calculateMeasurements(floating_point time, const std::array< floating_point, N > &tar_state, const std::array< floating_point, O > &obs_state, floating_point expected_measurement[M])
Function to calculate a measurement from current state of system.
Definition Measurements.hpp:49
virtual int16 calculateMeasurementsMatrix(floating_point time, const std::array< floating_point, N > &tar_state, const std::array< floating_point, O > &obs_state, floating_point measurement_Jacobian[M *N])
Function to calculate the measurement function Jacobian from current state of system.
Definition Measurements.hpp:62
#define ERROR_NOT_OVERRIDDEN
Error when a virtual function is not called but not overwridden and should result in fault worthy beh...
Definition clockwerkerrors.h:175
Definition DeadReckon.cpp:20