Skip to content

Commit fa70c26

Browse files
committed
Update control.py
1 parent 7f42372 commit fa70c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python_vehicle_simulator/lib/control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def DPpolePlacement(
6565
Ki = (1.0 / 10.0) * wn @ Kp
6666

6767
# DP control law - setpoint regulation
68-
e = eta3 - eta_ref
68+
e = eta3 - np.array([x_d, y_d, psi_d])
6969
e[2] = ssa(e[2])
7070
R = Rzyx(0.0, 0.0, eta3[2])
7171
tau = (

0 commit comments

Comments
 (0)