-
Notifications
You must be signed in to change notification settings - Fork 0
/
sendir-hygain500x.bat
70 lines (57 loc) · 6.13 KB
/
sendir-hygain500x.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@echo off
IF "%~1" == "L" (
echo N > currentHeading.txt
flirc_util.exe sendir --raw="+9061 -4483 +587 -514 +585 -516 +585 -516 +585 -516 +585 -515 +586 -516 +585 -516 +558 -542 +586 -1627 +586 -1628 +585 -1628 +585 -1628 +585 -1628 +585 -1628 +585 -1628 +584 -1628 +584 -516 +584 -1628 +585 -516 +584 -1627 +585 -1627 +584 -516 +558 -1653 +584 -516 +584 -1628 +585 -516 +566 -1645 +558 -543 +583 -517 +558 -1654 +558 -542 +531 -1680 +587" --repeat=3
)
IF "%~1" == "A" (
echo NNE > currentHeading.txt
flirc_util.exe sendir --raw="+9055 -4488 +588 -514 +584 -516 +585 -516 +585 -516 +585 -516 +585 -515 +586 -515 +585 -516 +585 -1628 +585 -1629 +585 -1627 +586 -1628 +585 -1627 +586 -1628 +585 -1628 +585 -1627 +585 -516 +584 -516 +585 -1627 +586 -515 +585 -516 +560 -541 +558 -1654 +585 -540 +560 -1628 +584 -1628 +580 -521 +585 -1627 +584 -1628 +558 -1654 +558 -543 +531 -1681 +558" --repeat=3
)
IF "%~1" == "B" (
echo ENE > currentHeading.txt
flirc_util.exe sendir --raw="+9058 -4490 +587 -515 +585 -517 +584 -516 +531 -569 +585 -516 +585 -516 +584 -516 +584 -516 +585 -1629 +584 -1630 +585 -1627 +586 -1629 +585 -1628 +587 -1625 +586 -1628 +585 -1627 +585 -1628 +577 -1635 +585 -1628 +585 -516 +585 -515 +585 -517 +584 -516 +584 -517 +585 -516 +584 -516 +585 -516 +584 -1628 +585 -1628 +585 -1627 +585 -1627 +585 -1628 +584" --repeat=3
)
IF "%~1" == "C" (
echo E > currentHeading.txt
flirc_util.exe sendir --raw="+9073 -4488 +558 -542 +584 -516 +584 -516 +578 -522 +563 -537 +583 -517 +558 -542 +558 -542 +558 -1653 +582 -1629 +558 -1652 +558 -1652 +558 -1651 +559 -1652 +558 -1652 +558 -1652 +559 -1652 +558 -541 +559 -541 +559 -1653 +558 -542 +557 -542 +558 -542 +558 -559 +541 -542 +557 -1651 +558 -1652 +558 -541 +558 -1652 +558 -1652 +558 -1652 +585 -1626 +558" --repeat=3
)
IF "%~1" == "D" (
echo ESE > currentHeading.txt
flirc_util.exe sendir --raw="+9048 -4487 +586 -514 +557 -542 +585 -514 +587 -512 +585 -515 +585 -514 +585 -515 +584 -515 +585 -1624 +585 -1625 +584 -1626 +585 -1625 +584 -1625 +586 -1642 +567 -1626 +585 -1627 +531 -568 +585 -514 +585 -514 +558 -543 +585 -514 +585 -514 +586 -1625 +531 -569 +585 -1625 +573 -1638 +572 -1638 +575 -1636 +532 -1697 +514 -1679 +531 -569 +573 -1637 +531" --repeat=3
)
IF "%~1" == "E" (
echo SSE > currentHeading.txt
flirc_util.exe sendir --raw="+9057 -4488 +583 -519 +578 -523 +582 -518 +583 -518 +582 -519 +582 -535 +566 -518 +582 -518 +583 -1629 +581 -1633 +583 -1630 +583 -1630 +583 -1630 +583 -1631 +583 -1630 +583 -1630 +614 -1599 +584 -518 +583 -517 +584 -1630 +584 -1630 +582 -519 +582 -519 +584 -517 +583 -517 +584 -1629 +616 -1599 +615 -486 +616 -486 +615 -1598 +616 -1598 +616 -1599 +616" --repeat=3
)
IF "%~1" == "F" (
echo S > currentHeading.txt
flirc_util.exe sendir --raw="+9054 -4488 +586 -515 +585 -515 +585 -515 +531 -569 +585 -515 +531 -569 +585 -516 +585 -515 +585 -1626 +586 -1626 +585 -1625 +572 -1640 +574 -1637 +586 -1626 +574 -1637 +572 -1639 +532 -569 +574 -1637 +532 -1680 +532 -568 +573 -1639 +531 -569 +574 -527 +531 -569 +572 -1644 +528 -569 +531 -570 +531 -1680 +588 -513 +531 -1681 +588 -1624 +531 -1681 +547" --repeat=3
)
IF "%~1" == "G" (
echo SSW > currentHeading.txt
flirc_util.exe sendir --raw="+9028 -4514 +533 -569 +532 -569 +531 -570 +531 -569 +539 -562 +531 -569 +531 -569 +531 -569 +531 -1681 +531 -1680 +531 -1681 +531 -1680 +532 -1680 +532 -1681 +577 -1635 +532 -1681 +532 -569 +532 -569 +532 -1681 +531 -1682 +531 -569 +532 -569 +532 -569 +532 -570 +531 -1681 +532 -1682 +532 -569 +532 -570 +531 -1682 +538 -1676 +533 -1682 +532 -1682 +531" --repeat=3
)
IF "%~1" == "H" (
echo WSW > currentHeading.txt
flirc_util.exe sendir --raw="+9054 -4486 +532 -569 +531 -569 +532 -569 +532 -569 +531 -569 +532 -568 +532 -569 +531 -569 +540 -1672 +531 -1681 +532 -1680 +531 -1680 +532 -1680 +531 -1680 +531 -1680 +532 -1679 +531 -569 +531 -569 +530 -569 +531 -1679 +531 -1680 +531 -569 +531 -569 +531 -568 +531 -1680 +531 -1681 +531 -1680 +532 -569 +531 -569 +531 -1680 +531 -1680 +531 -1680 +532" --repeat=3
)
IF "%~1" == "I" (
echo W > currentHeading.txt
flirc_util.exe sendir --raw="+9051 -4487 +533 -569 +531 -570 +531 -568 +532 -569 +531 -569 +532 -568 +532 -569 +531 -569 +532 -1680 +532 -1680 +578 -1635 +532 -1693 +519 -1680 +532 -1682 +532 -1680 +532 -1680 +532 -569 +532 -1681 +535 -1678 +532 -1680 +532 -1680 +532 -569 +531 -1681 +532 -568 +532 -1686 +526 -569 +532 -569 +531 -569 +532 -569 +531 -1681 +531 -569 +532 -1680 +532" --repeat=3
)
IF "%~1" == "J" (
echo WNW > currentHeading.txt
flirc_util.exe sendir --raw="+9028 -4514 +587 -515 +586 -516 +585 -515 +586 -515 +586 -515 +586 -515 +586 -516 +585 -516 +585 -1628 +586 -1628 +586 -1628 +585 -1628 +586 -1628 +585 -1628 +585 -1627 +572 -1641 +586 -516 +585 -515 +585 -516 +585 -1626 +586 -515 +531 -569 +585 -515 +585 -516 +584 -1627 +574 -1638 +532 -1680 +574 -527 +574 -1638 +574 -1639 +541 -1671 +573 -1647 +567" --repeat=3
)
IF "%~1" == "K" (
echo NNW > currentHeading.txt
flirc_util.exe sendir --raw="+9056 -4490 +588 -514 +532 -569 +531 -570 +531 -570 +587 -514 +531 -570 +531 -569 +531 -570 +531 -1681 +531 -1681 +532 -1681 +532 -1681 +532 -1682 +532 -1682 +532 -1681 +532 -1681 +532 -570 +531 -569 +532 -1681 +532 -1681 +533 -1680 +533 -569 +532 -569 +544 -556 +532 -1681 +532 -1680 +532 -569 +532 -569 +531 -569 +558 -1655 +531 -1682 +589 -1624 +532" --repeat=3
)
IF "%~1" == "U" (
echo NNW > currentHeading.txt
flirc_util.exe sendir --raw="+9056 -4490 +588 -514 +532 -569 +531 -570 +531 -570 +587 -514 +531 -570 +531 -569 +531 -570 +531 -1681 +531 -1681 +532 -1681 +532 -1681 +532 -1682 +532 -1682 +532 -1681 +532 -1681 +532 -570 +531 -569 +532 -1681 +532 -1681 +533 -1680 +533 -569 +532 -569 +544 -556 +532 -1681 +532 -1680 +532 -569 +532 -569 +531 -569 +558 -1655 +531 -1682 +589 -1624 +532" --repeat=3
)
IF "%~1" == "INITIAL" (
echo N > currentHeading.txt
flirc_util.exe sendir --raw="+9063 -4494 +559 -543 +585 -518 +558 -543 +533 -569 +532 -570 +557 -545 +558 -544 +532 -570 +532 -1682 +532 -1682 +532 -1682 +532 -1684 +532 -1682 +532 -1683 +532 -1683 +532 -1682 +532 -570 +532 -1681 +533 -569 +532 -569 +532 -569 +532 -569 +532 -1682 +532 -569 +532 -1701 +513 -570 +532 -1682 +532 -1682 +532 -1682 +532 -1682 +532 -570 +532 -1681 +533" --repeat=3
)