reduce log spam (#20330)

* fix big spammers

* my favorite test failure

* remove that one

* went down a bit more
old-commit-hash: 90795fc773
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent aefb482339
commit 3d04c4060b
  1. 3
      selfdrive/camerad/cameras/camera_qcom.cc
  2. 2
      selfdrive/modeld/dmonitoringmodeld.cc
  3. 2
      selfdrive/modeld/modeld.cc
  4. 2
      selfdrive/test/test_onroad.py

@ -834,8 +834,7 @@ void actuator_move(CameraState *s, uint16_t target) {
.curr_lens_pos = s->cur_lens_pos,
.ringing_params = &actuator_ringing_params,
};
int err = ioctl(s->actuator_fd, VIDIOC_MSM_ACTUATOR_CFG, &actuator_cfg_data);
LOG("actuator move focus: %d", err);
ioctl(s->actuator_fd, VIDIOC_MSM_ACTUATOR_CFG, &actuator_cfg_data);
s->cur_step_pos = dest_step_pos;
s->cur_lens_pos = actuator_cfg_data.cfg.move.curr_lens_pos;

@ -30,7 +30,7 @@ void run_model(DMonitoringModelState &model, VisionIpcClient &vipc_client) {
// send dm packet
dmonitoring_publish(pm, extra.frame_id, res, (t2 - t1) / 1000.0, model.output);
LOGD("dmonitoring process: %.2fms, from last %.2fms", t2 - t1, t1 - last);
//printf("dmonitoring process: %.2fms, from last %.2fms\n", t2 - t1, t1 - last);
last = t1;
}
}

@ -122,7 +122,7 @@ void run_model(ModelState &model, VisionIpcClient &vipc_client) {
kj::ArrayPtr<const float>(model.output.data(), model.output.size()));
posenet_publish(pm, extra.frame_id, vipc_dropped_frames, model_buf, extra.timestamp_eof);
LOGD("model process: %.2fms, from last %.2fms, vipc_frame_id %u, frame_id, %u, frame_drop %.3f", mt2 - mt1, mt1 - last, extra.frame_id, frame_id, frame_drop_ratio);
//printf("model process: %.2fms, from last %.2fms, vipc_frame_id %u, frame_id, %u, frame_drop %.3f\n", mt2 - mt1, mt1 - last, extra.frame_id, frame_id, frame_drop_ratio);
last = mt1;
last_vipc_frame_id = extra.frame_id;
}

@ -26,11 +26,11 @@ PROCS = [
("./_modeld", 4.48),
("./boardd", 3.63),
("./_dmonitoringmodeld", 2.67),
("selfdrive.logmessaged", 1.7),
("selfdrive.thermald.thermald", 2.41),
("selfdrive.locationd.calibrationd", 2.0),
("selfdrive.monitoring.dmonitoringd", 1.90),
("./proclogd", 1.54),
("selfdrive.logmessaged", 0.2),
("./clocksd", 0.02),
("./ubloxd", 0.02),
("selfdrive.tombstoned", 0),

Loading…
Cancel
Save