WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
Rates.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 RATES_HPP
18#define RATES_HPP
19
20#include <array>
21
23#include "types.h"
24
25namespace warpos {
26
27 template <uint32 N>
28 class Rates {
29 public:
34 virtual int16 calculateRates(floating_point time,
35 const std::array<floating_point, N> &state,
36 std::array<floating_point, N> &out_rates) {
37 return NO_ERROR;
38 }
39 };
40
41}
42
43#endif
Definition Rates.hpp:28
virtual int16 calculateRates(floating_point time, const std::array< floating_point, N > &state, std::array< floating_point, N > &out_rates)
Function to calculate rates from current state of system.
Definition Rates.hpp:34
#define NO_ERROR
Error code in the case where matrix math executed successfully.
Definition clockwerkerrors.h:34
Definition DeadReckon.cpp:20