-
Notifications
You must be signed in to change notification settings - Fork 2
/
binary-protocol.xml
47 lines (46 loc) · 1.5 KB
/
binary-protocol.xml
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
<?xml version="1.0"?>
<PropertyList>
<generic>
<input>
<binary_mode>true</binary_mode>
<!-- I set byte_order to host because the struct -->
<!-- is sent with a Little Endian encoding -->
<byte_order>host</byte_order>
<chunk>
<name>Mixture</name>
<type>double</type>
<node>/controls/engines/current-engine/mixture</node>
</chunk>
<chunk>
<name>Throttle</name>
<type>double</type>
<node>/controls/engines/current-engine/throttle</node>
</chunk>
<chunk>
<name>Aileron</name>
<type>double</type>
<node>/controls/flight/aileron</node>
</chunk>
<chunk>
<name>Elevator</name>
<type>double</type>
<node>/controls/flight/elevator</node>
</chunk>
<chunk>
<name>Rudder</name>
<type>double</type>
<node>/controls/flight/rudder</node>
</chunk>
<chunk>
<name>Magnetos</name>
<type>int</type>
<node>/controls/switches/magnetos</node>
</chunk>
<chunk>
<name>Starter</name>
<type>bool</type>
<node>/controls/switches/starter</node>
</chunk>
</input>
</generic>
</PropertyList>