mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-10-01 03:53:41 +08:00
dmonitoringmodeld: clean up data structures (#36624)
* update onnx * get meta * start * cast * deprecate notready * more * line too long * 2
This commit is contained in:
@@ -25,7 +25,7 @@ def make_msg(face_detected, distracted=False, model_uncertain=False):
|
||||
ds.leftDriverData.faceOrientationStd = [1.*model_uncertain, 1.*model_uncertain, 1.*model_uncertain]
|
||||
ds.leftDriverData.facePositionStd = [1.*model_uncertain, 1.*model_uncertain]
|
||||
# TODO: test both separately when e2e is used
|
||||
ds.leftDriverData.notReadyProb = [0., 0.]
|
||||
ds.leftDriverData.phoneProb = 0.
|
||||
return ds
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user