Skip to content

Commit

Permalink
create UserFlag event (commaai#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam authored Aug 23, 2022
1 parent 452a9d8 commit 589ef04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -1868,6 +1868,9 @@ struct EncodeData {
unixTimestampNanos @3 :UInt64;
}

struct UserFlag {
}

struct Event {
logMonoTime @0 :UInt64; # nanoseconds
valid @67 :Bool = true;
Expand Down Expand Up @@ -1935,6 +1938,9 @@ struct Event {
navRoute @83 :NavRoute;
navThumbnail @84: Thumbnail;

# user flags
userFlag @93 :UserFlag;

# *********** debug ***********
testJoystick @52 :Joystick;
roadEncodeData @86 :EncodeData;
Expand Down
1 change: 1 addition & 0 deletions services.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op
"navRoute": (True, 0.),
"navThumbnail": (True, 0.),
"qRoadEncodeIdx": (False, 20.),
"userFlag": (True, 0., 1),

# debug
"testJoystick": (True, 0.),
Expand Down

0 comments on commit 589ef04

Please sign in to comment.