From b75afc42c95b76a0b789874f853ca8b49a290dd4 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Fri, 18 Aug 2017 16:34:58 +0200 Subject: Add logging for timestamp --- dpd/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dpd') diff --git a/dpd/main.py b/dpd/main.py index d7e2706..e22743b 100755 --- a/dpd/main.py +++ b/dpd/main.py @@ -53,7 +53,8 @@ coefs = adapt.get_coefs() model = Model.Model(coefs) for i in range(10): - txframe_aligned, _, rxframe_aligned, _ = meas.get_samples() + txframe_aligned, tx_ts, rxframe_aligned, rx_ts = meas.get_samples() + logging.debug("tx_ts {}, rx_ts {}".format(tx_ts, rx_ts)) coefs = model.get_next_coefs(txframe_aligned, rxframe_aligned) adapt.set_coefs(coefs) -- cgit v1.2.3