mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 08:54:09 +08:00
Initialize rate values
Initialize rate values (else invalid rates wil be displayed during the first measurement interval).
This commit is contained in:
parent
018eeeecad
commit
3538773b99
@ -62,8 +62,8 @@ protected:
|
||||
uint8_t _rate_count_lat_lon;
|
||||
uint8_t _rate_count_vel;
|
||||
|
||||
float _rate_lat_lon;
|
||||
float _rate_vel;
|
||||
float _rate_lat_lon = 0.0f;
|
||||
float _rate_vel = 0.0f;
|
||||
|
||||
uint64_t _interval_rate_start;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user