| 1 |
Data Distribution Service (DDS) logger |
| 2 |
|
| 3 |
This example uses a waitset to listens to the FlightGear GUI, FDM adn Ctrls |
| 4 |
DDS topics and logs some data for any of them when new data arrives. |
| 5 |
|
| 6 |
Run FlightGear with any combination of the following command line arguments to |
| 7 |
get it to produce new DDS samples: |
| 8 |
|
| 9 |
fgfs |
| 10 |
--native-gui=dds,out,30 |
| 11 |
--native-fdm=dds,out,60 |
| 12 |
--native-ctrls=dds,out,10 |
| 13 |
|
| 14 |
|
| 15 |
The executable has to be linkes against the CycloneDDS ddsc component and |
| 16 |
all *.c files in src/Network/DDS: |
| 17 |
|
| 18 |
gcc -I ../../src fgfdm_log.c ../../src/Network/DDS/*.c -l ddsc -o fgfdm_log |