Browse Source

increase print frequency

drive-to-target
Alex Mikhalev 6 years ago
parent
commit
0434a658d7
  1. 2
      main/ugv_main.cc

2
main/ugv_main.cc

@ -75,7 +75,7 @@ struct State { @@ -75,7 +75,7 @@ struct State {
&m = inputs.mpu.mag;
ahrs_.update(g.x, g.y, g.z, a.x, a.y, a.z, m.x, m.y, m.z);
}
if (time_us >= last_print + 500 * 1000) { // 1s
if (time_us >= last_print + 50 * 1000) { // 1s
ESP_LOGD(TAG,
"inputs: acc=(%f, %f, %f) gyro=(%f, %f, %f) mag=(%f, %f, %f)",
inputs.mpu.accel.x, inputs.mpu.accel.y, inputs.mpu.accel.z,

Loading…
Cancel
Save