|
|
@ -368,9 +368,10 @@ if __name__ == "__main__": |
|
|
|
# make sure params are in a good state |
|
|
|
# make sure params are in a good state |
|
|
|
set_params_enabled() |
|
|
|
set_params_enabled() |
|
|
|
|
|
|
|
|
|
|
|
params = Params() |
|
|
|
msg = messaging.new_message('liveCalibration') |
|
|
|
params.delete("Offroad_ConnectivityNeeded") |
|
|
|
msg.liveCalibration.validBlocks = 20 |
|
|
|
params.put("CalibrationParams", '{"calib_radians": [0,0,0], "valid_blocks": 20}') |
|
|
|
msg.liveCalibration.rpyCalib = [0.0, 0.0, 0.0] |
|
|
|
|
|
|
|
Params().put("CalibrationParams", msg.to_bytes()) |
|
|
|
|
|
|
|
|
|
|
|
from multiprocessing import Process, Queue |
|
|
|
from multiprocessing import Process, Queue |
|
|
|
q: Any = Queue() |
|
|
|
q: Any = Queue() |
|
|
|