mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 16:55:29 +03:00
Kalman filter for sonar readings. Provides surface rate velocity (currently unused)
This commit is contained in:
parent
fb5c13fefa
commit
0f417d5246
3 changed files with 34 additions and 16 deletions
|
@ -107,6 +107,7 @@ typedef struct {
|
|||
float sinYaw;
|
||||
float cosYaw;
|
||||
float surface;
|
||||
float surfaceVel;
|
||||
} navigationEstimatedState_t;
|
||||
|
||||
typedef struct {
|
||||
|
@ -275,7 +276,7 @@ int16_t leanAngleToRcCommand(int16_t leanAngle);
|
|||
void updateActualHeading(int32_t newHeading);
|
||||
void updateActualHorizontalPositionAndVelocity(bool hasValidSensor, float newX, float newY, float newVelX, float newVelY);
|
||||
void updateActualAltitudeAndClimbRate(bool hasValidSensor, float newAltitude, float newVelocity);
|
||||
void updateActualSurfaceDistance(bool hasValidSensor, float surfaceDistance);
|
||||
void updateActualSurfaceDistance(bool hasValidSensor, float surfaceDistance, float surfaceVelocity);
|
||||
|
||||
/* Autonomous navigation functions */
|
||||
void setupAutonomousControllerRTH(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue