diff --git a/selfdrive/modeld/models/driving.cc b/selfdrive/modeld/models/driving.cc index def5b7e4cb..aea0d43194 100644 --- a/selfdrive/modeld/models/driving.cc +++ b/selfdrive/modeld/models/driving.cc @@ -272,7 +272,8 @@ void fill_model(cereal::ModelDataV2::Builder &framed, const ModelDataRaw &net_ou // plan const float *best_plan = get_plan_data(net_outputs.plan); float plan_t_arr[TRAJECTORY_SIZE]; - int xidx = 0, tidx = 0; + plan_t_arr[0] = 0.0; + int xidx = 1, tidx = 0; for (; xidx