Control Libraries 6.3.4
|
Represent a Circular dynamical system to move around an center. More...
#include <Circular.hpp>
Public Member Functions | |
Circular () | |
Empty constructor. More... | |
Circular (const std::list< std::shared_ptr< state_representation::ParameterInterface > > ¶meters) | |
Constructor from an initial parameter list. More... | |
void | set_base_frame (const state_representation::CartesianState &base_frame) override |
Set a parameter. More... | |
state_representation::CartesianState | compute_dynamics (const state_representation::CartesianState &state) const override |
Compute the dynamics of the input state. Internal function, to be redefined based on the type of dynamical system, called by the evaluate function. More... | |
![]() | |
IDynamicalSystem ()=default | |
Empty constructor. | |
virtual bool | is_compatible (const state_representation::CartesianState &state) const |
Check compatibility between a state and the dynamical system. More... | |
state_representation::CartesianState | evaluate (const state_representation::CartesianState &state) const |
Evaluate the value of the dynamical system at a given state. More... | |
state_representation::CartesianState | get_base_frame () const |
Return the base frame of the dynamical system. More... | |
virtual void | set_base_frame (const state_representation::CartesianState &base_frame) |
Set the base frame of the dynamical system. More... | |
![]() | |
ParameterMap ()=default | |
Empty constructor. | |
ParameterMap (const ParameterInterfaceList ¶meters) | |
Construct the parameter map with an initial list of parameters. More... | |
ParameterMap (const ParameterInterfaceMap ¶meters) | |
Construct the parameter map with an initial map of parameters. More... | |
std::shared_ptr< ParameterInterface > | get_parameter (const std::string &name) const |
Get a parameter by its name. More... | |
ParameterInterfaceMap | get_parameters () const |
Get a map of all the <name, parameter> pairs. More... | |
template<typename T > | |
T | get_parameter_value (const std::string &name) const |
Get a parameter value by its name. More... | |
ParameterInterfaceList | get_parameter_list () const |
Get a list of all the parameters. More... | |
void | set_parameter (const std::shared_ptr< ParameterInterface > ¶meter) |
Set a parameter. More... | |
void | set_parameters (const ParameterInterfaceList ¶meters) |
Set parameters from a list of parameters. More... | |
void | set_parameters (const ParameterInterfaceMap ¶meters) |
Set parameters from a map with <name, parameter> pairs. More... | |
template<typename T > | |
void | set_parameter_value (const std::string &name, const T &value) |
Set a parameter value by its name. More... | |
void | remove_parameter (const std::string &name) |
Remove a parameter from the parameter map. More... | |
Additional Inherited Members | |
virtual state_representation::CartesianState | compute_dynamics (const state_representation::CartesianState &state) const=0 |
Compute the dynamics of the input state. Internal function, to be redefined based on the type of dynamical system, called by the evaluate function. More... | |
![]() | |
virtual void | validate_and_set_parameter (const std::shared_ptr< ParameterInterface > ¶meter) |
Validate and set a parameter in the map. More... | |
void | assert_parameter_valid (const std::shared_ptr< ParameterInterface > ¶meter) |
Check if a parameter has the expected type, throw an exception otherwise. More... | |
![]() | |
ParameterInterfaceMap | parameters_ |
map of parameters by name More... | |
Represent a Circular dynamical system to move around an center.
Definition at line 13 of file Circular.hpp.
dynamical_systems::Circular::Circular | ( | ) |
Empty constructor.
Definition at line 12 of file Circular.cpp.
|
explicit |
Constructor from an initial parameter list.
parameters | A parameter list containing initial parameters |
Definition at line 24 of file Circular.cpp.
|
overridevirtual |
Compute the dynamics of the input state. Internal function, to be redefined based on the type of dynamical system, called by the evaluate function.
state | The input state |
Implements dynamical_systems::IDynamicalSystem< state_representation::CartesianState >.
Definition at line 85 of file Circular.cpp.
|
override |