save valid_len

old-commit-hash: 4e7fe3a9ec
vw-mqb-aeb
George Hotz 5 years ago
parent bbe43de357
commit 669977eb1f
  1. 2
      cereal
  2. 3
      selfdrive/modeld/models/driving.cc

@ -1 +1 @@
Subproject commit 46728e7e3b47cf73586e33540dc0b65317e308ce
Subproject commit 7dcbf6c41fb30b85dbb597fe771dc9f5e7f29161

@ -200,6 +200,7 @@ void fill_path(cereal::ModelData::PathData::Builder path, const float * data, bo
path.setPoly(poly);
path.setProb(prob);
path.setStd(std);
path.setValidLen(valid_len);
}
void fill_lead(cereal::ModelData::LeadData::Builder lead, const float * data, int mdn_max_idx, int t_offset) {
@ -293,7 +294,7 @@ void model_publish(PubMaster &pm, uint32_t frame_id,
fill_meta(meta, net_outputs.meta);
pm.send("model", msg);
}
}
void posenet_publish(PubMaster &pm, uint32_t frame_id,
const ModelDataRaw &net_outputs, uint64_t timestamp_eof) {

Loading…
Cancel
Save