How do I deploy a DDS model to my Linux Target using "Embedded Coder Support Package for Linux Applications"?

How can I deploy a DDS model as a standalone application to my Linux Target using "Embedded Coder Support Package for Linux Applications"?

 Accepted Answer

Deploying DDS models to Linux Target is supported since R2023a for vendors eProsima & RTI Connext. In R2023b, we added additional support for the Cyclone DDS toolchain.
Follow the steps below to deploy the 'shapesdemo' DDS example model to Linux Target:
1. Open the 'shapesdemo' DDS example using the following command:
>> shapesdemo
2. Open Model Settings > Hardware Implementation > Hardware Boards and select:
"Embedded Coder Linux Docker Container".
3. Go to Model Settings > Code Generation. Notice that System Target File is set to "ert.tlc". Select the desired DDS toolchain ("eProsima 2.x Project", "RTI Connext", or "Cyclone DDS").
4. Save the 'shapesdemo' model.
5. Create & Deploy 'shapesdemo' through Linux Runtime Manager as shown here:https://www.mathworks.com/help/releases/R2023a/autosar/ug/posix_getstarted_example.html
6. Optional: Install the RTI Shapes Demo (https://www.rti.com/free-trial/shapes-demo) on the Linux machine. Publish (blue) squares and subscribe to (red) circles.
7. Run 'shapesdemo' model in Linux Runtime Manager, and observe circles in RTI Shapes Demo.

More Answers (0)

Categories

Find more on Get Started with DDS Blockset in Help Center and File Exchange

Products

Release

R2023a

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!