EKF: Make position and velocity reset publish success

Some users of the position and velocity reset functions will need to know if the reset has been successful.
This commit is contained in:
Paul Riseborough
2016-03-11 11:03:43 +11:00
parent 48f980b054
commit e0fcce1463
2 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ private:
void fuseVelPosHeight();
// reset velocity states of the ekf
void resetVelocity();
bool resetVelocity();
// fuse optical flow line of sight rate measurements
void fuseOptFlow();
@@ -275,7 +275,7 @@ private:
void calcMagDeclination();
// reset position states of the ekf (only vertical position)
void resetPosition();
bool resetPosition();
// reset height state of the ekf
void resetHeight();