3#include <dynamical_systems/IDynamicalSystem.hpp>
5#include "py_parameter_map.h"
9 :
public IDynamicalSystem<S>,
public PyParameterMap,
public std::enable_shared_from_this<PyDynamicalSystem<S>> {
11 using IDynamicalSystem<S>::IDynamicalSystem;
13 [[nodiscard]]
bool is_compatible(
const S& state)
const override {
14 PYBIND11_OVERRIDE(
bool, IDynamicalSystem<S>, is_compatible, state);
17 void set_base_frame(
const S& base_frame)
override {
18 PYBIND11_OVERRIDE(
void, IDynamicalSystem<S>, set_base_frame, base_frame);
22 [[nodiscard]] S compute_dynamics(
const S& state)
const override {
23 PYBIND11_OVERRIDE_PURE(S, IDynamicalSystem<S>, compute_dynamics, state);