Skip to content

Commit

Permalink
added behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
MoreTore committed Nov 10, 2023
1 parent 208d480 commit 7ec6993
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 @@ -2173,6 +2173,11 @@ struct EncodeData {
struct UserFlag {
}

struct Behavior {
comfortBrake @0 :Float32;
accelerationTarget @1 :Float32;
}

struct Microphone {
soundPressure @0 :Float32;

Expand Down Expand Up @@ -2270,6 +2275,7 @@ struct Event {
# UI services
userFlag @93 :UserFlag;
uiDebug @102 :UIDebug;
behavior @107 :Behavior;

# *********** 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 @@ -81,6 +81,7 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op
"qRoadEncodeIdx": (False, 20.),
"userFlag": (True, 0., 1),
"microphone": (True, 10., 10),
"behavior": (True, 0.),

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

0 comments on commit 7ec6993

Please sign in to comment.