Skip to content

Commit

Permalink
update for prius v
Browse files Browse the repository at this point in the history
  • Loading branch information
Edison-CBS committed Aug 27, 2023
1 parent 82bca3a commit c43f62a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ struct CarState {
fuelGauge @41 :Float32; # battery or fuel tank level from 0.0 to 1.0
charging @43 :Bool;

pcmFollowDistance @48 :UInt8; # Toyota PCM Follow Distance

# FrogPilot CarStates
drivingProfilesViaWheelCar @50 :Bool;

# lighting System
lightingSystem @49 :LightingSystem;

struct WheelSpeeds {
# optional wheel speeds
fl @0 :Float32;
Expand Down Expand Up @@ -269,6 +277,13 @@ struct CarState {
}
}

struct LightingSystem {
parkingLightON @0 :Bool;
headlightON @1 :Bool;
meterDimmed @2 :Bool;
meterLowBrightness @3 :Bool;
}

# deprecated
errorsDEPRECATED @0 :List(CarEvent.EventName);
brakeLightsDEPRECATED @19 :Bool;
Expand Down Expand Up @@ -488,6 +503,7 @@ struct CarParams {
radarTimeStep @45: Float32 = 0.05; # time delta between radar updates, 20Hz is very standard
fingerprintSource @49: FingerprintSource;
networkLocation @50 :NetworkLocation; # Where Panda/C2 is integrated into the car's CAN network
smartDsu @73: Bool; # true if sDSU is detected

wheelSpeedFactor @63 :Float32; # Multiplier on wheels speeds to computer actual speeds

Expand Down

0 comments on commit c43f62a

Please sign in to comment.