two minor bug fixes (#21134)
parent
3a2893f11a
commit
5c450026ef
|
@ -2,7 +2,7 @@
|
|||
import cereal.messaging as messaging
|
||||
|
||||
if __name__ == "__main__":
|
||||
modeld_sock = messaging.sub_sock("model")
|
||||
modeld_sock = messaging.sub_sock("modelV2")
|
||||
|
||||
last_frame_id = None
|
||||
start_t = None
|
||||
|
@ -14,7 +14,7 @@ if __name__ == "__main__":
|
|||
if m is None:
|
||||
continue
|
||||
|
||||
frame_id = m.model.frameId
|
||||
frame_id = m.modelV2.frameId
|
||||
t = m.logMonoTime / 1e9
|
||||
frame_cnt += 1
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import os
|
|||
from selfdrive.manager.process import PythonProcess, NativeProcess, DaemonProcess
|
||||
from selfdrive.hardware import EON, TICI, PC
|
||||
|
||||
WEBCAM = os.getenv("WEBCAM") is not None
|
||||
WEBCAM = os.getenv("USE_WEBCAM") is not None
|
||||
|
||||
procs = [
|
||||
DaemonProcess("manage_athenad", "selfdrive.athena.manage_athenad", "AthenadPid"),
|
||||
|
|
Loading…
Reference in New Issue