mount-ctrl_sampling1000-damping002 0.1.0

Giant Magellan Telescope mount control system (1kHz sampling,2% damping)
Documentation
/*
 * File: Mount_Control_data.c
 *
 * Code generated for Simulink model 'Mount_Control'.
 *
 * Model version                  : 1.1309
 * Simulink Coder version         : 9.0 (R2018b) 24-May-2018
 * C/C++ source code generated on : Tue Jun 28 10:08:14 2022
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Linux 64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "Mount_Control.h"
#include "Mount_Control_private.h"

/* Constant parameters (default storage) */
const ConstP_Mount_Control_T Mount_Control_ConstP = {
  /* Computed Parameter: AZFBcontroller_A
   * Referenced by: '<S1>/AZ FB controller'
   */
  { 1.0, 0.75602392013947928, 0.43955373523962132, 0.017920316613354591,
    -0.11138519247537966, 0.029539899928703588, 0.015227095039321228,
    -0.051124819592426492, -0.0076094780680470119, -0.013818005812905848,
    -0.0032761683086521649, -0.010090289753153431, 0.0024385752382057634,
    -0.0075018198900060895, -0.012869472461144386, -0.439553735239626,
    0.16389329451577495, 0.047694557862859879, -0.23096931044713423,
    0.0574846667780997, 0.018893911209127926, -0.0911850178162206,
    -0.011872173575249858, -0.023962304621668588, -0.005231834116012469,
    -0.017505450258856779, 0.0035816524894373191, -0.013084622067075256,
    -0.020449408212435325, 0.017920316613344336, -0.047694557862850012,
    0.98440590695437757, 0.16620681102273271, -0.0036651310457062581,
    0.0049562986650881031, 0.00018744788269185863, -0.00069435435871707319,
    -0.00034936283125397319, -0.00024858884286228593, -0.00031581336042609074,
    0.00018850627033213432, -0.00025827276991288126, -0.00086156026969100308,
    0.11138519247537891, -0.23096931044713556, -0.16620681102272591,
    0.86941404961856, 0.034741734402789465, 0.056527585375154538,
    -0.054933598975649769, -0.011535187452586195, -0.015856180192013642,
    -0.0046025670334209449, -0.011883017885871004, 0.0032631903937322313,
    -0.0089993181435859271, -0.017084394418930979, -0.029539899928702994,
    0.05748466677810056, 0.0036651310457043802, 0.034741734402788271,
    0.97638108744243723, -0.17736667448020271, 0.013323400570635642,
    0.0041545281178087872, 0.0042851338094003393, 0.0015419062232262832,
    0.0032926105768715133, -0.0010938534642648446, 0.00252801302353055,
    0.005486079326605612, 0.015227095039319053, -0.018893911209129404,
    0.0049562986650922647, -0.056527585375153587, 0.17736667448020266,
    0.97916540738515556, 0.026465518277206751, 0.0019830581268234153,
    0.0051119527299394573, 0.00088858349715220078, 0.003531415689775341,
    -0.00064151813740615275, 0.0025559409413372148, 0.0035890079943897784,
    0.051124819592423786, -0.091185017816224512, -0.00018744788268935546,
    -0.054933598975649874, 0.013323400570634698, -0.02646551827720612,
    0.96184639130015326, -0.031023835575940056, -0.012889650473890115,
    -0.007982139582913066, -0.010299908741722062, 0.0054994536959585586,
    -0.0080899567767349443, -0.024245919708488398, -0.0076094780680513842,
    0.011872173575249098, -0.00069435435871592675, 0.011535187452591819,
    -0.0041545281178088766, 0.0019830581268238186, 0.031023835575944604,
    0.99791634396915374, -0.018716492952265268, -0.00072551729511548127,
    -0.0079851090031254988, 0.00040552070684306849, -0.0048646738642641922,
    -0.0031313252230869672, 0.013818005812914674, -0.023962304621672419,
    0.00034936283126093105, -0.015856180192008455, 0.0042851338094046692,
    -0.0051119527299402475, -0.012889650473878366, 0.018716492952266742,
    0.99435389302238442, -0.019130708269093646, -0.0045394544599270019,
    0.0077844288923782177, -0.0036772943089957068, -0.021287935996965476,
    -0.0032761683086590257, 0.0052318341160109954, -0.0002485888428643759,
    0.0046025670334170141, -0.0015419062232255626, 0.00088858349715233772,
    0.007982139582911536, -0.00072551729511568705, 0.019130708269094458,
    0.99923106841970977, -0.0186011219303845, -8.9424655279614251E-5,
    -0.0061603427164679215, -0.001618180130640278, 0.010090289753153832,
    -0.017505450258844434, 0.00031581336042074465, -0.011883017885877967,
    0.0032926105768649218, -0.0035314156897751281, -0.010299908741733175,
    0.0079851090031250131, -0.0045394544599344239, 0.0186011219303834,
    0.99427000687626643, 0.057688735849395892, -0.0031892971936433429,
    -0.030885568167797934, 0.0024385752382013676, -0.0035816524894586163,
    0.00018850627033534264, -0.0032631903937349396, 0.0010938534642654844,
    -0.00064151813740804891, -0.00549945369596288, 0.00040552070684255371,
    -0.007784428892378425, -8.9424655279893135E-5, -0.05768873584939585,
    0.997942819311463, 0.011369597256351118, 0.0023293600941736545,
    0.00750181989000498, -0.013084622067057034, 0.00025827276991738759,
    -0.00899931814358111, 0.0025280130235341008, -0.0025559409413389712,
    -0.008089956776723169, 0.0048646738642650717, -0.0036772943089951634,
    0.0061603427164687785, -0.003189297193638948, -0.011369597256351661,
    0.99657389703127641, -0.048340411560456445, -0.01286947246114536,
    0.020449408212437053, -0.000861560269693998, 0.017084394418926847,
    -0.0054860793266065643, 0.0035890079943894037, 0.024245919708483551,
    -0.00313132522308788, 0.021287935996966222, -0.0016181801306406197,
    0.030885568167797313, 0.0023293600941729025, 0.048340411560455848,
    0.98884245553716377 },

  /* Computed Parameter: AZFBcontroller_C
   * Referenced by: '<S1>/AZ FB controller'
   */
  { -57696.898629643954, 233294.05809022207, -1.6737471490206189E+7,
    88279.979294929653, -5.247328450357344E+6, 1.134260696257107E+6,
    243605.13682745397, -1.6486690902757347E+6, -171581.50534683466,
    -399323.14335393906, -77780.6871900037, -281514.2920460701,
    63864.445067822933, -204101.49011003971, -323707.9803455174 },

  /* Computed Parameter: ELFBcontroller_A
   * Referenced by: '<S1>/EL FB controller'
   */
  { 1.0, 0.11057247668854531, 0.43832090282081559, -0.096245240419067082,
    -0.17601402269344005, -0.1169005858925819, 0.01678479062536338,
    -0.019748249612907543, 0.015392310107169679, 0.021743691539611764,
    -0.0064720462726399431, -0.43832090282079905, 0.73510309463793877,
    0.052967637579119896, 0.13004862220725849, 0.076723762908137039,
    -0.01195750709849149, 0.012909401373996019, -0.010531019465176249,
    -0.014335677524072861, 0.0046457523700531257, 0.096245240419073272,
    0.052967637579111833, 0.96813321753062165, -0.22057594480506235,
    -0.012726276939447159, 0.00058853419969119949, -0.0017227055594875296,
    0.00072887257801628846, 0.0013131231244224862, -0.00049421518239355024,
    -0.17601402269344407, -0.13004862220725466, 0.2205759448050626,
    0.89825130322107938, -0.053644588753704731, 0.011216847943277564,
    -0.0093932692602223377, 0.0092147670624366882, 0.011635319031797759,
    -0.003362618538145918, -0.11690058589258616, -0.076723762908134346,
    0.012726276939446994, -0.053644588753703121, 0.95130016100390824,
    0.055438279516224445, -0.0094648873164453872, 0.02433973958725372,
    0.018798625723158185, -0.00420755965286336, -0.016784790625364868,
    -0.011957507098496066, 0.00058853419969247158, -0.011216847943278584,
    -0.05543827951622491, 0.99626018480823919, 0.016203967272448164,
    -0.0024266791562768519, -0.0039215855967893462, 0.0017112088097385879,
    -0.019748249612902957, -0.012909401373994668, 0.0017227055594861097,
    -0.00939326926022093, -0.0094648873164426, -0.016203967272448765,
    0.99736486222316745, 0.027230102488359931, 0.0062308069200439986,
    -0.0010612292348934113, -0.015392310107168157, -0.010531019465169647,
    0.00072887257801458084, -0.0092147670624364315, -0.02433973958725422,
    -0.0024266791562773441, -0.027230102488359907, 0.99736650573917873,
    -0.0041730415639898528, 0.0022539674721626774, -0.021743691539618568,
    -0.014335677524069588, 0.0013131231244197768, -0.011635319031795556,
    -0.01879862572315456, -0.0039215855967904174, -0.0062308069200436205,
    -0.0041730415639902353, 0.985949699816108, 0.081981259059943024,
    -0.0064720462726476375, -0.0046457523700490092, 0.000494215182395088,
    -0.003362618538151996, -0.0042075596528656214, -0.0017112088097371132,
    -0.001061229234893756, -0.0022539674721620381, -0.081981259059941983,
    0.99517876237338687 },

  /* Computed Parameter: ELFBcontroller_C
   * Referenced by: '<S1>/EL FB controller'
   */
  { 56563.510920992587, -1.5081217865524296E+7, 59379.824245002121,
    -149742.12734495848, -4.143916077937454E+6, -1.9314074766320512E+6,
    198903.83633553982, -296429.74556273222, 183364.33705478907,
    270413.90849027038, -105362.52502822876 },

  /* Computed Parameter: GIRFBcontroller_A
   * Referenced by: '<S1>/GIR FB controller'
   */
  { 1.0, 0.85332534196756682, 0.35563263360642522, -0.0298981961776099,
    -0.052255414537722152, 0.052960469300299587, -0.019263865365874367,
    -0.0045615096230781195, 0.0062900008614642884, -0.35563263360643521,
    0.210915379999847, -0.088447389867060036, -0.14092726763770161,
    0.13347962060346094, -0.0423422207785564, -0.010675950850920225,
    0.01366936890275402, -0.029898196177608742, 0.088447389867061008,
    0.9484301362069576, -0.30040211874396228, 0.015456208961848,
    0.00029929134879379845, -0.00096253252035336369, -6.7415248355662225E-5,
    0.052255414537719654, -0.14092726763770222, 0.30040211874396233,
    0.90998818620878374, 0.045816549365860292, -0.023310953468209071,
    -0.0036521526944180297, 0.0074047011733006773, -0.05296046930029779,
    0.13347962060346164, -0.015456208961848229, 0.045816549365860132,
    0.946139453702029, 0.093289466935389614, 0.0029536744023436557,
    -0.026502803622541062, -0.019263865365874624, 0.042342220778556081,
    0.00029929134879416584, 0.023310953468209366, -0.093289466935389836,
    0.983507297040453, -0.070570063365618038, 0.0016734356882424648,
    0.0045615096230778194, -0.010675950850921557, 0.00096253252035325928,
    -0.0036521526944192392, 0.0029536744023459325, 0.0705700633656181,
    0.9935924375012124, 0.081316681179994771, 0.0062900008614621373,
    -0.013669368902756412, -6.74152483551383E-5, -0.0074047011733006374,
    0.026502803622541211, 0.0016734356882411811, -0.081316681179994965,
    0.99519015866636507 },

  /* Computed Parameter: GIRFBcontroller_C
   * Referenced by: '<S1>/GIR FB controller'
   */
  { 35383.030498881475, -33448.974602921866, 4.1401954815793019E+6,
    58440.727580453036, 822476.41823134478, -572730.82866125042,
    127878.27960645407, 48301.805512242019, -43336.839570309967 }
};

/*
 * File trailer for generated code.
 *
 * [EOF]
 */