Running CAMS in hybrid simulation mode » History » Version 1
Rafael Bailon-Ruiz, 2021-04-04 20:27
1 | 1 | Rafael Bailon-Ruiz | h1. Running CAMS in hybrid simulation mode |
---|---|---|---|
2 | |||
3 | The hybrid simulation mode makes use of real UAVs in a virtual cloud environment. |
||
4 | |||
5 | h2. Ivy bus configuration |
||
6 | |||
7 | Paparazzi is probably running in another computer operated by ENAC staff. You need to set the IVY_BUS environment variable to the network broadcast IP address in order to send and receive IVY messages. Example: |
||
8 | |||
9 | <pre><code class="shell"> |
||
10 | export IVY_BUS="192.168.1.255:2010" # Replace with the appropriate URL |
||
11 | </code></pre> |
||
12 | |||
13 | Tip: You can test your configuration with the ivyprobe command to examine the ivy bus. CAMS messages go into the datalink category. |
||
14 | <pre><code class="shell"> |
||
15 | ivyprobe -b 192.168.2.255 '(datalink .*)' # Subscribe to datalink |
||
16 | ivyprobe -b 192.168.2.255 '(.*)' # Probe all |
||
17 | </code></pre> |
||
18 | |||
19 | h2. Virtual probe settings |
||
20 | |||
21 | For the best results with the adaptive flight patterns check the RCT variable range. The interval [0.00001, 0.001] has been proved to give good results during the Lannemezan 2021-03 campaign. Note that the range is translated to a 0 to 255 value using a logarithmic scale. Example: |
||
22 | |||
23 | <pre><code class="yaml"> |
||
24 | aircrafts: |
||
25 | 11: |
||
26 | replay: false |
||
27 | type: 'pprz' |
||
28 | plugins: |
||
29 | - MesonhProbe: |
||
30 | mesonhFiles: *mesonh_files |
||
31 | mesonhVariables: ['PABST', 'RCT', 'RVT', 'THT', 'TKET', 'WT', ['UT','VT']] |
||
32 | rctFeedback: True |
||
33 | defaultRctBounds: [0.00001, 0.001] |
||
34 | </code></pre> |