| 1 |
<?xml version="1.0" ?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
<PropertyList> |
| 8 |
|
| 9 |
<state-machine include="GFC700-vertical-FSM.xml"/> |
| 10 |
<state-machine include="GFC700-lateral-FSM.xml"/> |
| 11 |
<state-machine include="GFC700-AP-off-FSM.xml"/> |
| 12 |
|
| 13 |
<filter> |
| 14 |
<name>heading bug error computer/normalizer</name> |
| 15 |
<debug>false</debug> |
| 16 |
<type>gain</type> |
| 17 |
<input> |
| 18 |
<property>/autopilot/settings/heading-bug-deg</property> |
| 19 |
<offset> |
| 20 |
<property>/orientation/heading-magnetic-deg</property> |
| 21 |
<scale>-1.0</scale> |
| 22 |
</offset> |
| 23 |
</input> |
| 24 |
<output>/autopilot/internal/heading-bug-error-deg</output> |
| 25 |
<output>/autopilot/internal/fdm-heading-bug-error-deg</output> |
| 26 |
<period> |
| 27 |
<min>-180</min> |
| 28 |
<max>180</max> |
| 29 |
</period> |
| 30 |
<gain>1.0</gain> |
| 31 |
</filter> |
| 32 |
|
| 33 |
<filter> |
| 34 |
<name>true heading error computer/normalizer</name> |
| 35 |
<debug>false</debug> |
| 36 |
<type>gain</type> |
| 37 |
<input> |
| 38 |
<property>/autopilot/settings/true-heading-deg</property> |
| 39 |
<offset> |
| 40 |
<property>/orientation/heading-deg</property> |
| 41 |
<scale>-1.0</scale> |
| 42 |
</offset> |
| 43 |
</input> |
| 44 |
<output>/autopilot/internal/true-heading-error-deg</output> |
| 45 |
<period> |
| 46 |
<min>-180</min> |
| 47 |
<max>180</max> |
| 48 |
</period> |
| 49 |
<gain>1.0</gain> |
| 50 |
</filter> |
| 51 |
|
| 52 |
<filter> |
| 53 |
<name>nav1 heading error computer/normalizer</name> |
| 54 |
<debug>false</debug> |
| 55 |
<type>gain</type> |
| 56 |
<input> |
| 57 |
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property> |
| 58 |
<offset> |
| 59 |
<property>/orientation/heading-deg</property> |
| 60 |
<scale>-1.0</scale> |
| 61 |
</offset> |
| 62 |
</input> |
| 63 |
<output>/autopilot/internal/nav1-heading-error-deg</output> |
| 64 |
<period> |
| 65 |
<min>-180</min> |
| 66 |
<max>180</max> |
| 67 |
</period> |
| 68 |
<gain>1.0</gain> |
| 69 |
</filter> |
| 70 |
|
| 71 |
<filter> |
| 72 |
<name>nav1 selected course error computer/normalizer</name> |
| 73 |
<debug>false</debug> |
| 74 |
<type>gain</type> |
| 75 |
<input> |
| 76 |
<property>/instrumentation/nav[0]/radials/selected-deg</property> |
| 77 |
<offset> |
| 78 |
<property>/orientation/heading-magnetic-deg</property> |
| 79 |
<scale>-1.0</scale> |
| 80 |
</offset> |
| 81 |
</input> |
| 82 |
<output>/autopilot/internal/nav1-course-error</output> |
| 83 |
<period> |
| 84 |
<min>-180</min> |
| 85 |
<max>180</max> |
| 86 |
</period> |
| 87 |
<gain>1.0</gain> |
| 88 |
</filter> |
| 89 |
|
| 90 |
<filter> |
| 91 |
<name>nav2 heading error computer/normalizer</name> |
| 92 |
<debug>false</debug> |
| 93 |
<type>gain</type> |
| 94 |
<input> |
| 95 |
<property>/instrumentation/nav[1]/radials/target-auto-hdg-deg</property> |
| 96 |
<offset> |
| 97 |
<property>/orientation/heading-deg</property> |
| 98 |
<scale>-1.0</scale> |
| 99 |
</offset> |
| 100 |
</input> |
| 101 |
<output>/autopilot/internal/nav2-heading-error-deg</output> |
| 102 |
<period> |
| 103 |
<min>-180</min> |
| 104 |
<max>180</max> |
| 105 |
</period> |
| 106 |
<gain>1.0</gain> |
| 107 |
</filter> |
| 108 |
|
| 109 |
<filter> |
| 110 |
<name>nav2 selected course error computer/normalizer</name> |
| 111 |
<debug>false</debug> |
| 112 |
<type>gain</type> |
| 113 |
<input> |
| 114 |
<property>/instrumentation/nav[1]/radials/selected-deg</property> |
| 115 |
<offset> |
| 116 |
<property>/orientation/heading-magnetic-deg</property> |
| 117 |
<scale>-1.0</scale> |
| 118 |
</offset> |
| 119 |
</input> |
| 120 |
<output>/autopilot/internal/nav2-course-error</output> |
| 121 |
<period> |
| 122 |
<min>-180</min> |
| 123 |
<max>180</max> |
| 124 |
</period> |
| 125 |
<gain>1.0</gain> |
| 126 |
</filter> |
| 127 |
|
| 128 |
<filter> |
| 129 |
<name>vertical speed fpm computer</name> |
| 130 |
<debug>false</debug> |
| 131 |
<type>gain</type> |
| 132 |
<input>/velocities/vertical-speed-fps</input> |
| 133 |
<output>/autopilot/internal/vert-speed-fpm</output> |
| 134 |
<gain>60.0</gain> |
| 135 |
</filter> |
| 136 |
|
| 137 |
<predict-simple> |
| 138 |
<name>speed in 5 seconds predictor</name> |
| 139 |
<debug>false</debug> |
| 140 |
<input>/velocities/airspeed-kt</input> |
| 141 |
<output>/autopilot/internal/lookahead-5-sec-airspeed-kt</output> |
| 142 |
<seconds>5.0</seconds> |
| 143 |
<filter-gain>0.0</filter-gain> |
| 144 |
</predict-simple> |
| 145 |
|
| 146 |
<predict-simple> |
| 147 |
<name>speed in 10 seconds predictor</name> |
| 148 |
<debug>false</debug> |
| 149 |
<input>/velocities/airspeed-kt</input> |
| 150 |
<output>/autopilot/internal/lookahead-10-sec-airspeed-kt</output> |
| 151 |
<seconds>10.0</seconds> |
| 152 |
<filter-gain>0.0</filter-gain> |
| 153 |
</predict-simple> |
| 154 |
|
| 155 |
<filter> |
| 156 |
<name>static port pressure rate computer</name> |
| 157 |
<debug>false</debug> |
| 158 |
<type>derivative</type> |
| 159 |
<input>/systems/static[0]/pressure-inhg</input> |
| 160 |
<output>/autopilot/internal/pressure-rate</output> |
| 161 |
<filter-time>1.0</filter-time> |
| 162 |
</filter> |
| 163 |
|
| 164 |
<filter> |
| 165 |
<name>nav1 track error computer</name> |
| 166 |
<debug>false</debug> |
| 167 |
<type>gain</type> |
| 168 |
<input> |
| 169 |
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property> |
| 170 |
<offset> |
| 171 |
<property>orientation/track-deg</property> |
| 172 |
<scale>-1.0</scale> |
| 173 |
</offset> |
| 174 |
</input> |
| 175 |
<output>/autopilot/internal/nav1-track-error-deg</output> |
| 176 |
<period> |
| 177 |
<min>-180</min> |
| 178 |
<max>180</max> |
| 179 |
</period> |
| 180 |
<gain>1.0</gain> |
| 181 |
</filter> |
| 182 |
|
| 183 |
<filter> |
| 184 |
<name>limited-pitch</name> |
| 185 |
<debug>false</debug> |
| 186 |
<type>gain</type> |
| 187 |
<input> |
| 188 |
<property>/instrumentation/attitude-indicator/indicated-pitch-deg</property> |
| 189 |
</input> |
| 190 |
<gain>1.0</gain> |
| 191 |
<output>/autopilot/internal/filtered-pitch-deg</output> |
| 192 |
<min>-15.0</min> |
| 193 |
<max>20.0</max> |
| 194 |
</filter> |
| 195 |
|
| 196 |
<filter> |
| 197 |
<name>limited-roll</name> |
| 198 |
<debug>false</debug> |
| 199 |
<type>gain</type> |
| 200 |
<input> |
| 201 |
<property>/instrumentation/attitude-indicator/indicated-roll-deg</property> |
| 202 |
</input> |
| 203 |
<gain>1.0</gain> |
| 204 |
<output>/autopilot/internal/filtered-roll-deg</output> |
| 205 |
<min>-22.0</min> |
| 206 |
<max>22.0</max> |
| 207 |
</filter> |
| 208 |
|
| 209 |
<filter> |
| 210 |
<name>limited-airspeed</name> |
| 211 |
<debug>false</debug> |
| 212 |
<type>gain</type> |
| 213 |
<input> |
| 214 |
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 215 |
</input> |
| 216 |
<gain>1.0</gain> |
| 217 |
<output>/autopilot/internal/filtered-airspeed</output> |
| 218 |
<min>80.0</min> |
| 219 |
<max>140.0</max> |
| 220 |
</filter> |
| 221 |
|
| 222 |
<filter> |
| 223 |
<name>ALTS-delta</name> |
| 224 |
<debug>false</debug> |
| 225 |
<type>gain</type> |
| 226 |
<input> |
| 227 |
<property>/autopilot/settings/target-alt-ft</property> |
| 228 |
<offset> |
| 229 |
<property>/instrumentation/altimeter/indicated-altitude-ft</property> |
| 230 |
<scale>-1.0</scale> |
| 231 |
</offset> |
| 232 |
</input> |
| 233 |
<gain>1.0</gain> |
| 234 |
<output>/autopilot/internal/ALTS-target-altitude-delta-ft</output> |
| 235 |
</filter> |
| 236 |
|
| 237 |
|
| 238 |
<logic> |
| 239 |
<input> |
| 240 |
<and> |
| 241 |
<equals><property>/autopilot/locks/passive-mode</property><value>0</value></equals> |
| 242 |
<or> |
| 243 |
<not><equals><property>/autopilot/locks/heading</property><value></value></equals></not> |
| 244 |
<not><equals><property>/autopilot/locks/altitude</property><value></value></equals></not> |
| 245 |
</or> |
| 246 |
</and> |
| 247 |
</input> |
| 248 |
<output>/autopilot/annunciator/autopilot-enabled</output> |
| 249 |
</logic> |
| 250 |
|
| 251 |
<logic> |
| 252 |
<input> |
| 253 |
<and> |
| 254 |
<equals><property>/autopilot/locks/passive-mode</property><value>1</value></equals> |
| 255 |
<or> |
| 256 |
<not><equals><property>/autopilot/locks/heading</property><value></value></equals></not> |
| 257 |
<not><equals><property>/autopilot/locks/altitude</property><value></value></equals></not> |
| 258 |
</or> |
| 259 |
</and> |
| 260 |
</input> |
| 261 |
<output>/autopilot/annunciator/flight-director-enabled</output> |
| 262 |
</logic> |
| 263 |
|
| 264 |
|
| 265 |
<logic> |
| 266 |
<input> |
| 267 |
<or> |
| 268 |
<and> |
| 269 |
<equals> |
| 270 |
<property>/autopilot/settings/nav-mode-source</property> |
| 271 |
<value>NAV1</value> |
| 272 |
</equals> |
| 273 |
<less-than> |
| 274 |
<property>/instrumentation/nav[0]/heading-needle-deflection</property> |
| 275 |
<value>4.0</value> |
| 276 |
</less-than> |
| 277 |
<greater-than> |
| 278 |
<property>/instrumentation/nav[0]/heading-needle-deflection</property> |
| 279 |
<value>-4.0</value> |
| 280 |
</greater-than> |
| 281 |
</and> |
| 282 |
<and> |
| 283 |
<equals> |
| 284 |
<property>/autopilot/settings/nav-mode-source</property> |
| 285 |
<value>NAV2</value> |
| 286 |
</equals> |
| 287 |
<less-than> |
| 288 |
<property>/instrumentation/nav[1]/heading-needle-deflection</property> |
| 289 |
<value>4.0</value> |
| 290 |
</less-than> |
| 291 |
<greater-than> |
| 292 |
<property>/instrumentation/nav[1]/heading-needle-deflection</property> |
| 293 |
<value>-4.0</value> |
| 294 |
</greater-than> |
| 295 |
</and> |
| 296 |
<and> |
| 297 |
<equals> |
| 298 |
<property>/autopilot/settings/nav-mode-source</property> |
| 299 |
<value>GPS</value> |
| 300 |
</equals> |
| 301 |
<less-than> |
| 302 |
<property>/instrumentation/gps/wp/wp[1]/course-error-nm</property> |
| 303 |
<value>0.5</value> |
| 304 |
</less-than> |
| 305 |
<greater-than> |
| 306 |
<property>/instrumentation/gps/wp/wp[1]/course-error-nm</property> |
| 307 |
<value>-0.5</value> |
| 308 |
</greater-than> |
| 309 |
</and> |
| 310 |
</or> |
| 311 |
</input> |
| 312 |
<output>/autopilot/internal/nav-capture</output> |
| 313 |
</logic> |
| 314 |
|
| 315 |
|
| 316 |
|
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
|
| 325 |
<pid-controller> |
| 326 |
<name>Heading Bug Hold (DG based) Stage 1</name> |
| 327 |
<debug>false</debug> |
| 328 |
<enable> |
| 329 |
<prop>/autopilot/locks/heading</prop> |
| 330 |
<value>dg-heading-hold</value> |
| 331 |
</enable> |
| 332 |
<input> |
| 333 |
<prop>/autopilot/internal/heading-bug-error-deg</prop> |
| 334 |
</input> |
| 335 |
<reference> |
| 336 |
<value>0.0</value> |
| 337 |
</reference> |
| 338 |
<output> |
| 339 |
<prop>/autopilot/settings/target-roll-deg</prop> |
| 340 |
</output> |
| 341 |
<config> |
| 342 |
<Kp>-1.0</Kp> |
| 343 |
<beta>1.0</beta> |
| 344 |
<alpha>0.1</alpha> |
| 345 |
<gamma>0.0</gamma> |
| 346 |
|
| 347 |
<Ti>10.0</Ti> |
| 348 |
<Td>0.00001</Td> |
| 349 |
<u_min>-20.0</u_min> |
| 350 |
<u_max>20.0</u_max> |
| 351 |
</config> |
| 352 |
</pid-controller> |
| 353 |
|
| 354 |
|
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
<pid-controller> |
| 359 |
<name>True Heading Hold (DG based) Stage 1</name> |
| 360 |
<debug>false</debug> |
| 361 |
<enable> |
| 362 |
<prop>/autopilot/locks/heading</prop> |
| 363 |
<value>true-heading-hold</value> |
| 364 |
</enable> |
| 365 |
<input> |
| 366 |
<prop>/autopilot/internal/true-heading-error-deg</prop> |
| 367 |
</input> |
| 368 |
<reference> |
| 369 |
<value>0.0</value> |
| 370 |
</reference> |
| 371 |
<output> |
| 372 |
<prop>/autopilot/settings/target-roll-deg</prop> |
| 373 |
</output> |
| 374 |
<config> |
| 375 |
<Kp>-1.0</Kp> |
| 376 |
<beta>1.0</beta> |
| 377 |
<alpha>0.1</alpha> |
| 378 |
<gamma>0.0</gamma> |
| 379 |
|
| 380 |
<Ti>10.0</Ti> |
| 381 |
<Td>0.00001</Td> |
| 382 |
<u_min>-20.0</u_min> |
| 383 |
<u_max>20.0</u_max> |
| 384 |
</config> |
| 385 |
</pid-controller> |
| 386 |
|
| 387 |
|
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
<pid-controller> |
| 392 |
<name>Nav1/GPS Hold Stage 1</name> |
| 393 |
<debug>false</debug> |
| 394 |
<enable> |
| 395 |
<condition> |
| 396 |
<and> |
| 397 |
<equals> |
| 398 |
<property>/autopilot/locks/heading</property> |
| 399 |
<value>nav-hold</value> |
| 400 |
</equals> |
| 401 |
<or> |
| 402 |
<equals> |
| 403 |
<property>/autopilot/settings/nav-mode-source</property> |
| 404 |
<value>NAV1</value> |
| 405 |
</equals> |
| 406 |
<equals> |
| 407 |
|
| 408 |
<property>/autopilot/settings/nav-mode-source</property> |
| 409 |
<value>GPS</value> |
| 410 |
</equals> |
| 411 |
</or> |
| 412 |
</and> |
| 413 |
</condition> |
| 414 |
</enable> |
| 415 |
<input> |
| 416 |
<prop>/autopilot/internal/nav1-heading-error-deg</prop> |
| 417 |
</input> |
| 418 |
<reference> |
| 419 |
<value>0.0</value> |
| 420 |
</reference> |
| 421 |
<output> |
| 422 |
<prop>/autopilot/settings/target-roll-deg</prop> |
| 423 |
</output> |
| 424 |
<config> |
| 425 |
<Kp>-1.0</Kp> |
| 426 |
<beta>1.0</beta> |
| 427 |
<alpha>0.1</alpha> |
| 428 |
<gamma>0.0</gamma> |
| 429 |
|
| 430 |
<Ti>10.0</Ti> |
| 431 |
<Td>0.00001</Td> |
| 432 |
<u_min>-20.0</u_min> |
| 433 |
<u_max>20.0</u_max> |
| 434 |
</config> |
| 435 |
</pid-controller> |
| 436 |
|
| 437 |
<pid-controller> |
| 438 |
<name>Nav2 Hold Stage 1</name> |
| 439 |
<debug>false</debug> |
| 440 |
<enable> |
| 441 |
<condition> |
| 442 |
<and> |
| 443 |
<equals> |
| 444 |
<property>/autopilot/locks/heading</property> |
| 445 |
<value>nav-hold</value> |
| 446 |
</equals> |
| 447 |
<equals> |
| 448 |
<property>/autopilot/settings/nav-mode-source</property> |
| 449 |
<value>NAV2</value> |
| 450 |
</equals> |
| 451 |
</and> |
| 452 |
</condition> |
| 453 |
</enable> |
| 454 |
<input> |
| 455 |
<prop>/autopilot/internal/nav2-heading-error-deg</prop> |
| 456 |
</input> |
| 457 |
<reference> |
| 458 |
<value>0.0</value> |
| 459 |
</reference> |
| 460 |
<output> |
| 461 |
<prop>/autopilot/settings/target-roll-deg</prop> |
| 462 |
</output> |
| 463 |
<config> |
| 464 |
<Kp>-1.0</Kp> |
| 465 |
<beta>1.0</beta> |
| 466 |
<alpha>0.1</alpha> |
| 467 |
<gamma>0.0</gamma> |
| 468 |
|
| 469 |
<Ti>10.0</Ti> |
| 470 |
<Td>0.00001</Td> |
| 471 |
<u_min>-20.0</u_min> |
| 472 |
<u_max>20.0</u_max> |
| 473 |
</config> |
| 474 |
</pid-controller> |
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
<pid-controller> |
| 479 |
<name>Roll Hold</name> |
| 480 |
<debug>false</debug> |
| 481 |
<enable> |
| 482 |
<condition> |
| 483 |
<and> |
| 484 |
<or> |
| 485 |
<equals> |
| 486 |
<property>/autopilot/locks/heading</property> |
| 487 |
<value>roll-hold</value> |
| 488 |
</equals> |
| 489 |
<equals> |
| 490 |
<property>/autopilot/locks/heading</property> |
| 491 |
<value>dg-heading-hold</value> |
| 492 |
</equals> |
| 493 |
<equals> |
| 494 |
<property>/autopilot/locks/heading</property> |
| 495 |
<value>nav-hold</value> |
| 496 |
</equals> |
| 497 |
</or> |
| 498 |
<equals> |
| 499 |
<property>/autopilot/locks/passive-mode</property> |
| 500 |
<value>0</value> |
| 501 |
</equals> |
| 502 |
<not> |
| 503 |
<equals> |
| 504 |
<property>/autopilot/locks/control-wheel-steering</property> |
| 505 |
<value>1</value> |
| 506 |
</equals> |
| 507 |
</not> |
| 508 |
</and> |
| 509 |
</condition> |
| 510 |
</enable> |
| 511 |
<input> |
| 512 |
<prop>/orientation/roll-deg</prop> |
| 513 |
</input> |
| 514 |
<reference> |
| 515 |
<prop>/autopilot/settings/target-roll-deg</prop> |
| 516 |
</reference> |
| 517 |
<output> |
| 518 |
<prop>/controls/flight/aileron</prop> |
| 519 |
</output> |
| 520 |
<config> |
| 521 |
<Kp>0.1</Kp> |
| 522 |
<beta>1.0</beta> |
| 523 |
<alpha>0.1</alpha> |
| 524 |
<gamma>0.0</gamma> |
| 525 |
|
| 526 |
<Ti>10.0</Ti> |
| 527 |
<Td>0.00001</Td> |
| 528 |
<u_min>-1.0</u_min> |
| 529 |
<u_max>1.0</u_max> |
| 530 |
</config> |
| 531 |
</pid-controller> |
| 532 |
|
| 533 |
|
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
|
| 543 |
|
| 544 |
<pi-simple-controller> |
| 545 |
<name>Altitude Hold (Altimeter based) Stage 1</name> |
| 546 |
<debug>false</debug> |
| 547 |
<enable> |
| 548 |
<condition> |
| 549 |
<equals> |
| 550 |
<property>/autopilot/locks/altitude</property> |
| 551 |
<value>altitude-hold</value> |
| 552 |
</equals> |
| 553 |
</condition> |
| 554 |
</enable> |
| 555 |
<input> |
| 556 |
<prop>/instrumentation/altimeter/indicated-altitude-ft</prop> |
| 557 |
</input> |
| 558 |
<reference> |
| 559 |
<prop>/autopilot/settings/target-altitude-ft</prop> |
| 560 |
</reference> |
| 561 |
<output> |
| 562 |
<prop>/autopilot/internal/target-climb-rate-fps</prop> |
| 563 |
</output> |
| 564 |
<config> |
| 565 |
<Kp>0.3</Kp> |
| 566 |
<Ki>0.0</Ki> |
| 567 |
<u_min>-16.67</u_min> |
| 568 |
<u_max>8.33</u_max> |
| 569 |
</config> |
| 570 |
</pi-simple-controller> |
| 571 |
|
| 572 |
|
| 573 |
|
| 574 |
|
| 575 |
|
| 576 |
<pi-simple-controller> |
| 577 |
<name>Altitude Hold (Altimeter based) Stage 1</name> |
| 578 |
<debug>false</debug> |
| 579 |
<enable> |
| 580 |
<condition> |
| 581 |
<equals> |
| 582 |
<property>/autopilot/locks/altitude</property> |
| 583 |
<value>altitude-hold2</value> |
| 584 |
</equals> |
| 585 |
</condition> |
| 586 |
</enable> |
| 587 |
<input> |
| 588 |
<prop>/instrumentation/altimeter/indicated-altitude-ft</prop> |
| 589 |
</input> |
| 590 |
<reference> |
| 591 |
<prop>/autopilot/settings/target-altitude-ft-2</prop> |
| 592 |
</reference> |
| 593 |
<output> |
| 594 |
<prop>/autopilot/internal/target-climb-rate-fps</prop> |
| 595 |
</output> |
| 596 |
<config> |
| 597 |
<Kp>0.3</Kp> |
| 598 |
<Ki>0.0</Ki> |
| 599 |
<u_min>-16.67</u_min> |
| 600 |
<u_max>8.33</u_max> |
| 601 |
</config> |
| 602 |
</pi-simple-controller> |
| 603 |
|
| 604 |
|
| 605 |
|
| 606 |
<pid-controller> |
| 607 |
<name>NAV1/GPS Glideslope Hold</name> |
| 608 |
<debug>false</debug> |
| 609 |
<enable> |
| 610 |
<condition> |
| 611 |
<and> |
| 612 |
<equals> |
| 613 |
<property>/autopilot/locks/altitude</property> |
| 614 |
<value>gs-hold</value> |
| 615 |
</equals> |
| 616 |
<or> |
| 617 |
<equals> |
| 618 |
<property>/autopilot/settings/nav-mode-source</property> |
| 619 |
<value>GPS</value> |
| 620 |
</equals> |
| 621 |
<equals> |
| 622 |
<property>/autopilot/settings/nav-mode-source</property> |
| 623 |
<value>NAV1</value> |
| 624 |
</equals> |
| 625 |
</or> |
| 626 |
</and> |
| 627 |
</condition> |
| 628 |
</enable> |
| 629 |
<input> |
| 630 |
<prop>/velocities/vertical-speed-fps</prop> |
| 631 |
</input> |
| 632 |
<reference> |
| 633 |
<prop>/instrumentation/nav[0]/gs-rate-of-climb</prop> |
| 634 |
</reference> |
| 635 |
<output> |
| 636 |
<prop>/autopilot/settings/target-pitch-deg</prop> |
| 637 |
</output> |
| 638 |
<config> |
| 639 |
<Kp>0.1</Kp> |
| 640 |
<beta>1.0</beta> |
| 641 |
<alpha>0.1</alpha> |
| 642 |
<gamma>0.0</gamma> |
| 643 |
|
| 644 |
<Ti>1.0</Ti> |
| 645 |
<Td>0.00001</Td> |
| 646 |
<u_min>-15.0</u_min> |
| 647 |
<u_max>15.0</u_max> |
| 648 |
</config> |
| 649 |
</pid-controller> |
| 650 |
|
| 651 |
<pid-controller> |
| 652 |
<name>NAV1/GPS Glideslope Hold</name> |
| 653 |
<debug>false</debug> |
| 654 |
<enable> |
| 655 |
<condition> |
| 656 |
<and> |
| 657 |
<equals> |
| 658 |
<property>/autopilot/locks/altitude</property> |
| 659 |
<value>gs-hold</value> |
| 660 |
</equals> |
| 661 |
<equals> |
| 662 |
<property>/autopilot/settings/nav-mode-source</property> |
| 663 |
<value>NAV2</value> |
| 664 |
</equals> |
| 665 |
</and> |
| 666 |
</condition> |
| 667 |
</enable> |
| 668 |
<input> |
| 669 |
<prop>/velocities/vertical-speed-fps</prop> |
| 670 |
</input> |
| 671 |
<reference> |
| 672 |
<prop>/instrumentation/nav[1]/gs-rate-of-climb</prop> |
| 673 |
</reference> |
| 674 |
<output> |
| 675 |
<prop>/autopilot/settings/target-pitch-deg</prop> |
| 676 |
</output> |
| 677 |
<config> |
| 678 |
<Kp>0.1</Kp> |
| 679 |
<beta>1.0</beta> |
| 680 |
<alpha>0.1</alpha> |
| 681 |
<gamma>0.0</gamma> |
| 682 |
|
| 683 |
<Ti>1.0</Ti> |
| 684 |
<Td>0.00001</Td> |
| 685 |
<u_min>-15.0</u_min> |
| 686 |
<u_max>15.0</u_max> |
| 687 |
</config> |
| 688 |
</pid-controller> |
| 689 |
|
| 690 |
|
| 691 |
<pid-controller> |
| 692 |
<name>Vertical Speed Hold</name> |
| 693 |
<debug>false</debug> |
| 694 |
<enable> |
| 695 |
<condition> |
| 696 |
<equals> |
| 697 |
<property>/autopilot/locks/altitude</property> |
| 698 |
<value>vertical-speed-hold</value> |
| 699 |
</equals> |
| 700 |
</condition> |
| 701 |
</enable> |
| 702 |
<input> |
| 703 |
<prop>/velocities/vertical-speed-fps</prop> |
| 704 |
</input> |
| 705 |
<reference> |
| 706 |
<prop>/autopilot/settings/vertical-speed-fpm</prop> |
| 707 |
<scale>0.01667</scale> |
| 708 |
</reference> |
| 709 |
<output> |
| 710 |
<prop>/autopilot/settings/target-pitch-deg</prop> |
| 711 |
</output> |
| 712 |
<config> |
| 713 |
<Kp>0.1</Kp> |
| 714 |
<beta>1.0</beta> |
| 715 |
<alpha>0.1</alpha> |
| 716 |
<gamma>0.0</gamma> |
| 717 |
|
| 718 |
<Ti>1.0</Ti> |
| 719 |
<Td>0.00001</Td> |
| 720 |
<u_min>-15.0</u_min> |
| 721 |
<u_max>15.0</u_max> |
| 722 |
</config> |
| 723 |
</pid-controller> |
| 724 |
|
| 725 |
|
| 726 |
<pid-controller> |
| 727 |
<name>Altitude Hold (Altimeter based) Stage 2</name> |
| 728 |
<debug>false</debug> |
| 729 |
<enable> |
| 730 |
<condition> |
| 731 |
<and> |
| 732 |
<not> |
| 733 |
<equals> |
| 734 |
<property>/autopilot/locks/control-wheel-steering</property> |
| 735 |
<value>1</value> |
| 736 |
</equals> |
| 737 |
</not> |
| 738 |
<or> |
| 739 |
<equals> |
| 740 |
<property>/autopilot/locks/altitude</property> |
| 741 |
<value>altitude-hold</value> |
| 742 |
</equals> |
| 743 |
<equals> |
| 744 |
<property>/autopilot/locks/altitude</property> |
| 745 |
<value>altitude-hold2</value> |
| 746 |
</equals> |
| 747 |
</or> |
| 748 |
</and> |
| 749 |
</condition> |
| 750 |
</enable> |
| 751 |
<input> |
| 752 |
<prop>/velocities/vertical-speed-fps</prop> |
| 753 |
</input> |
| 754 |
<reference> |
| 755 |
<prop>/autopilot/internal/target-climb-rate-fps</prop> |
| 756 |
</reference> |
| 757 |
<output> |
| 758 |
<prop>/autopilot/settings/target-pitch-deg</prop> |
| 759 |
</output> |
| 760 |
<config> |
| 761 |
<Kp>0.1</Kp> |
| 762 |
<beta>1.0</beta> |
| 763 |
<alpha>0.1</alpha> |
| 764 |
<gamma>0.0</gamma> |
| 765 |
|
| 766 |
<Ti>1.0</Ti> |
| 767 |
<Td>0.00001</Td> |
| 768 |
<u_min>-15.0</u_min> |
| 769 |
<u_max>15.0</u_max> |
| 770 |
</config> |
| 771 |
</pid-controller> |
| 772 |
|
| 773 |
|
| 774 |
|
| 775 |
|
| 776 |
|
| 777 |
|
| 778 |
|
| 779 |
<pid-controller> |
| 780 |
<name>Speed hold (vary pitch trim) Stage #1</name> |
| 781 |
<debug>false</debug> |
| 782 |
<enable> |
| 783 |
<condition> |
| 784 |
<equals> |
| 785 |
<property>/autopilot/locks/speed</property> |
| 786 |
<value>speed-with-pitch-trim</value> |
| 787 |
</equals> |
| 788 |
</condition> |
| 789 |
</enable> |
| 790 |
<input> |
| 791 |
<prop>/autopilot/internal/lookahead-5-sec-airspeed-kt</prop> |
| 792 |
</input> |
| 793 |
<reference> |
| 794 |
<prop>/autopilot/settings/target-speed-kt</prop> |
| 795 |
</reference> |
| 796 |
<output> |
| 797 |
<prop>/autopilot/settings/target-pitch-deg</prop> |
| 798 |
</output> |
| 799 |
<config> |
| 800 |
<Kp>-1.0</Kp> |
| 801 |
<beta>1.0</beta> |
| 802 |
<alpha>0.1</alpha> |
| 803 |
<gamma>0.0</gamma> |
| 804 |
|
| 805 |
<Ti>1.0</Ti> |
| 806 |
<Td>0.00001</Td> |
| 807 |
<u_min>-15.0</u_min> |
| 808 |
<u_max>15.0</u_max> |
| 809 |
</config> |
| 810 |
</pid-controller> |
| 811 |
|
| 812 |
|
| 813 |
<pid-controller> |
| 814 |
<name>Pitch hold</name> |
| 815 |
<debug>false</debug> |
| 816 |
<enable> |
| 817 |
<condition> |
| 818 |
<and> |
| 819 |
<equals> |
| 820 |
<property>/autopilot/locks/passive-mode</property> |
| 821 |
<value>0</value> |
| 822 |
</equals> |
| 823 |
<not> |
| 824 |
<equals> |
| 825 |
<property>/autopilot/locks/control-wheel-steering</property> |
| 826 |
<value>1</value> |
| 827 |
</equals> |
| 828 |
</not> |
| 829 |
<or> |
| 830 |
<not> |
| 831 |
<equals> |
| 832 |
<property>/autopilot/locks/altitude</property> |
| 833 |
<value></value> |
| 834 |
</equals> |
| 835 |
</not> |
| 836 |
<not> |
| 837 |
<equals> |
| 838 |
<property>/autopilot/locks/speed</property> |
| 839 |
<value></value> |
| 840 |
</equals> |
| 841 |
</not> |
| 842 |
</or> |
| 843 |
</and> |
| 844 |
</condition> |
| 845 |
</enable> |
| 846 |
<input> |
| 847 |
<prop>/orientation/pitch-deg</prop> |
| 848 |
</input> |
| 849 |
<reference> |
| 850 |
<prop>/autopilot/settings/target-pitch-deg</prop> |
| 851 |
</reference> |
| 852 |
<output> |
| 853 |
<prop>/controls/flight/elevator-trim</prop> |
| 854 |
</output> |
| 855 |
<config> |
| 856 |
<Kp>-0.05</Kp> |
| 857 |
<beta>1.0</beta> |
| 858 |
<alpha>0.1</alpha> |
| 859 |
<gamma>0.0</gamma> |
| 860 |
|
| 861 |
<Ti>1.0</Ti> |
| 862 |
<Td>0.00001</Td> |
| 863 |
<u_min>-1.0</u_min> |
| 864 |
<u_max>1.0</u_max> |
| 865 |
</config> |
| 866 |
</pid-controller> |
| 867 |
|
| 868 |
</PropertyList> |