Skip to content

Commit

Permalink
NLP driving - new model outputs (#550)
Browse files Browse the repository at this point in the history
add lat planner solution to modelv2 struct
  • Loading branch information
YassineYousfi authored Nov 2, 2023
1 parent 1b43e69 commit 416c3d5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,8 @@ struct ModelDataV2 {
navEnabled @22 :Bool;
locationMonoTime @24 :UInt64;

# e2e lateral planner
lateralPlannerSolution @25: LateralPlannerSolution;

struct LeadDataV2 {
prob @0 :Float32; # probability that car is your lead at time t
Expand Down Expand Up @@ -940,6 +942,18 @@ struct ModelDataV2 {
transStd @2 :List(Float32); # std m/s in device frame
rotStd @3 :List(Float32); # std rad/s in device frame
}

struct LateralPlannerSolution {
x @0 :List(Float32);
y @1 :List(Float32);
yaw @2 :List(Float32);
yawRate @3 :List(Float32);
xStd @4 :List(Float32);
yStd @5 :List(Float32);
yawStd @6 :List(Float32);
yawRateStd @7 :List(Float32);
}

}

struct EncodeIndex {
Expand Down

0 comments on commit 416c3d5

Please sign in to comment.