3.9. Examples¶
Connext DDS Micro provides buildable example applications, in the example/ directory. Each example comes with instructions on how to build and run an application.
In addition to the provided examples, the RTI Code Generator available with Connext DDS Micro can generate example DDS applications with a type definition file as input. For more information read the guide in Example Generation.
Note that by default, all the examples link against release libraries. To build release libraries:
./resource/scripts/rtime-make --name x64Darwin17clang9.0 --target self --build --config Release
To build the examples against the debug libraries, specify the DEBUG option:
make DEBUG=Y
HelloWorld_transformations. Same as HelloWorld_dpde, except it uses UDP transformations to send encrypted packets using OpenSSL.
RTPS. Example of an RTPS emitter that bypasses the DDS module and APIs to send RTPS discovery and user data.
Latency. Measures the end-to-end latency of Connext DDS Micro.
Throughput. Measures the end-to-end throughput of Connext DDS Micro.