1 | /* |
2 | * RaspberryPrediction_data.c |
3 | * |
4 | * Classroom License -- for classroom instructional use only. Not for |
5 | * government, commercial, academic research, or other organizational use. |
6 | * |
7 | * Code generation for model "RaspberryPrediction". |
8 | * |
9 | * Model version : 1.13 |
10 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
11 | * C source code generated on : Tue Dec 20 13:49:58 2016 |
12 | * |
13 | * Target selection: ert.tlc |
14 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
15 | * Embedded hardware selection: ARM Compatible->ARM Cortex |
16 | * Code generation objectives: Unspecified |
17 | * Validation result: Not run |
18 | */ |
19 | |
20 | #include "RaspberryPrediction.h" |
21 | #include "RaspberryPrediction_private.h" |
22 | |
23 | /* Block parameters (auto storage) */ |
24 | P_RaspberryPrediction_T RaspberryPrediction_P = { |
25 | /* Variable: km4pi |
26 | * Referenced by: '<S4>/Sentinel Calibration matrix' |
27 | */ |
28 | { 0.67375662057511243, 0.0066291335530167111, -0.091723094950921763, |
29 | 0.0024216535349506421, -0.51840549150794368, 0.50934737786271056, |
30 | 0.0013171656385617125, 0.0016154175503415302, 0.09698314702012939 }, |
31 | |
32 | /* Variable: km4piCam |
33 | * Referenced by: '<S1>/Sentinel Calibration matrix1' |
34 | */ |
35 | { 0.0014174653893671066, -5.4436576113462321E-6, -0.74519931274253626, |
36 | 3.5626196289901326E-5, 0.0014043001355219257, -0.65560905448516538, |
37 | 6.600275208316366E-6, 3.1746480591899641E-6, -0.12186373269195942 }, |
38 | |
39 | /* Computed Parameter: Linearmodeloftherollingball2ind |
40 | * Referenced by: '<Root>/Linear model of the rolling ball (2 independent double integrators)' |
41 | */ |
42 | { 1.0, 1.0 }, |
43 | |
44 | /* Computed Parameter: Linearmodeloftherollingball2i_l |
45 | * Referenced by: '<Root>/Linear model of the rolling ball (2 independent double integrators)' |
46 | */ |
47 | { 68.0, 68.0 }, |
48 | |
49 | /* Computed Parameter: Linearmodeloftherollingball2i_h |
50 | * Referenced by: '<Root>/Linear model of the rolling ball (2 independent double integrators)' |
51 | */ |
52 | { 1.0, 1.0 }, |
53 | |
54 | /* Expression: [0,1.5,0,2] |
55 | * Referenced by: '<Root>/Linear model of the rolling ball (2 independent double integrators)' |
56 | */ |
57 | { 0.0, 1.5, 0.0, 2.0 }, |
58 | |
59 | /* Expression: [0.05, -0.05] |
60 | * Referenced by: '<Root>/Reference Force' |
61 | */ |
62 | { 0.05, -0.05 }, |
63 | 0.0, /* Expression: 0.0 |
64 | * Referenced by: '<Root>/Delay' |
65 | */ |
66 | 0.15, /* Expression: 0.15 |
67 | * Referenced by: '<Root>/L' |
68 | */ |
69 | 2U /* Computed Parameter: Delay_DelayLength |
70 | * Referenced by: '<Root>/Delay' |
71 | */ |
72 | }; |
73 | |