1#include "dynamical_systems_bindings.h"
3#include <dynamical_systems/DynamicalSystemFactory.hpp>
4#include <dynamical_systems/IDynamicalSystem.hpp>
5#include <state_representation/space/joint/JointState.hpp>
7#include "py_dynamical_system.h"
10using namespace py_parameter;
12void joint(py::module_& m) {
13 py::object parameter_map = py::module_::import(
"state_representation").attr(
"ParameterMap");
14 py::class_<IDynamicalSystem<JointState>, std::shared_ptr<IDynamicalSystem<JointState>>,
PyDynamicalSystem<JointState>> c(m,
"IJointDS", parameter_map);
22void bind_joint_ds(py::module_& m) {
25 m.def(
"create_joint_ds", [](
DYNAMICAL_SYSTEM_TYPE type,
const std::list<ParameterContainer>& parameters) -> py::object {
27 },
"Create a dynamical system of the desired type with initial parameters.",
"type"_a,
"parameters"_a);
32 },
"Create a dynamical system of the desired type.",
"type"_a);
static std::shared_ptr< IDynamicalSystem< S > > create_dynamical_system(DYNAMICAL_SYSTEM_TYPE type)
Create a dynamical system of the desired type.
Abstract class for a dynamical system.
DYNAMICAL_SYSTEM_TYPE
Enumeration of the implemented dynamical systems.
Core state variables and objects.