mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 05:31:36 +08:00
EKF hotfix: Remove unused variables, use default initializer list for vectors
This commit is contained in:
@@ -172,8 +172,6 @@ public:
|
|||||||
unsigned covSkipCount; // Number of state prediction frames (IMU daya updates to skip before doing the covariance prediction
|
unsigned covSkipCount; // Number of state prediction frames (IMU daya updates to skip before doing the covariance prediction
|
||||||
|
|
||||||
// GPS input data variables
|
// GPS input data variables
|
||||||
float gpsCourse;
|
|
||||||
float gpsVelD;
|
|
||||||
double gpsLat;
|
double gpsLat;
|
||||||
double gpsLon;
|
double gpsLon;
|
||||||
float gpsHgt;
|
float gpsHgt;
|
||||||
|
|||||||
@@ -19,9 +19,7 @@ public:
|
|||||||
float y;
|
float y;
|
||||||
float z;
|
float z;
|
||||||
|
|
||||||
Vector3f() { zero(); }
|
Vector3f(float a=0.0f, float b=0.0f, float c=0.0f) :
|
||||||
|
|
||||||
Vector3f(float a, float b, float c) :
|
|
||||||
x(a),
|
x(a),
|
||||||
y(b),
|
y(b),
|
||||||
z(c)
|
z(c)
|
||||||
|
|||||||
Reference in New Issue
Block a user