aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/main.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-08-18 16:34:58 +0200
committerandreas128 <Andreas>2017-08-18 16:34:58 +0200
commitb75afc42c95b76a0b789874f853ca8b49a290dd4 (patch)
tree85283c4aa0a67622b741af590360561e1c3a9741 /dpd/main.py
parent695eb1860852f78a1aecdeeef36a9498b4fff4ef (diff)
downloaddabmod-b75afc42c95b76a0b789874f853ca8b49a290dd4.tar.gz
dabmod-b75afc42c95b76a0b789874f853ca8b49a290dd4.tar.bz2
dabmod-b75afc42c95b76a0b789874f853ca8b49a290dd4.zip
Add logging for timestamp
Diffstat (limited to 'dpd/main.py')
-rwxr-xr-xdpd/main.py3
1 files changed, 2 insertions, 1 deletions
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)