243 lines
4.5 KiB
C++
243 lines
4.5 KiB
C++
#include "control_Velocidad_cal.h"
|
|
#include "control_Velocidad.h"
|
|
|
|
/* Storage class 'PageSwitching' */
|
|
control_Velocidad_cal_type control_Velocidad_cal_impl = {
|
|
/* Mask Parameter: EdgeDetector_model
|
|
* Referenced by: '<S5>/Constant1'
|
|
*/
|
|
2.0,
|
|
|
|
/* Mask Parameter: EdgeDetector_ic
|
|
* Referenced by: '<S5>/Memory'
|
|
*/
|
|
false,
|
|
|
|
/* Expression: -1e6
|
|
* Referenced by: '<S9>/Out1'
|
|
*/
|
|
-1.0E+6,
|
|
|
|
/* Expression: [1 0]
|
|
* Referenced by: '<S5>/pos. edge'
|
|
*/
|
|
{ 1.0, 0.0 },
|
|
|
|
/* Expression: [0 1]
|
|
* Referenced by: '<S5>/neg. edge'
|
|
*/
|
|
{ 0.0, 1.0 },
|
|
|
|
/* Expression: [1 1]
|
|
* Referenced by: '<S5>/either edge'
|
|
*/
|
|
{ 1.0, 1.0 },
|
|
|
|
/* Expression: -1
|
|
* Referenced by: '<S1>/Gain1'
|
|
*/
|
|
-1.0,
|
|
|
|
/* Expression: 1500
|
|
* Referenced by: '<Root>/Constant1'
|
|
*/
|
|
1500.0,
|
|
|
|
/* Expression: 1
|
|
* Referenced by: '<Root>/Saturation'
|
|
*/
|
|
1.0,
|
|
|
|
/* Expression: 0
|
|
* Referenced by: '<Root>/Saturation'
|
|
*/
|
|
0.0,
|
|
|
|
/* Computed Parameter: DiscreteTimeIntegrator_gainval
|
|
* Referenced by: '<S2>/Discrete-Time Integrator'
|
|
*/
|
|
5.0E-5,
|
|
|
|
/* Expression: 0
|
|
* Referenced by: '<S2>/Discrete-Time Integrator'
|
|
*/
|
|
0.0,
|
|
|
|
/* Expression: 2*pi/3
|
|
* Referenced by: '<S2>/Constant1'
|
|
*/
|
|
2.0943951023931953,
|
|
|
|
/* Expression: -2*pi/3
|
|
* Referenced by: '<S2>/Constant2'
|
|
*/
|
|
-2.0943951023931953,
|
|
|
|
/* Expression: sps.Delay
|
|
* Referenced by: '<S11>/Constant3'
|
|
*/
|
|
0.0,
|
|
|
|
/* Expression: sps.Period
|
|
* Referenced by: '<S11>/Constant2'
|
|
*/
|
|
0.0005,
|
|
|
|
/* Expression: sps.Freq
|
|
* Referenced by: '<S11>/1\ib1'
|
|
*/
|
|
2000.0,
|
|
|
|
/* Computed Parameter: Digitaloutput_P1_Size
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 1.0 },
|
|
|
|
/* Expression: id
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
1.0,
|
|
|
|
/* Computed Parameter: Digitaloutput_P2_Size
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 6.0 },
|
|
|
|
/* Expression: chan
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 2.0, 4.0, 5.0, 6.0, 7.0 },
|
|
|
|
/* Computed Parameter: Digitaloutput_P3_Size
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 1.0 },
|
|
|
|
/* Expression: vectorizeInput
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
0.0,
|
|
|
|
/* Computed Parameter: Digitaloutput_P4_Size
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 6.0 },
|
|
|
|
/* Expression: reset
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 },
|
|
|
|
/* Computed Parameter: Digitaloutput_P5_Size
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 6.0 },
|
|
|
|
/* Expression: init
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 },
|
|
|
|
/* Computed Parameter: Digitaloutput_P6_Size
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
{ 1.0, 1.0 },
|
|
|
|
/* Expression: ts
|
|
* Referenced by: '<Root>/Digital output'
|
|
*/
|
|
-1.0,
|
|
|
|
/* Expression: 2*pi
|
|
* Referenced by: '<S2>/Gain'
|
|
*/
|
|
6.2831853071795862,
|
|
|
|
/* Computed Parameter: Digitalinput_P1_Size
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
{ 1.0, 1.0 },
|
|
|
|
/* Expression: id
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
1.0,
|
|
|
|
/* Computed Parameter: Digitalinput_P2_Size
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
{ 1.0, 2.0 },
|
|
|
|
/* Expression: chan
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
{ 8.0, 9.0 },
|
|
|
|
/* Computed Parameter: Digitalinput_P3_Size
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
{ 1.0, 1.0 },
|
|
|
|
/* Expression: vectorizeOutput
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
0.0,
|
|
|
|
/* Computed Parameter: Digitalinput_P4_Size
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
{ 1.0, 1.0 },
|
|
|
|
/* Expression: ts
|
|
* Referenced by: '<Root>/Digital input'
|
|
*/
|
|
5.0E-5,
|
|
|
|
/* Expression: 0
|
|
* Referenced by: '<S1>/Delay3'
|
|
*/
|
|
0.0,
|
|
|
|
/* Expression: 0
|
|
* Referenced by: '<S1>/Delay1'
|
|
*/
|
|
0.0,
|
|
|
|
/* Computed Parameter: FiltroPasaBaja_A
|
|
* Referenced by: '<S1>/Filtro Pasa Baja'
|
|
*/
|
|
-31.415926535897931,
|
|
|
|
/* Computed Parameter: FiltroPasaBaja_C
|
|
* Referenced by: '<S1>/Filtro Pasa Baja'
|
|
*/
|
|
31.415926535897931,
|
|
|
|
/* Expression: 0
|
|
* Referenced by: '<S1>/Delay'
|
|
*/
|
|
0.0,
|
|
|
|
/* Expression: eps
|
|
* Referenced by: '<S6>/Constant'
|
|
*/
|
|
2.2204460492503131E-16,
|
|
|
|
/* Computed Parameter: OUT_Y0
|
|
* Referenced by: '<S7>/OUT'
|
|
*/
|
|
false,
|
|
|
|
/* Computed Parameter: OUT_Y0_p
|
|
* Referenced by: '<S8>/OUT'
|
|
*/
|
|
false,
|
|
|
|
/* Computed Parameter: Delay4_InitialCondition
|
|
* Referenced by: '<S1>/Delay4'
|
|
*/
|
|
false
|
|
};
|
|
|
|
control_Velocidad_cal_type *control_Velocidad_cal = &control_Velocidad_cal_impl;
|