Skip to content

Commit

Permalink
ui debug message (commaai#376)
Browse files Browse the repository at this point in the history
* ui debug message

* put in the qlogs
  • Loading branch information
adeebshihadeh authored Oct 17, 2022
1 parent 5766e64 commit 107048c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -1860,6 +1860,10 @@ struct Sentinel {
signal @1 :Int32;
}

struct UIDebug {
drawTimeMillis @0 :Float32;
}

struct ManagerState {
processes @0 :List(ProcessState);

Expand Down Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.),
Expand Down

0 comments on commit 107048c

Please sign in to comment.