From 0434a658d79f09fdd86198a8c2c128c3e75442dc Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Wed, 10 Apr 2019 20:50:50 -0700 Subject: [PATCH] increase print frequency --- main/ugv_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ugv_main.cc b/main/ugv_main.cc index 47ac6d9..f775db5 100644 --- a/main/ugv_main.cc +++ b/main/ugv_main.cc @@ -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,