Commit dd11ff71 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Modifies the way gains are auto set

Showing with 1 addition and 0 deletions
+1 -0
...@@ -190,6 +190,7 @@ class OhmPiHardware: ...@@ -190,6 +190,7 @@ class OhmPiHardware:
get_rx_gain.join() get_rx_gain.join()
injection.join() injection.join()
tx_gains.append(self.tx.gain) tx_gains.append(self.tx.gain)
rx_gains.append(self.rx.gain)
# v = self.readings[:, 2] != 0 # v = self.readings[:, 2] != 0
# current = max(current, np.mean(self.readings[v, 3])) # current = max(current, np.mean(self.readings[v, 3]))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment