Control Libraries
6.3.4
Loading...
Searching...
No Matches
python
include
py_controller.h
1
#pragma once
2
3
#include <controllers/IController.hpp>
4
5
#include "py_parameter_map.h"
6
7
template
<
class
S>
8
class
PyController
9
:
public
IController<S>,
public
PyParameterMap
,
public
std::enable_shared_from_this<PyController<S>> {
10
public
:
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
};
PyController
Definition:
py_controller.h:9
PyParameterMap
Definition:
py_parameter_map.h:5
Generated by
1.9.5