mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 14:03:34 +08:00
GPS delay compensation for LPE.
This commit is contained in:
@@ -41,6 +41,8 @@ using namespace Eigen;
|
||||
|
||||
using namespace control;
|
||||
|
||||
static const size_t GPS_HIST_LEN = 2; // delay, at 10 hz, (200 ms)
|
||||
|
||||
enum fault_t {
|
||||
FAULT_NONE = 0,
|
||||
FAULT_MINOR,
|
||||
@@ -254,6 +256,9 @@ private:
|
||||
BlockStats<float, 3> _mocapStats;
|
||||
BlockStats<double, 3> _gpsStats;
|
||||
|
||||
// delay blocks
|
||||
BlockDelay<double, n_y_gps, GPS_HIST_LEN> _gpsDelay;
|
||||
|
||||
// misc
|
||||
struct pollfd _polls[3];
|
||||
uint64_t _timeStamp;
|
||||
|
||||
Reference in New Issue
Block a user