Skip to content

Commit cd85c03

Browse files
committed
defined constructor
1 parent 39b04ff commit cd85c03

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/control/lqr/lqr_controller.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,16 @@
1616

1717
#import component modules
1818
from trapezoidal_speed_profile import TrapezoidalSpeedProfile
19+
20+
21+
class LqrController:
22+
"""
23+
Controller class by LQR(Linear Quadratic Regulator) algorithm
24+
"""
25+
26+
def __init__(self, spec, course=None):
27+
"""
28+
Constructor
29+
course: Course data and logic object
30+
"""
31+
pass

0 commit comments

Comments
 (0)