Skip to content

Commit

Permalink
LateralParams
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan committed Jan 18, 2020
1 parent 0c45f20 commit c38fb57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ struct CarParams {
tireStiffnessRear @24 :Float32; # [N/rad] rear tire coeff of stiff

longitudinalTuning @25 :LongitudinalPIDTuning;
lateralParams @48 :LateralParams;
lateralTuning :union {
pid @26 :LateralPIDTuning;
indi @27 :LateralINDITuning;
Expand Down Expand Up @@ -373,6 +374,11 @@ struct CarParams {
radarTimeStep @45: Float32 = 0.05; # time delta between radar updates, 20Hz is very standard
communityFeature @46: Bool; # true if a community maintained feature is detected

struct LateralParams {
torqueBP @0 :List(Int32);
torqueV @1 :List(Int32);
}

struct LateralPIDTuning {
kpBP @0 :List(Float32);
kpV @1 :List(Float32);
Expand Down

0 comments on commit c38fb57

Please sign in to comment.