small bugfix
This commit is contained in:
parent
d2144aab26
commit
75c28cc7e5
@ -154,7 +154,7 @@ def perform_mgm_calibration(pw: PrintWrapper, mgm_tuple: Tuple):
|
|||||||
)
|
)
|
||||||
if len(mgm_tuple) != 3:
|
if len(mgm_tuple) != 3:
|
||||||
pw.dlog(f"MGM tuple has invalid length {len(mgm_tuple)}")
|
pw.dlog(f"MGM tuple has invalid length {len(mgm_tuple)}")
|
||||||
mgm_list = [mgm / 10e6 for mgm in mgm_tuple]
|
mgm_list = [mgm / 1e6 for mgm in mgm_tuple]
|
||||||
command = (
|
command = (
|
||||||
f"magnetometer_field {mgm_list[0]} {mgm_list[1]} {mgm_list[2]}\n".encode()
|
f"magnetometer_field {mgm_list[0]} {mgm_list[1]} {mgm_list[2]}\n".encode()
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user