Skip to content
Snippets Groups Projects
Commit ed261c76 authored by stmoon's avatar stmoon Committed by Lorenz Meier
Browse files

add timestamp for sensor_preflight

parent be52dcf5
No related branches found
No related tags found
No related merge requests found
......@@ -688,6 +688,7 @@ Sensors::run()
* IMU units as a consistency metric and publish to the sensor preflight topic
*/
if (!_armed) {
preflt.timestamp = hrt_absolute_time();
_voted_sensors_update.calc_accel_inconsistency(preflt);
_voted_sensors_update.calc_gyro_inconsistency(preflt);
_voted_sensors_update.calc_mag_inconsistency(preflt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment