mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-23 23:12:07 +08:00
new cereal name
This commit is contained in:
+8
-8
@@ -207,21 +207,21 @@ struct CarControlSP @0xb86e6369214c01c8 {
|
||||
customStockLongitudinalControl @0 :List(CustomStockLongitudinalControl);
|
||||
|
||||
struct CustomStockLongitudinalControl {
|
||||
state @0 :CustomStockLongitudinalControlState;
|
||||
state @0 :ButtonControlState;
|
||||
cruiseButton @1 :Int16;
|
||||
finalSpeedKph @2 :Float32;
|
||||
targetSpeed @3 :Float32;
|
||||
vSetDis @4 :Float32;
|
||||
speedDiff @5 :Float32;
|
||||
buttonType @6 :Int16;
|
||||
}
|
||||
|
||||
enum CustomStockLongitudinalControlState {
|
||||
inactive @0; # No button press or default state
|
||||
resetting @1; # Resetting to default state
|
||||
accelerating @2; # Increasing speed
|
||||
decelerating @3; # Decreasing speed
|
||||
holding @4; # Holding steady speed
|
||||
enum ButtonControlState {
|
||||
inactive @0; # No button press or default state
|
||||
resetting @1; # Resetting to default state
|
||||
accelerating @2; # Increasing speed
|
||||
decelerating @3; # Decreasing speed
|
||||
holding @4; # Holding steady speed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user