| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <PropertyList include="nav-selector-config.xml"> |
| 4 | |
| 5 | <filter> |
| 6 | <name>watchdog</name> |
| 7 | <type>gain</type> |
| 8 | <debug>false</debug> |
| 9 | <enable> |
| 10 | <condition> |
| 11 | <or> |
| 12 | <and> |
| 13 | <property>instrumentation/nav-source/in-range</property> |
| 14 | <less-than> |
| 15 | <property>instrumentation/nav-source/watchdog</property> |
| 16 | <value>1.0</value> |
| 17 | </less-than> |
| 18 | </and> |
| 19 | <and> |
| 20 | <not><property>instrumentation/nav-source/in-range</property></not> |
| 21 | <greater-than> |
| 22 | <property>instrumentation/nav-source/watchdog</property> |
| 23 | <value>1.0</value> |
| 24 | </greater-than> |
| 25 | </and> |
| 26 | </or> |
| 27 | </condition> |
| 28 | </enable> |
| 29 | <input> |
| 30 | <condition> |
| 31 | <property>instrumentation/nav-source/in-range</property> |
| 32 | </condition> |
| 33 | <property>sim/time/elapsed-sec</property> |
| 34 | <offset>1.0</offset> |
| 35 | </input> |
| 36 | <input>0.0</input> |
| 37 | <output>instrumentation/nav-source/watchdog</output> |
| 38 | </filter> |
| 39 | |
| 40 | <filter> |
| 41 | <name>signal valid</name> |
| 42 | <type>gain</type> |
| 43 | <debug>false</debug> |
| 44 | <enable> |
| 45 | <condition> |
| 46 | <not-equals> |
| 47 | <property>instrumentation/nav-source/in-range</property> |
| 48 | <property>instrumentation/nav-source/signal-valid</property> |
| 49 | </not-equals> |
| 50 | </condition> |
| 51 | </enable> |
| 52 | <input> |
| 53 | <condition> |
| 54 | <property>instrumentation/nav-source/in-range</property> |
| 55 | <greater-than> |
| 56 | <property>instrumentation/nav-source/watchdog</property> |
| 57 | <value>1.0</value> |
| 58 | </greater-than> |
| 59 | <greater-than> |
| 60 | <property>sim/time/elapsed-sec</property> |
| 61 | <property>instrumentation/nav-source/watchdog</property> |
| 62 | </greater-than> |
| 63 | </condition> |
| 64 | <value>1</value> |
| 65 | </input> |
| 66 | <input>0</input> |
| 67 | <output>instrumentation/nav-source/signal-valid</output> |
| 68 | </filter> |
| 69 | |
| 70 | <filter> |
| 71 | <name>in-range</name> |
| 72 | <type>gain</type> |
| 73 | <debug>false</debug> |
| 74 | <input> |
| 75 | <condition> |
| 76 | <equals> |
| 77 | <property>instrumentation/nav-source/selector</property> |
| 78 | <value>0</value> |
| 79 | </equals> |
| 80 | </condition> |
| 81 | <property alias="/params/source1-in-range"/> |
| 82 | </input> |
| 83 | <input> |
| 84 | <condition> |
| 85 | <equals> |
| 86 | <property>instrumentation/nav-source/selector</property> |
| 87 | <value>1</value> |
| 88 | </equals> |
| 89 | </condition> |
| 90 | <property alias="/params/source2-in-range"/> |
| 91 | </input> |
| 92 | <input> |
| 93 | <condition> |
| 94 | <equals> |
| 95 | <property>instrumentation/nav-source/selector</property> |
| 96 | <value>2</value> |
| 97 | </equals> |
| 98 | </condition> |
| 99 | <property alias="/params/source3-in-range"/> |
| 100 | </input> |
| 101 | <input>0</input> |
| 102 | <output>instrumentation/nav-source/in-range</output> |
| 103 | </filter> |
| 104 | |
| 105 | <filter> |
| 106 | <name>from-flag</name> |
| 107 | <type>gain</type> |
| 108 | <debug>false</debug> |
| 109 | <input> |
| 110 | <condition> |
| 111 | <equals> |
| 112 | <property>instrumentation/nav-source/selector</property> |
| 113 | <value>0</value> |
| 114 | </equals> |
| 115 | </condition> |
| 116 | <property alias="/params/source1-from-flag"/> |
| 117 | </input> |
| 118 | <input> |
| 119 | <condition> |
| 120 | <equals> |
| 121 | <property>instrumentation/nav-source/selector</property> |
| 122 | <value>1</value> |
| 123 | </equals> |
| 124 | </condition> |
| 125 | <property alias="/params/source2-from-flag"/> |
| 126 | </input> |
| 127 | <input> |
| 128 | <condition> |
| 129 | <equals> |
| 130 | <property>instrumentation/nav-source/selector</property> |
| 131 | <value>2</value> |
| 132 | </equals> |
| 133 | </condition> |
| 134 | <property alias="/params/source3-from-flag"/> |
| 135 | </input> |
| 136 | <input>0</input> |
| 137 | <output>instrumentation/nav-source/from-flag</output> |
| 138 | </filter> |
| 139 | |
| 140 | <filter> |
| 141 | <name>to-flag</name> |
| 142 | <type>gain</type> |
| 143 | <debug>false</debug> |
| 144 | <input> |
| 145 | <condition> |
| 146 | <equals> |
| 147 | <property>instrumentation/nav-source/selector</property> |
| 148 | <value>0</value> |
| 149 | </equals> |
| 150 | </condition> |
| 151 | <property alias="/params/source1-to-flag"/> |
| 152 | </input> |
| 153 | <input> |
| 154 | <condition> |
| 155 | <equals> |
| 156 | <property>instrumentation/nav-source/selector</property> |
| 157 | <value>1</value> |
| 158 | </equals> |
| 159 | </condition> |
| 160 | <property alias="/params/source2-to-flag"/> |
| 161 | </input> |
| 162 | <input> |
| 163 | <condition> |
| 164 | <equals> |
| 165 | <property>instrumentation/nav-source/selector</property> |
| 166 | <value>2</value> |
| 167 | </equals> |
| 168 | </condition> |
| 169 | <property alias="/params/source3-to-flag"/> |
| 170 | </input> |
| 171 | <input>0</input> |
| 172 | <output>instrumentation/nav-source/to-flag</output> |
| 173 | </filter> |
| 174 | |
| 175 | <filter> |
| 176 | <name>nav-loc</name> |
| 177 | <type>gain</type> |
| 178 | <debug>false</debug> |
| 179 | <input> |
| 180 | <condition> |
| 181 | <equals> |
| 182 | <property>instrumentation/nav-source/selector</property> |
| 183 | <value>0</value> |
| 184 | </equals> |
| 185 | </condition> |
| 186 | <property alias="/params/source1-nav-loc"/> |
| 187 | </input> |
| 188 | <input> |
| 189 | <condition> |
| 190 | <equals> |
| 191 | <property>instrumentation/nav-source/selector</property> |
| 192 | <value>1</value> |
| 193 | </equals> |
| 194 | </condition> |
| 195 | <property alias="/params/source2-nav-loc"/> |
| 196 | </input> |
| 197 | <input> |
| 198 | <condition> |
| 199 | <equals> |
| 200 | <property>instrumentation/nav-source/selector</property> |
| 201 | <value>2</value> |
| 202 | </equals> |
| 203 | </condition> |
| 204 | <property alias="/params/source3-nav-loc"/> |
| 205 | </input> |
| 206 | <input>0</input> |
| 207 | <output>instrumentation/nav-source/nav-loc</output> |
| 208 | </filter> |
| 209 | |
| 210 | <filter> |
| 211 | <name>has-gs</name> |
| 212 | <type>gain</type> |
| 213 | <debug>false</debug> |
| 214 | <input> |
| 215 | <condition> |
| 216 | <equals> |
| 217 | <property>instrumentation/nav-source/selector</property> |
| 218 | <value>0</value> |
| 219 | </equals> |
| 220 | </condition> |
| 221 | <property alias="/params/source1-has-gs"/> |
| 222 | </input> |
| 223 | <input> |
| 224 | <condition> |
| 225 | <equals> |
| 226 | <property>instrumentation/nav-source/selector</property> |
| 227 | <value>1</value> |
| 228 | </equals> |
| 229 | </condition> |
| 230 | <property alias="/params/source2-has-gs"/> |
| 231 | </input> |
| 232 | <input> |
| 233 | <condition> |
| 234 | <equals> |
| 235 | <property>instrumentation/nav-source/selector</property> |
| 236 | <value>2</value> |
| 237 | </equals> |
| 238 | </condition> |
| 239 | <property alias="/params/source3-has-gs"/> |
| 240 | </input> |
| 241 | <input>0</input> |
| 242 | <output>instrumentation/nav-source/has-gs</output> |
| 243 | </filter> |
| 244 | |
| 245 | <filter> |
| 246 | <name>gs-in-range</name> |
| 247 | <type>gain</type> |
| 248 | <debug>false</debug> |
| 249 | <input> |
| 250 | <condition> |
| 251 | <equals> |
| 252 | <property>instrumentation/nav-source/selector</property> |
| 253 | <value>0</value> |
| 254 | </equals> |
| 255 | </condition> |
| 256 | <property alias="/params/source1-gs-in-range"/> |
| 257 | </input> |
| 258 | <input> |
| 259 | <condition> |
| 260 | <equals> |
| 261 | <property>instrumentation/nav-source/selector</property> |
| 262 | <value>1</value> |
| 263 | </equals> |
| 264 | </condition> |
| 265 | <property alias="/params/source2-gs-in-range"/> |
| 266 | </input> |
| 267 | <input> |
| 268 | <condition> |
| 269 | <equals> |
| 270 | <property>instrumentation/nav-source/selector</property> |
| 271 | <value>2</value> |
| 272 | </equals> |
| 273 | </condition> |
| 274 | <property alias="/params/source3-gs-in-range"/> |
| 275 | </input> |
| 276 | <input>0</input> |
| 277 | <output>instrumentation/nav-source/gs-in-range</output> |
| 278 | </filter> |
| 279 | |
| 280 | <filter> |
| 281 | <name>gs-rate-of-climb</name> |
| 282 | <type>gain</type> |
| 283 | <debug>false</debug> |
| 284 | <input> |
| 285 | <condition> |
| 286 | <equals> |
| 287 | <property>instrumentation/nav-source/selector</property> |
| 288 | <value>0</value> |
| 289 | </equals> |
| 290 | </condition> |
| 291 | <property alias="/params/source1-gs-rate-of-climb"/> |
| 292 | </input> |
| 293 | <input> |
| 294 | <condition> |
| 295 | <equals> |
| 296 | <property>instrumentation/nav-source/selector</property> |
| 297 | <value>1</value> |
| 298 | </equals> |
| 299 | </condition> |
| 300 | <property alias="/params/source2-gs-rate-of-climb"/> |
| 301 | </input> |
| 302 | <input> |
| 303 | <condition> |
| 304 | <equals> |
| 305 | <property>instrumentation/nav-source/selector</property> |
| 306 | <value>2</value> |
| 307 | </equals> |
| 308 | </condition> |
| 309 | <property alias="/params/source3-gs-rate-of-climb"/> |
| 310 | </input> |
| 311 | <input>0</input> |
| 312 | <output>instrumentation/nav-source/gs-rate-of-climb</output> |
| 313 | </filter> |
| 314 | |
| 315 | <filter> |
| 316 | <name>gs-rate-of-climb-fpm</name> |
| 317 | <type>gain</type> |
| 318 | <debug>false</debug> |
| 319 | <input> |
| 320 | <condition> |
| 321 | <equals> |
| 322 | <property>instrumentation/nav-source/selector</property> |
| 323 | <value>0</value> |
| 324 | </equals> |
| 325 | </condition> |
| 326 | <property alias="/params/source1-gs-rate-of-climb-fpm"/> |
| 327 | </input> |
| 328 | <input> |
| 329 | <condition> |
| 330 | <equals> |
| 331 | <property>instrumentation/nav-source/selector</property> |
| 332 | <value>1</value> |
| 333 | </equals> |
| 334 | </condition> |
| 335 | <property alias="/params/source2-gs-rate-of-climb-fpm"/> |
| 336 | </input> |
| 337 | <input> |
| 338 | <condition> |
| 339 | <equals> |
| 340 | <property>instrumentation/nav-source/selector</property> |
| 341 | <value>2</value> |
| 342 | </equals> |
| 343 | </condition> |
| 344 | <property alias="/params/source3-gs-rate-of-climb-fpm"/> |
| 345 | </input> |
| 346 | <input>0</input> |
| 347 | <output>instrumentation/nav-source/gs-rate-of-climb-fpm</output> |
| 348 | </filter> |
| 349 | |
| 350 | <filter> |
| 351 | <name>heading-needle-deflection</name> |
| 352 | <type>gain</type> |
| 353 | <debug>false</debug> |
| 354 | <input> |
| 355 | <condition> |
| 356 | <equals> |
| 357 | <property>instrumentation/nav-source/selector</property> |
| 358 | <value>0</value> |
| 359 | </equals> |
| 360 | <property alias="/params/source1-in-range"/> |
| 361 | </condition> |
| 362 | <property alias="/params/source1-heading-needle-deflection"/> |
| 363 | </input> |
| 364 | <input> |
| 365 | <condition> |
| 366 | <equals> |
| 367 | <property>instrumentation/nav-source/selector</property> |
| 368 | <value>1</value> |
| 369 | </equals> |
| 370 | <property alias="/params/source2-in-range"/> |
| 371 | </condition> |
| 372 | <property alias="/params/source2-heading-needle-deflection"/> |
| 373 | </input> |
| 374 | <input> |
| 375 | <condition> |
| 376 | <equals> |
| 377 | <property>instrumentation/nav-source/selector</property> |
| 378 | <value>2</value> |
| 379 | </equals> |
| 380 | <property alias="/params/source3-in-range"/> |
| 381 | </condition> |
| 382 | <property alias="/params/source3-heading-needle-deflection"/> |
| 383 | </input> |
| 384 | <input>0</input> |
| 385 | <output>instrumentation/nav-source/heading-needle-deflection</output> |
| 386 | </filter> |
| 387 | |
| 388 | <filter> |
| 389 | <name>heading-needle-deflection-norm</name> |
| 390 | <type>gain</type> |
| 391 | <debug>false</debug> |
| 392 | <input> |
| 393 | <condition> |
| 394 | <equals> |
| 395 | <property>instrumentation/nav-source/selector</property> |
| 396 | <value>0</value> |
| 397 | </equals> |
| 398 | <property alias="/params/source1-in-range"/> |
| 399 | </condition> |
| 400 | <property alias="/params/source1-heading-needle-deflection-norm"/> |
| 401 | </input> |
| 402 | <input> |
| 403 | <condition> |
| 404 | <equals> |
| 405 | <property>instrumentation/nav-source/selector</property> |
| 406 | <value>1</value> |
| 407 | </equals> |
| 408 | <property alias="/params/source2-in-range"/> |
| 409 | </condition> |
| 410 | <property alias="/params/source2-heading-needle-deflection-norm"/> |
| 411 | </input> |
| 412 | <input> |
| 413 | <condition> |
| 414 | <equals> |
| 415 | <property>instrumentation/nav-source/selector</property> |
| 416 | <value>2</value> |
| 417 | </equals> |
| 418 | <property alias="/params/source3-in-range"/> |
| 419 | </condition> |
| 420 | <expression> |
| 421 | <product> |
| 422 | <property alias="/params/source3-heading-needle-deflection"/> |
| 423 | <value>0.1</value> |
| 424 | </product> |
| 425 | </expression> |
| 426 | </input> |
| 427 | <input>0</input> |
| 428 | <output>instrumentation/nav-source/heading-needle-deflection-norm</output> |
| 429 | </filter> |
| 430 | |
| 431 | <filter> |
| 432 | <name>gs-needle-deflection</name> |
| 433 | <type>gain</type> |
| 434 | <debug>false</debug> |
| 435 | <input> |
| 436 | <condition> |
| 437 | <equals> |
| 438 | <property>instrumentation/nav-source/selector</property> |
| 439 | <value>0</value> |
| 440 | </equals> |
| 441 | </condition> |
| 442 | <property alias="/params/source1-gs-needle-deflection"/> |
| 443 | </input> |
| 444 | <input> |
| 445 | <condition> |
| 446 | <equals> |
| 447 | <property>instrumentation/nav-source/selector</property> |
| 448 | <value>1</value> |
| 449 | </equals> |
| 450 | </condition> |
| 451 | <property alias="/params/source2-gs-needle-deflection"/> |
| 452 | </input> |
| 453 | <input> |
| 454 | <condition> |
| 455 | <equals> |
| 456 | <property>instrumentation/nav-source/selector</property> |
| 457 | <value>2</value> |
| 458 | </equals> |
| 459 | </condition> |
| 460 | <property alias="/params/source3-gs-needle-deflection"/> |
| 461 | </input> |
| 462 | <input>0</input> |
| 463 | <output>instrumentation/nav-source/gs-needle-deflection</output> |
| 464 | </filter> |
| 465 | |
| 466 | <filter> |
| 467 | <name>gs-needle-deflection-norm</name> |
| 468 | <type>gain</type> |
| 469 | <debug>false</debug> |
| 470 | <input> |
| 471 | <condition> |
| 472 | <equals> |
| 473 | <property>instrumentation/nav-source/selector</property> |
| 474 | <value>0</value> |
| 475 | </equals> |
| 476 | </condition> |
| 477 | <property alias="/params/source1-gs-needle-deflection-norm"/> |
| 478 | </input> |
| 479 | <input> |
| 480 | <condition> |
| 481 | <equals> |
| 482 | <property>instrumentation/nav-source/selector</property> |
| 483 | <value>1</value> |
| 484 | </equals> |
| 485 | </condition> |
| 486 | <property alias="/params/source2-gs-needle-deflection-norm"/> |
| 487 | </input> |
| 488 | <input> |
| 489 | <condition> |
| 490 | <equals> |
| 491 | <property>instrumentation/nav-source/selector</property> |
| 492 | <value>2</value> |
| 493 | </equals> |
| 494 | </condition> |
| 495 | <property alias="/params/source3-gs-needle-deflection-norm"/> |
| 496 | </input> |
| 497 | <input>0</input> |
| 498 | <output>instrumentation/nav-source/gs-needle-deflection-norm</output> |
| 499 | </filter> |
| 500 | |
| 501 | <filter> |
| 502 | <name>selected-radial-deg</name> |
| 503 | <type>gain</type> |
| 504 | <debug>false</debug> |
| 505 | <input> |
| 506 | <condition> |
| 507 | <equals> |
| 508 | <property>instrumentation/nav-source/selector</property> |
| 509 | <value>0</value> |
| 510 | </equals> |
| 511 | </condition> |
| 512 | <property alias="/params/source1-selected-radial-deg"/> |
| 513 | </input> |
| 514 | <input> |
| 515 | <condition> |
| 516 | <equals> |
| 517 | <property>instrumentation/nav-source/selector</property> |
| 518 | <value>1</value> |
| 519 | </equals> |
| 520 | </condition> |
| 521 | <property alias="/params/source2-selected-radial-deg"/> |
| 522 | </input> |
| 523 | <input> |
| 524 | <condition> |
| 525 | <equals> |
| 526 | <property>instrumentation/nav-source/selector</property> |
| 527 | <value>2</value> |
| 528 | </equals> |
| 529 | </condition> |
| 530 | <property alias="/params/source3-selected-radial-deg"/> |
| 531 | </input> |
| 532 | <input>0</input> |
| 533 | <output>instrumentation/nav-source/selected-radial-deg</output> |
| 534 | </filter> |
| 535 | |
| 536 | <filter> |
| 537 | <name>target-radial-deg</name> |
| 538 | <type>gain</type> |
| 539 | <debug>false</debug> |
| 540 | <input> |
| 541 | <condition> |
| 542 | <equals> |
| 543 | <property>instrumentation/nav-source/selector</property> |
| 544 | <value>0</value> |
| 545 | </equals> |
| 546 | </condition> |
| 547 | <property alias="/params/source1-target-radial-deg"/> |
| 548 | </input> |
| 549 | <input> |
| 550 | <condition> |
| 551 | <equals> |
| 552 | <property>instrumentation/nav-source/selector</property> |
| 553 | <value>1</value> |
| 554 | </equals> |
| 555 | </condition> |
| 556 | <property alias="/params/source2-target-radial-deg"/> |
| 557 | </input> |
| 558 | <input> |
| 559 | <condition> |
| 560 | <equals> |
| 561 | <property>instrumentation/nav-source/selector</property> |
| 562 | <value>2</value> |
| 563 | </equals> |
| 564 | </condition> |
| 565 | <property alias="/params/source3-target-radial-deg"/> |
| 566 | </input> |
| 567 | <input>0</input> |
| 568 | <output>instrumentation/nav-source/target-radial-deg</output> |
| 569 | </filter> |
| 570 | |
| 571 | <filter> |
| 572 | <name>course-error</name> |
| 573 | <debug>false</debug> |
| 574 | <type>gain</type> |
| 575 | <input> |
| 576 | <condition> |
| 577 | <not><property>autopilot/kap140/config/hsi-installed</property></not> |
| 578 | </condition> |
| 579 | <property>autopilot/internal/heading-bug-error-deg</property> |
| 580 | </input> |
| 581 | <input> |
| 582 | <condition> |
| 583 | <equals> |
| 584 | <property>instrumentation/nav-source/selector</property> |
| 585 | <value>0</value> |
| 586 | </equals> |
| 587 | </condition> |
| 588 | <expression> |
| 589 | <dif> |
| 590 | <property alias="/params/source1-selected-radial-deg"/> |
| 591 | <property>instrumentation/heading-indicator/indicated-heading-deg</property> |
| 592 | </dif> |
| 593 | </expression> |
| 594 | </input> |
| 595 | <input> |
| 596 | <condition> |
| 597 | <equals> |
| 598 | <property>instrumentation/nav-source/selector</property> |
| 599 | <value>1</value> |
| 600 | </equals> |
| 601 | </condition> |
| 602 | <expression> |
| 603 | <dif> |
| 604 | <property alias="/params/source2-selected-radial-deg"/> |
| 605 | <property>instrumentation/heading-indicator/indicated-heading-deg</property> |
| 606 | </dif> |
| 607 | </expression> |
| 608 | </input> |
| 609 | <input> |
| 610 | <condition> |
| 611 | <equals> |
| 612 | <property>instrumentation/nav-source/selector</property> |
| 613 | <value>2</value> |
| 614 | </equals> |
| 615 | </condition> |
| 616 | <expression> |
| 617 | <dif> |
| 618 | <property alias="/params/source3-selected-radial-deg"/> |
| 619 | <property>instrumentation/heading-indicator/indicated-heading-deg</property> |
| 620 | </dif> |
| 621 | </expression> |
| 622 | </input> |
| 623 | <input>0</input> |
| 624 | <output>instrumentation/nav-source/course-error</output> |
| 625 | <period> |
| 626 | <min>-180</min> |
| 627 | <max>180</max> |
| 628 | </period> |
| 629 | </filter> |
| 630 | |
| 631 | </PropertyList> |