mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 07:23:34 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user