73 lines
1.5 KiB
C++
73 lines
1.5 KiB
C++
//
|
|
// Academic License - for use in teaching, academic research, and meeting
|
|
// course requirements at degree granting institutions only. Not for
|
|
// government, commercial, or other organizational use.
|
|
//
|
|
// File: Controler_data.cpp
|
|
//
|
|
// Code generated for Simulink model 'Controler'.
|
|
//
|
|
// Model version : 5.56
|
|
// Simulink Coder version : 24.2 (R2024b) 21-Jun-2024
|
|
// C/C++ source code generated on : Wed Jun 18 22:52:45 2025
|
|
//
|
|
// Target selection: ert.tlc
|
|
// Embedded hardware selection: Intel->x86-64 (Linux 64)
|
|
// Code generation objectives:
|
|
// 1. Execution efficiency
|
|
// 2. RAM efficiency
|
|
// Validation result: Not run
|
|
//
|
|
#include "Controler.h"
|
|
|
|
// Block parameters (default storage)
|
|
Controler::P Controler::rtP{
|
|
// Variable: pid_depth
|
|
// Referenced by:
|
|
// '<S89>/Derivative Gain'
|
|
// '<S93>/Integral Gain'
|
|
// '<S99>/Filter Coefficient'
|
|
// '<S101>/Proportional Gain'
|
|
|
|
{
|
|
2.0,
|
|
0.0,
|
|
0.0,
|
|
10.0
|
|
},
|
|
|
|
// Variable: pid_heading
|
|
// Referenced by:
|
|
// '<S35>/Derivative Gain'
|
|
// '<S39>/Integral Gain'
|
|
// '<S45>/Filter Coefficient'
|
|
// '<S47>/Proportional Gain'
|
|
|
|
{
|
|
1,
|
|
0.1,
|
|
0.01,
|
|
10.0
|
|
},
|
|
|
|
// Variable: pid_pitch
|
|
// Referenced by:
|
|
// '<S143>/Derivative Gain'
|
|
// '<S147>/Integral Gain'
|
|
// '<S153>/Filter Coefficient'
|
|
// '<S155>/Proportional Gain'
|
|
|
|
{
|
|
0.5,
|
|
0.0,
|
|
0.1,
|
|
10.0
|
|
}
|
|
};
|
|
|
|
//
|
|
// File trailer for generated code.
|
|
//
|
|
// [EOF]
|
|
//
|