- 3.0.2 optimal control module.
MeasurementModelBase.h
Go to the documentation of this file.
1
/**********************************************************************************************************************
2
This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
3
Licensed under the BSD-2 license (see LICENSE file in main directory)
4
**********************************************************************************************************************/
5
6
#pragma once
7
8
namespace
ct
{
9
namespace
optcon {
10
11
template
<
size_t
OUTPUT_DIM,
size_t
STATE_DIM,
typename
SCALAR =
double
>
12
class
MeasurementModelBase
13
{
14
public
:
15
using
state_vector_t
=
ct::core::StateVector<STATE_DIM, SCALAR>
;
16
using
output_vector_t
=
ct::core::OutputVector<OUTPUT_DIM, SCALAR>
;
17
using
Time_t
=
ct::core::Time
;
18
19
virtual
~MeasurementModelBase
() {}
20
virtual
ct::core::OutputVector<OUTPUT_DIM, SCALAR>
computeMeasurement
(
21
const
ct::core::StateVector<STATE_DIM, SCALAR>
& state,
22
const
ct::core::Time
&
t
= 0) = 0;
23
};
24
25
}
// optcon
26
}
// ct
t
clear all close all load ct GNMSLog0 mat reformat t
Definition:
gnmsPlot.m:6
ct::optcon::MeasurementModelBase::~MeasurementModelBase
virtual ~MeasurementModelBase()
Definition:
MeasurementModelBase.h:19
ct::optcon::MeasurementModelBase::Time_t
ct::core::Time Time_t
Definition:
MeasurementModelBase.h:17
ct::core::StateVector
ct::optcon::MeasurementModelBase
Definition:
MeasurementModelBase.h:12
ct::optcon::MeasurementModelBase::computeMeasurement
virtual ct::core::OutputVector< OUTPUT_DIM, SCALAR > computeMeasurement(const ct::core::StateVector< STATE_DIM, SCALAR > &state, const ct::core::Time &t=0)=0
ct::core::OutputVector
ct
ct::core::Time
double Time
include
ct
optcon
filter
MeasurementModelBase.h
Generated on Wed Feb 19 2020 15:14:33 by
1.8.13