Skip to content

Commit

Permalink
Merge branch 'commaai:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
rav4kumar authored Mar 4, 2024
2 parents 4ad3c20 + c5c2a60 commit 5df924c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
15 changes: 10 additions & 5 deletions car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,12 @@ struct CarControl {
# Actuator commands as computed by controlsd
actuators @6 :Actuators;

# moved to CarOutput
actuatorsOutputDEPRECATED @10 :Actuators;

leftBlinker @15: Bool;
rightBlinker @16: Bool;

# Any car specific rate limits or quirks applied by
# the CarController are reflected in actuatorsOutput
# and matches what is sent to the car
actuatorsOutput @10 :Actuators;

orientationNED @13 :List(Float32);
angularVelocity @14 :List(Float32);

Expand Down Expand Up @@ -418,6 +416,13 @@ struct CarControl {
pitchDEPRECATED @9 :Float32;
}

struct CarOutput {
# Any car specific rate limits or quirks applied by
# the CarController are reflected in actuatorsOutput
# and matches what is sent to the car
actuatorsOutput @0 :CarControl.Actuators;
}

# ****** car param ******

struct CarParams {
Expand Down
1 change: 1 addition & 0 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -2251,6 +2251,7 @@ struct Event {
liveCalibration @19 :LiveCalibrationData;
carState @22 :Car.CarState;
carControl @23 :Car.CarControl;
carOutput @127 :Car.CarOutput;
longitudinalPlan @24 :LongitudinalPlan;
uiPlan @106 :UiPlan;
ubloxGnss @34 :UbloxGnss;
Expand Down
1 change: 1 addition & 0 deletions services.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op
"androidLog": (True, 0.),
"carState": (True, 100., 10),
"carControl": (True, 100., 10),
"carOutput": (True, 100., 10),
"longitudinalPlan": (True, 20., 5),
"procLog": (True, 0.5, 15),
"gpsLocationExternal": (True, 10., 10),
Expand Down

0 comments on commit 5df924c

Please sign in to comment.