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 39b841d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -2173,6 +2173,11 @@ struct EncodeData {
struct UserFlag {
}

struct Behavior {
maxDeacceleration @0 :Float32;
accelCruiseMaxFactor @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 All @@ -2287,7 +2293,7 @@ struct Event {
customReservedRawData2 @126 :Data;

# *********** Custom: reserved for forks ***********
customReserved0 @107 :Custom.CustomReserved0;
# customReserved0 @107 :Custom.CustomReserved0;
customReserved1 @108 :Custom.CustomReserved1;
customReserved2 @109 :Custom.CustomReserved2;
customReserved3 @110 :Custom.CustomReserved3;
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 39b841d

Please sign in to comment.