SITL: fixed some build warnings
This commit is contained in:
parent
698312a32c
commit
1f58e0080a
@ -49,7 +49,6 @@ Aircraft::Aircraft(const char *home_str, const char *frame_str) :
|
|||||||
gyro_noise(radians(0.1f)),
|
gyro_noise(radians(0.1f)),
|
||||||
accel_noise(0.3),
|
accel_noise(0.3),
|
||||||
rate_hz(400),
|
rate_hz(400),
|
||||||
last_time_us(0),
|
|
||||||
autotest_dir(NULL),
|
autotest_dir(NULL),
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
min_sleep_time(20000)
|
min_sleep_time(20000)
|
||||||
|
@ -130,8 +130,8 @@ protected:
|
|||||||
double rand_normal(double mean, double stddev);
|
double rand_normal(double mean, double stddev);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint64_t last_time_us;
|
uint64_t last_time_us = 0;
|
||||||
uint32_t frame_counter;
|
uint32_t frame_counter = 0;
|
||||||
const uint32_t min_sleep_time;
|
const uint32_t min_sleep_time;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user