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 09:55:56 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.76319878209000225, 0.43380880555899604, -0.028322998830819825,
    -0.10021441413844713, 0.0411514344893154, -0.014453312973518755,
    -0.050993350946463935, -0.014232728081701073, 7.7133841556301975E-5,
    -0.013477151615267314, -0.0011673562640564707, 0.011116583991736005,
    -0.43380880555899187, 0.16706067799346647, -0.067061042247941335,
    -0.22093551610348289, 0.082745258335157543, -0.017489269883005722,
    -0.094950360451526578, -0.026204821504486275, 0.00093323591323617,
    -0.02171900324712139, -0.0023124483609201357, 0.018533952432051467,
    -0.028322998830820702, 0.067061042247932925, 0.98376784490440672,
    -0.16121719383762162, 0.012533180181230803, 0.0034569064765989986,
    -0.007023928813458956, -0.0016569143289221558, 8.6918753080572928E-5,
    7.1337380203226892E-5, -6.7032790341672415E-5, 0.00019101910052391778,
    0.10021441413845027, -0.2209355161034858, 0.16121719383761804,
    0.88196753087689028, 0.045660465658279144, -0.045879205278676317,
    -0.052806987470990573, -0.01501466572030948, 0.00015268369685218493,
    -0.018922744812348, -0.0014923228143937039, 0.014361606214515226,
    -0.041151434489314867, 0.082745258335157348, -0.012533180181229389,
    0.045660465658276396, 0.96715401384573652, 0.18022840683958058,
    0.0197528118181385, 0.0058915570712275711, 9.609163121788269E-5,
    0.010622056961368214, 0.00068239294332784919, -0.007351453352034935,
    -0.014453312973516558, 0.017489269883010646, 0.0034569064766009306,
    0.045879205278676394, -0.18022840683958127, 0.97900165091456071,
    -0.033398049131592444, -0.0076694420032350705, 0.00019798970006538487,
    -0.0037255331221372721, -0.00040606466107306552, 0.0032391395165945751,
    0.050993350946466565, -0.094950360451527591, 0.0070239288134580132,
    -0.052806987470990274, 0.019752811818136998, 0.033398049131592819,
    0.9644220140721439, -0.010659167433186274, -0.0023580581035368285,
    -0.033380828605119789, -0.0013888553951843091, 0.018194526062206354,
    0.014232728081691626, -0.02620482150447832, 0.0016569143289184493,
    -0.015014665720310813, 0.0058915570712328265, 0.0076694420032363013,
    -0.010659167433183332, 0.99381666560535264, -0.077499948539152111,
    -0.013655296452686863, -0.00044722700878766175, 0.0063861019220498262,
    7.713384157960728E-5, -0.000933235913270935, 8.69187530859741E-5,
    -0.00015268369687242926, -9.6091631209909209E-5, 0.0001979897000765367,
    0.0023580581035228167, 0.077499948539147559, 0.99697779527097719,
    -0.00070062357910032535, -3.61959548453758E-5, 0.00038714438946344838,
    -0.013477151615265243, 0.021719003247120047, 7.1337380204306269E-5,
    0.018922744812349478, -0.010622056961368134, -0.0037255331221374565,
    0.033380828605119955, 0.013655296452687841, -0.00070062357908086609,
    0.994549870514837, -0.0014711551374963579, 0.00530455621476336,
    0.001167356264070522, -0.0023124483609266704, 6.7032790344252939E-5,
    -0.0014923228143949759, 0.00068239294332711681, 0.00040606466107270394,
    -0.0013888553951897783, -0.00044722700878853372, 3.6195954844665319E-5,
    0.0014711551374976695, 0.99886407513442954, 0.046640234005742368,
    0.011116583991740422, -0.018533952432060383, 0.00019101910052554607,
    -0.01436160621451291, 0.0073514533520349238, 0.0032391395165939276,
    -0.018194526062204296, -0.0063861019220504966, 0.00038714438945422383,
    0.0053045562147631346, -0.04664023400574379, 0.99289984264087561 },

  /* Computed Parameter: AZFBcontroller_C
   * Referenced by: '<S1>/AZ FB controller'
   */
  { -72025.922326347209, 272205.92037080135, -1.7003651953117967E+7,
    -168297.0380159542, -5.133627529865019E+6, 1.6770401275759637E+6,
    -246279.96304699033, -1.7787759481875896E+6, -475467.65819191933,
    -7763.5148640275, -317625.93462115526, -28145.39645254612,
    279057.82924568653 },

  /* Computed Parameter: ELFBcontroller_A
   * Referenced by: '<S1>/EL FB controller'
   */
  { 1.0, 0.1344200143960429, 0.42679242013635987, -0.10563058538534428,
    -0.15949312331009541, 0.099825305903282507, -0.0039177673989937893,
    0.085223990728001867, -0.0173185717369314, 0.014345447645558817,
    0.0084470361703419521, -0.42679242013634455, 0.76131493566293951,
    0.055432798958696808, 0.1174644766706983, -0.061886715744734193,
    0.00394846637137457, -0.051886008659913711, 0.011096653746540978,
    -0.0086876739870976223, -0.0052665761552102112, 0.10563058538535286,
    0.055432798958687572, 0.96303108882479971, -0.23551290219887944,
    0.015019260593206789, 0.00036175345970165904, 0.00942089463811646,
    -0.00093542577091151142, 0.0013156902051611392, 0.00054107182043338362,
    -0.15949312331009835, -0.11746447667069544, 0.2355129021988801,
    0.90669363315516338, 0.040852887504529742, -0.00483101362823464,
    0.035615328302024546, -0.0095520465435184262, 0.006216177802823632,
    0.0042714227647554113, 0.099825305903283687, 0.06188671574473361,
    -0.015019260593207519, 0.040852887504528569, 0.96715849300762868,
    0.11221198234097249, -0.025433536239564718, 0.014719735722889659,
    -0.00497854403059566, -0.0051926817327129548, 0.0039177673989904335,
    0.0039484663713768046, 0.00036175345970202181, 0.0048310136282348516,
    -0.11221198234097299, 0.99313152359692569, 0.01190596311791804,
    -0.0014011974435008962, 0.0012851978089800226, 0.00063193320877232169,
    0.085223990728005336, 0.0518860086599109, -0.0094208946381167634,
    0.035615328302024608, -0.025433536239563848, -0.011905963117917253,
    0.97160098692705277, 0.049208900788621668, -0.0057696841352629039,
    -0.0099766198327401311, 0.017318571736938206, 0.011096653746538907,
    -0.00093542577091266892, 0.0095520465435192659, -0.014719735722890025,
    -0.001401197443500752, -0.049208900788622625, 0.996580302107101,
    0.0079647209664601929, 0.0012988321470925061, 0.014345447645557868,
    0.0086876739870953915, -0.0013156902051612409, 0.00621617780282414,
    -0.0049785440305979726, -0.0012851978089801065, -0.0057696841352617243,
    -0.0079647209664605017, 0.998169083402461, -0.027351044242788978,
    -0.0084470361703378131, -0.005266576155212024, 0.00054107182043160824,
    -0.00427142276475478, 0.0051926817327123034, 0.00063193320877284211,
    0.0099766198327383218, 0.0012988321470926789, 0.027351044242788714,
    0.99890978173468892 },

  /* Computed Parameter: ELFBcontroller_C
   * Referenced by: '<S1>/EL FB controller'
   */
  { -62297.558904652833, 1.503053815293411E+7, -82540.326988191344,
    158678.81878355145, 3.8870227637005877E+6, -1.7984333365648082E+6,
    77262.11080379039, -1.3618260094356537E+6, 201984.70426264405,
    -207143.14302057028, -101643.86185032129 },

  /* Computed Parameter: GIRFBcontroller_A
   * Referenced by: '<S1>/GIR FB controller'
   */
  { 1.0, 0.88224849787393222, -0.31892189029014772, 0.048135330087828422,
    0.0202970180534103, -0.0052448703901932627, -0.007178358245794934,
    0.00578451230927546, -0.0056423126168249583, -0.00085824625467383075,
    0.0080626145304928936, -0.0048201972558027072, 0.001197748552371411,
    0.31892189029048529, 0.21911035857566119, -0.16625286151711444,
    -0.053617174378472326, 0.016012319980015292, 0.018844004334299409,
    -0.01779467203492819, 0.015435403945756297, 0.0030411787104188148,
    -0.022453639996298274, 0.013850424222153138, -0.0031442119404275857,
    -0.048135330087734268, -0.1662528615171768, 0.931789991994136,
    -0.096480501407894909, 0.0055716691550233765, 0.028847425412747509,
    -0.0089945145101618176, 0.015580919865583669, 0.0018761690386955234,
    -0.020538617244313762, 0.010472817453230369, -0.0018608286209418942,
    0.020297018053373955, 0.053617174378499076, 0.096480501407893909,
    0.9797085654977884, 0.076894903445853965, 0.0034717121579138405,
    -0.016398525990564034, 0.0047083423432037457, 0.0016370217788432269,
    -0.0073708222393840872, 0.0052582646230108611, -0.0018754199754406956,
    0.0052448703902245059, 0.0160123199799718, 0.0055716691550345438,
    -0.076894903445864693, 0.99320484268028475, -0.072071274368899541,
    0.0019653393319491006, -0.0051186821522184222, -0.00043935333165774643,
    0.0058613725820607461, -0.0024340438074239058, 0.00037002801762091477,
    -0.0071783582457842559, -0.018844004334273506, -0.028847425412748297,
    0.0034717121579211558, 0.072071274368902122, 0.99510374395209666,
    0.00829050234547231, -0.0019917714578487713, -0.00074551764768577015,
    0.0030876872137932331, -0.0021848792671105887, 0.00081091782763446831,
    -0.0057845123092578931, -0.017794672034976911, -0.0089945145101712649,
    0.016398525990541809, 0.0019653393319561388, -0.0082905023454680551,
    0.99662610698101639, 0.047113275438227312, 0.001004929819370604,
    -0.019986916371760356, 0.0044434977631389169, -0.00040311308765646935,
    -0.0056423126167951324, -0.015435403945789319, -0.01558091986559015,
    0.0047083423432011584, 0.0051186821522244495, -0.0019917714578458578,
    -0.047113275438226812, 0.99690644535989015, -0.0024505507648068543,
    0.0034281400535895088, -0.0025143567948473053, 0.0013081145533254176,
    0.00085824625460219686, 0.0030411787105802204, 0.0018761690387244421,
    -0.0016370217787935243, -0.0004393533316690913, 0.000745517647671136,
    0.0010049298193913982, 0.0024505507648051239, 0.99675116263455588,
    0.0799798786576999, -0.00062784090137787735, -5.2245431277861804E-5,
    0.00806261453035837, 0.022453639996489892, 0.020538617244327668,
    -0.0073708222393674789, -0.0058613725820755736, 0.0030876872137821521,
    0.019986916371758798, 0.0034281400535758812, -0.079979878657695513,
    0.99182025132953744, 0.0040308889787978161, -0.0026306956545212048,
    -0.0048201972559084264, -0.013850424221853614, -0.010472817453158086,
    0.005258264622985908, 0.0024340438074097947, -0.002184879267109517,
    -0.0044434977631362524, -0.0025143567948597381, 0.00062784090136562911,
    0.0040308889788214786, 0.99188170741156312, 0.094270456103449557,
    -0.0011977485520285711, -0.0031442119409544819, -0.0018608286209415245,
    0.0018754199753649569, 0.00037002801764243515, -0.00081091782759696392,
    -0.00040311308766259065, -0.0013081145533028788, -5.2245431283831163E-5,
    0.0026306956544867926, -0.094270456103418027, 0.99521520533282626 },

  /* Computed Parameter: GIRFBcontroller_C
   * Referenced by: '<S1>/GIR FB controller'
   */
  { 23003.837279694446, -100146.83140631393, -4.2038363259068709E+6,
    -699682.36339383945, -151753.25958782434, 68716.029809951782,
    56564.55116379261, -64638.6707675457, 48805.549091398716, 6908.61706495285,
    -70971.220129966736, 44622.190431594849, -14129.460813522339 }
};

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