sih: avoid static variable + style fixes

This commit is contained in:
Beat Küng
2019-04-12 09:25:07 +02:00
parent 65f623bd73
commit 3135f9f0d2
2 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -146,13 +146,13 @@ private:
px4_sem_t _data_semaphore;
int32_t _counter = 0;
hrt_call _timer_call;
hrt_abstime _last_run;
hrt_abstime _gps_time;
hrt_abstime _serial_time;
hrt_abstime _now;
float _dt; // sampling time [s]
bool _grounded{true};// whether the vehicle is on the ground
matrix::Vector3f _T_B; // thrust force in body frame [N]
matrix::Vector3f _Fa_I; // aerodynamic force in inertial frame [N]