From cd85c0376d5cc47727bbe221951f4509fc59ba29 Mon Sep 17 00:00:00 2001 From: ShisatoYano Date: Mon, 13 Jan 2025 15:03:42 +0000 Subject: [PATCH] defined constructor --- src/components/control/lqr/lqr_controller.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/components/control/lqr/lqr_controller.py b/src/components/control/lqr/lqr_controller.py index 57c55d4..3e24ee5 100644 --- a/src/components/control/lqr/lqr_controller.py +++ b/src/components/control/lqr/lqr_controller.py @@ -16,3 +16,16 @@ #import component modules from trapezoidal_speed_profile import TrapezoidalSpeedProfile + + +class LqrController: + """ + Controller class by LQR(Linear Quadratic Regulator) algorithm + """ + + def __init__(self, spec, course=None): + """ + Constructor + course: Course data and logic object + """ + pass