ParameterList.xml 7.36 KB
Newer Older
1 2 3 4
<ParameterList version="0.1">

  <!-- Parameters in the top level block -->
  <Block name="TopLevel">
5

6
    
7

8 9 10 11 12 13 14 15 16 17 18 19 20
  </Block>

  <!--Parameters related to the navigation block -->
  <Block name="Navigation">
    <Parameter
      SimulinkPath="avionics_src/sm_avionics/Navigation_Filter/NAV_FILT_INIT/"
      SimulinkParameterName="Value"
      QGCParamID="NAV_FILT_INIT"
       />
  </Block>

  <!--Parameters related to the controller block -->
  <Block name="Controller">
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
    <!-- Aileron Control Parameters -->
    <Parameter
      SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_AIL/kp/"
      SimulinkParameterName="Gain"
      QGCParamID="AIL_KP"
       />
    <Parameter
      SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_AIL/ki/"
      SimulinkParameterName="Gain"
      QGCParamID="AIL_KI"
       />
    <Parameter
      SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_AIL/kd/"
      SimulinkParameterName="Gain"
      QGCParamID="AIL_KD"
       />
37 38 39 40 41
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_AIL/Angle_Norm/Max_Min_Angle/"
       SimulinkParameterName="Constant Value"
       QGCParamID="ANG_AIL_MAX"
       />
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
    <!-- Elevator Control Parameters -->
    <Parameter
      SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_ELE/kp/"
      SimulinkParameterName="Gain"
      QGCParamID="ELE_KP"
       />
    <Parameter
      SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_ELE/ki/"
      SimulinkParameterName="Gain"
      QGCParamID="ELE_KI"
       />
    <Parameter
      SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_ELE/kd/"
      SimulinkParameterName="Gain"
      QGCParamID="ELE_KD"
       />
58 59 60 61 62
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Attitude_Controller/PID_ELE/Angle_Norm/Max_Min_Angle/"
       SimulinkParameterName="Constant Value"
       QGCParamID="ANG_ELE_MAX"
       />
63 64 65 66
  </Block>

  <!-- Paremters for the Pilot Input/Raw RC block -->
  <Block name="ServoInputs">
67 68 69 70
    <!-- Settings for Aileron Servo -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/AileronInput/"
       SimulinkParameterName="Setpoint0"
71
       QGCParamID="AIL_LEFT_IN"
72 73 74 75 76 77 78 79 80
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/AileronInput/"
       SimulinkParameterName="Setpoint1"
       QGCParamID="AIL_CENTER_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/AileronInput/"
       SimulinkParameterName="Setpoint2"
81
       QGCParamID="AIL_RIGHT_IN"
82 83 84 85 86 87 88 89
       />
    <!-- Settings for Elevator Servo -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ElevatorInput/"
       SimulinkParameterName="Setpoint0"
       QGCParamID="ELE_DOWN_IN"
       />
    <Parameter
90
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ElevatorInput/"
91 92 93 94
       SimulinkParameterName="Setpoint1"
       QGCParamID="ELE_CENTER_IN"
       />
    <Parameter
95
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ElevatorInput/"
96 97
       SimulinkParameterName="Setpoint2"
       QGCParamID="ELE_UP_IN"
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
       />
    <!-- Settings for Throttle Servo -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ThrottleInput/"
       SimulinkParameterName="Setpoint0"
       QGCParamID="THR_SET0_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ThrottleInput/"
       SimulinkParameterName="Setpoint1"
       QGCParamID="THR_SET1_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ThrottleInput/"
       SimulinkParameterName="Setpoint2"
       QGCParamID="THR_SET2_IN"
       />    
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ThrottleInput/"
       SimulinkParameterName="Setpoint3"
       QGCParamID="THR_SET3_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/ThrottleInput/"
       SimulinkParameterName="Setpoint4"
       QGCParamID="THR_SET4_IN"
       />
    <!-- Settings for Rudder Servo -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/RudderInput/"
       SimulinkParameterName="Setpoint0"
       QGCParamID="RUD_LEFT_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/RudderInput/"
       SimulinkParameterName="Setpoint1"
       QGCParamID="RUD_CENTER_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/RudderInput/"
       SimulinkParameterName="Setpoint2"
       QGCParamID="RUD_RIGHT_IN"
       />
    <!-- Settings for Gyro Mode/Gain Switch -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/GyroInput/"
       SimulinkParameterName="Setpoint0"
       QGCParamID="GYRO_DEF_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/GyroInput/"
       SimulinkParameterName="Setpoint1"
       QGCParamID="GYRO_TOG_IN"
151
       />    
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
    <!-- Settings for Pitch Servo -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/PitchInput/"
       SimulinkParameterName="Setpoint0"
       QGCParamID="PIT_SET0_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/PitchInput/"
       SimulinkParameterName="Setpoint1"
       QGCParamID="PIT_SET1_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/PitchInput/"
       SimulinkParameterName="Setpoint2"
       QGCParamID="PIT_SET2_IN"
       />    
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/PitchInput/"
       SimulinkParameterName="Setpoint3"
       QGCParamID="PIT_SET3_IN"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Pilot_Inputs/PitchInput/"
       SimulinkParameterName="Setpoint4"
       QGCParamID="PIT_SET4_IN"
       />

179 180 181 182 183 184 185 186
  </Block>

  <!-- Parameters for the servo output block -->
  <Block name="ServoOutputs">

    <!-- Settings for Aileron Servo -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/AileronOutput/"
187 188
       SimulinkParameterName="Setpoint0"
       QGCParamID="AIL_LEFT_OUT"
189 190 191
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/AileronOutput/"
192
       SimulinkParameterName="Setpoint1"
193 194 195 196
       QGCParamID="AIL_CENTER_OUT"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/AileronOutput/"
197 198
       SimulinkParameterName="Setpoint2"
       QGCParamID="AIL_RIGHT_OUT"
199 200
       />
    <Parameter
201 202 203
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/AileronMix/Controller_Mix/"
       SimulinkParameterName="Constant Value"
       QGCParamID="MIX_AIL"
204 205 206 207
       />
    <!-- Settings for Elevator Servo -->
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/ElevatorOutput/"
208 209
       SimulinkParameterName="Setpoint0"
       QGCParamID="ELE_DOWN_OUT"
210 211 212
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/ElevatorOutput/"
213
       SimulinkParameterName="Setpoint1"
214 215 216 217
       QGCParamID="ELE_CENTER_OUT"
       />
    <Parameter
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/ElevatorOutput/"
218 219
       SimulinkParameterName="Setpoint2"
       QGCParamID="ELE_UP_OUT"
220 221
       />
    <Parameter
222 223 224
       SimulinkPath="avionics_src/sm_avionics/Servo_Outputs/ElevatorMix/Controller_Mix/"
       SimulinkParameterName="Constant Value"
       QGCParamID="MIX_ELE"
225 226 227
       />
  </Block>
</ParameterList>