Skip to content

Commit 65ea7b8

Browse files
committed
autotune: remove feedforward in open loop model
1 parent aa90a9c commit 65ea7b8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

autotune/autotune.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,13 +738,17 @@ def updateClosedLoop(self):
738738

739739
self.plotClosedLoop(t_out, y_out)
740740

741+
# Remove feedback
741742
sum_feedback = ctrl.summing_junction(inputs=["rd"], output="e")
743+
744+
# Remove feedforward
745+
sum_control = ctrl.summing_junction(inputs=["pid_out"], output="control_out")
746+
742747
open_loop = ctrl.interconnect(
743748
[
744749
delays,
745750
sampler,
746751
sum_feedback,
747-
feedforward,
748752
sum_control,
749753
p_control,
750754
i_control,

0 commit comments

Comments
 (0)