Skip to content

berndporr/fastdds_demo

Repository files navigation

FAST DDS Demo

Based on this tutorial: https://fast-dds.docs.eprosima.com/en/latest/fastdds/getting_started/simple_app/simple_app.html

It demonstrates a realtime publisher / subscriber application.

alt tag

Prereqisites

Fast CDR

apt install libfastcdr-dev

Fast DDS

apt install libfastdds-dev

Fast DDS tools

apt install fastddsgen fastdds-tools

How to compile

fastddsgen HelloWorldMsg.idl
cmake .
make

How to run

Publisher

Open a terminal and type

./DDSHelloWorldPublisher

which uses a timer.

Listener

Open another terminal and type

./DDSHelloWorldSubscriber