mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 15:03:33 +08:00
Refactor velocity resets
This commit is contained in:
committed by
Mathieu Bresciani
parent
03191847f9
commit
b40adf3dec
@@ -574,6 +574,14 @@ private:
|
||||
// reset velocity states of the ekf
|
||||
bool resetVelocity();
|
||||
|
||||
void resetVelocityToGps();
|
||||
|
||||
void resetHorizontalVelocityToOpticalFlow();
|
||||
|
||||
void resetVelocityToVision();
|
||||
|
||||
void resetHorizontalVelocityToZero();
|
||||
|
||||
void resetVelocityTo(const Vector3f &vel);
|
||||
|
||||
inline void resetHorizontalVelocityTo(const Vector2f &new_horz_vel);
|
||||
|
||||
Reference in New Issue
Block a user