Skip to content

Commit 543d169

Browse files
authored
Merge pull request #417 from GaneshPatil7517/fix/pid2-use-computed-frequency
fix: use computed PID frequency in pid2.py instead of hardcoded value (fixes #366)
2 parents 16e2a50 + 1d82977 commit 543d169

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/pid2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def pid_controller(ym):
4444
if freq<10:
4545
freq = 10
4646
Prev_ErrorF = ErrorF
47-
ustar = np.array([amp,30])
47+
ustar = np.array([amp,freq])
4848
return ustar
4949

5050

0 commit comments

Comments
 (0)