1
0
Fork 0
flightgear/examples/dds
2021-03-27 13:31:39 +01:00
..
fgfdm_log.c Move the C version of fgfdm_log.c to examples/dds/ and convert it to C++ as fg_dds_log.cpp using the SimGear provided hepper classes. 2021-03-27 13:31:39 +01:00
README Move the C version of fgfdm_log.c to examples/dds/ and convert it to C++ as fg_dds_log.cpp using the SimGear provided hepper classes. 2021-03-27 13:31:39 +01:00

Data Distribution Service (DDS) logger

This example uses a waitset to listens to the FlightGear GUI, FDM adn Ctrls
DDS topics and logs some data for any of them when new data arrives.

Run FlightGear with any combination  of the following command line arguments to
get it to produce new DDS samples:

fgfs
 --native-gui=dds,out,30
 --native-fdm=dds,out,60
 --native-ctrls=dds,out,10


The executable has to be linkes against the CycloneDDS ddsc component and
all *.c files in src/Network/DDS:

gcc -I ../../src fgfdm_log.c ../../src/Network/DDS/*.c  -l ddsc -o fgfdm_log