diff options
-rwxr-xr-x | dpd/main.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dpd/main.py b/dpd/main.py index 1d525af..d7e2706 100755 --- a/dpd/main.py +++ b/dpd/main.py @@ -52,9 +52,10 @@ adapt = Adapt.Adapt(port_rc, coef_path) coefs = adapt.get_coefs() model = Model.Model(coefs) -txframe_aligned, rxframe_aligned = meas.get_samples() -coefs = model.get_next_coefs(txframe_aligned, rxframe_aligned) -adapt.set_coefs(coefs) +for i in range(10): + txframe_aligned, _, rxframe_aligned, _ = meas.get_samples() + coefs = model.get_next_coefs(txframe_aligned, rxframe_aligned) + adapt.set_coefs(coefs) # The MIT License (MIT) # |