Skip to content

Commit 1d82977

Browse files
fix: use computed PID frequency in pid2.py instead of hardcoded value (fixes #366)
1 parent 0467ce5 commit 1d82977

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)