Linear system output function. More...
#include <output_function_interface.h>
Public Member Functions | |
Ptr | getInstance () const override |
Return a newly created shared instance of the implemented class. More... | |
const Eigen::MatrixXd & | getLinearMatrixC () const |
Get linear system matrix [SystemDynamicsInterface::getStateDimension() x getOutputDimension()]. More... | |
int | getOutputDimension () const override |
Get dimension of the system output y. More... | |
void | output (const StateVector &x, OutputVector &y) override |
Evaluate the system output equation. More... | |
void | setLinearMatrixC (const Eigen::Ref< const Eigen::MatrixXd > &matric_c) |
Set linear system matrix [SystemDynamicsInterface::getStateDimension() x getOutputDimension()]. More... | |
![]() | |
virtual void | reset () |
virtual | ~SystemOutputInterface ()=default |
Default destructor. More... | |
Private Attributes | |
Eigen::MatrixXd | _mat_c |
Additional Inherited Members | |
![]() | |
using | OutputVector = Eigen::VectorXd |
using | Ptr = std::shared_ptr< SystemOutputInterface > |
using | StateVector = Eigen::VectorXd |
Linear system output function.
This output function is defined as with
as linear ouput matrix [SystemDynamicsInterface::getStateDimension() x getOutputDimension()].
Definition at line 201 of file output_function_interface.h.
|
inlineoverridevirtual |
Return a newly created shared instance of the implemented class.
Implements corbo::SystemOutputInterface.
Definition at line 205 of file output_function_interface.h.
|
inline |
Get linear system matrix [SystemDynamicsInterface::getStateDimension() x getOutputDimension()].
Definition at line 216 of file output_function_interface.h.
|
inlineoverridevirtual |
Get dimension of the system output y.
Implements corbo::SystemOutputInterface.
Definition at line 207 of file output_function_interface.h.
|
inlineoverridevirtual |
Evaluate the system output equation.
This method defines the mapping with
as the dimension of the state vector x and
the dimension of the system output y.
[in] | x | State vector [SystemDynamicsInterface::getStateDimension x 1] |
[out] | y | Output vector [getOutputDimension() x 1] |
Implements corbo::SystemOutputInterface.
Definition at line 209 of file output_function_interface.h.
|
inline |
Set linear system matrix [SystemDynamicsInterface::getStateDimension() x getOutputDimension()].
Definition at line 218 of file output_function_interface.h.
|
private |
Definition at line 221 of file output_function_interface.h.