Skip to content
Snippets Groups Projects
Commit 68b58a79 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Only plot available DUs

parent 45b972f5
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class CalibrateAHRS(kp.Module):
self.plots_path = self.require('plots_path')
det_id = self.require('det_id')
self.detector = kp.hardware.Detector(det_id=det_id)
self.dus = self.detector.dus
self.dus = set()
self.clbmap = kp.db.CLBMap(det_oid=det_id)
......@@ -82,6 +82,7 @@ class CalibrateAHRS(kp.Module):
return blob
du = clb.du
self.dus.add(du)
cyaw, cpitch, croll = fit_ahrs(tmch_data.A, tmch_data.H, *calib)
self.cuckoo_log("DU{}-DOM{} (random pick): calibrated yaw={}".format(
clb.du, clb.floor, cyaw))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment