From 107048c83ec2f488286a1be314e7aece0a20a6b1 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 17 Oct 2022 15:53:57 -0700 Subject: [PATCH] ui debug message (#376) * ui debug message * put in the qlogs --- log.capnp | 7 ++++++- services.py | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/log.capnp b/log.capnp index 279d01059..f3767a455 100644 --- a/log.capnp +++ b/log.capnp @@ -1860,6 +1860,10 @@ struct Sentinel { signal @1 :Int32; } +struct UIDebug { + drawTimeMillis @0 :Float32; +} + struct ManagerState { processes @0 :List(ProcessState); @@ -2013,8 +2017,9 @@ struct Event { navRoute @83 :NavRoute; navThumbnail @84: Thumbnail; - # user flags + # UI services userFlag @93 :UserFlag; + uiDebug @102 :UIDebug; # *********** debug *********** testJoystick @52 :Joystick; diff --git a/services.py b/services.py index 1705085e1..4a2f83dcf 100755 --- a/services.py +++ b/services.py @@ -78,6 +78,7 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op "userFlag": (True, 0., 1), # debug + "uiDebug": (True, 0., 1), "testJoystick": (True, 0.), "roadEncodeData": (False, 20.), "driverEncodeData": (False, 20.),