33 #ifndef STATE_FEEDBACK_HPP 34 #define STATE_FEEDBACK_HPP 50 template <
typename InputObsStateType,
typename InputDesStateType,
typename OutputStateType,
typename ParamType>
82 virtual std::shared_ptr<OutputStateType>&
compute(std::shared_ptr<InputObsStateType>& _xObs,
83 std::shared_ptr<InputDesStateType>& _xDes,
const double& _t) = 0;
92 std::shared_ptr<OutputStateType>&
output()
111 #endif // STATE_FEEDBACK_HPP std::shared_ptr< ParamType > & params()
Access to the last parameters object pointer.
StateFeedback & operator=(const StateFeedback &)=default
std::shared_ptr< OutputStateType > output_
Last computet output state.
virtual std::shared_ptr< OutputStateType > & compute(std::shared_ptr< InputObsStateType > &_xObs, std::shared_ptr< InputDesStateType > &_xDes, const double &_t)=0
Computes the output state at the specified time instant given the observed state and the desired stat...
virtual ~StateFeedback()=default
Interface for a filter that outputs a desired state given an observed state and a desired state...
StateFeedback(std::shared_ptr< ParamType > _params)
std::shared_ptr< OutputStateType > & output()
Access to the last computed output state.
std::shared_ptr< ParamType > params_
Pointer to the class parameters object.
virtual void reloadParam()=0
Reloads class parameters. To be called when parameters that influence the class variables are changed...