From 2c8240dbb4e2d78fe93bdb0bbfd058d26e2b214d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Jul 2014 08:10:09 +1000 Subject: [PATCH] VibTest: fixed gyro timestamps in logs it was using the accel timestamps --- libraries/AP_InertialSensor/examples/VibTest/VibTest.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde b/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde index d98deb8d241..b0a42656695 100644 --- a/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde +++ b/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde @@ -147,8 +147,8 @@ void loop(void) struct log_GYRO pkt = { LOG_PACKET_HEADER_INIT((uint8_t)(LOG_GYR1_MSG+i)), - timestamp : (uint32_t)(accel_report.timestamp/1000), - timestamp_us : (uint32_t)accel_report.timestamp, + timestamp : (uint32_t)(gyro_report.timestamp/1000), + timestamp_us : (uint32_t)gyro_report.timestamp, GyrX : gyro_report.x, GyrY : gyro_report.y, GyrZ : gyro_report.z