Skip to content

Commit

Permalink
Add BodyFace
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyshox committed Jul 15, 2023
1 parent a2f1f0c commit ba71dad
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 @@ -23,6 +23,11 @@ enum LongitudinalPersonality {
relaxed @2;
}

enum BodyFace {
sleep @0;
awake @1;
}

struct InitData {
kernelArgs @0 :List(Text);
kernelVersion @15 :Text;
Expand Down Expand Up @@ -2248,6 +2253,7 @@ struct Event {
driverEncodeData @87 :EncodeData;
wideRoadEncodeData @88 :EncodeData;
qRoadEncodeData @89 :EncodeData;
bodyFace @123 :BodyFace;

livestreamRoadEncodeData @120 :EncodeData;
livestreamWideRoadEncodeData @121 :EncodeData;
Expand Down
1 change: 1 addition & 0 deletions services.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op
"qRoadEncodeIdx": (False, 20.),
"userFlag": (True, 0., 1),
"microphone": (True, 10., 10),
"bodyFace": (True, 0., 1.),

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

0 comments on commit ba71dad

Please sign in to comment.