|
|
@ -160,9 +160,6 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
Plane(void); |
|
|
|
Plane(void); |
|
|
|
|
|
|
|
|
|
|
|
// HAL::Callbacks implementation.
|
|
|
|
|
|
|
|
void loop() override; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
|
|
|
|
|
|
|
|
// key aircraft parameters passed to multiple libraries
|
|
|
|
// key aircraft parameters passed to multiple libraries
|
|
|
@ -172,9 +169,6 @@ private: |
|
|
|
Parameters g; |
|
|
|
Parameters g; |
|
|
|
ParametersG2 g2; |
|
|
|
ParametersG2 g2; |
|
|
|
|
|
|
|
|
|
|
|
// main loop scheduler
|
|
|
|
|
|
|
|
AP_Scheduler scheduler; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// mapping between input channels
|
|
|
|
// mapping between input channels
|
|
|
|
RCMapper rcmap; |
|
|
|
RCMapper rcmap; |
|
|
|
|
|
|
|
|
|
|
@ -726,11 +720,6 @@ private: |
|
|
|
|
|
|
|
|
|
|
|
float relative_altitude; |
|
|
|
float relative_altitude; |
|
|
|
|
|
|
|
|
|
|
|
// INS variables
|
|
|
|
|
|
|
|
// The main loop execution time. Seconds
|
|
|
|
|
|
|
|
// This is the time between calls to the DCM algorithm and is the Integration time for the gyros.
|
|
|
|
|
|
|
|
float G_Dt = 0.02f; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// loop performance monitoring:
|
|
|
|
// loop performance monitoring:
|
|
|
|
AP::PerfInfo perf_info; |
|
|
|
AP::PerfInfo perf_info; |
|
|
|
struct { |
|
|
|
struct { |
|
|
|