|
|
|
@ -130,9 +130,6 @@ public:
@@ -130,9 +130,6 @@ public:
|
|
|
|
|
|
|
|
|
|
Sub(void); |
|
|
|
|
|
|
|
|
|
// HAL::Callbacks implementation.
|
|
|
|
|
void loop() override; |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
|
|
|
|
|
// key aircraft parameters passed to multiple libraries
|
|
|
|
@ -142,9 +139,6 @@ private:
@@ -142,9 +139,6 @@ private:
|
|
|
|
|
Parameters g; |
|
|
|
|
ParametersG2 g2; |
|
|
|
|
|
|
|
|
|
// main loop scheduler
|
|
|
|
|
AP_Scheduler scheduler{FUNCTOR_BIND_MEMBER(&Sub::fast_loop, void)}; |
|
|
|
|
|
|
|
|
|
// primary input control channels
|
|
|
|
|
RC_Channel *channel_roll; |
|
|
|
|
RC_Channel *channel_pitch; |
|
|
|
@ -343,11 +337,6 @@ private:
@@ -343,11 +337,6 @@ private:
|
|
|
|
|
int32_t condition_value; // used in condition commands (eg delay, change alt, etc.)
|
|
|
|
|
uint32_t condition_start; |
|
|
|
|
|
|
|
|
|
// IMU variables
|
|
|
|
|
// Integration time (in seconds) for the gyros (DCM algorithm)
|
|
|
|
|
// Updated with the fast loop
|
|
|
|
|
float G_Dt; |
|
|
|
|
|
|
|
|
|
// Inertial Navigation
|
|
|
|
|
AP_InertialNav_NavEKF inertial_nav; |
|
|
|
|
|
|
|
|
@ -412,7 +401,7 @@ private:
@@ -412,7 +401,7 @@ private:
|
|
|
|
|
static const AP_Param::Info var_info[]; |
|
|
|
|
static const struct LogStructure log_structure[]; |
|
|
|
|
|
|
|
|
|
void fast_loop(); |
|
|
|
|
void fast_loop() override; |
|
|
|
|
void fifty_hz_loop(); |
|
|
|
|
void update_batt_compass(void); |
|
|
|
|
void ten_hz_logging_loop(); |
|
|
|
|