mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
two minor bug fixes (#21134)
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user