Control Libraries 7.4.0
Loading...
Searching...
No Matches
py_controller.hpp
1#pragma once
2
3#include <controllers/IController.hpp>
4
5#include "py_parameter_map.hpp"
6
7template<class S>
9 : public IController<S>, public PyParameterMap, public std::enable_shared_from_this<PyController<S>> {
10public:
11 using IController<S>::IController;
12
13 [[nodiscard]] S compute_command(const S& command_state, const S& feedback_state) override {
14 PYBIND11_OVERRIDE_PURE(S, IController<S>, compute_command, command_state, feedback_state);
15 }
16};