EKF: down-sample drag specific force data

This commit is contained in:
Paul Riseborough
2017-04-16 13:07:12 +02:00
committed by Lorenz Meier
parent 9f48c0505b
commit 3758c5a09d
5 changed files with 60 additions and 10 deletions
+5
View File
@@ -140,6 +140,11 @@ struct extVisionSample {
uint64_t time_us; // timestamp of the measurement in microseconds
};
struct dragSample {
Vector2f accelXY; // measured specific force along the X and Y body axes (m/s**2)
uint64_t time_us; // timestamp in microseconds of the measurement
};
// Integer definitions for vdist_sensor_type
#define VDIST_SENSOR_BARO 0 // Use baro height
#define VDIST_SENSOR_GPS 1 // Use GPS height