Change RMW in Matlab R2021b

6 views (last 30 days)
준기 홍
준기 홍 on 15 Jul 2024
Edited: Jagadeesh Konakalla on 17 Jul 2024
Currently i'm using Matlab R2021b + Ubuntu22.04 Humble due to version compatibility with external program.
I have seen the guide to change the default RMW by Preferences -> ROS Toolbox. But my Matlab version seems like
there is no ROS Toolbox at Preferences. So I tried to change the RMW by command line
setenv('RMW_IMPLEMENTATION','rmw_cyclonedds_cpp')
Is there any method to check the RMW vendor?
Or is there another way to change it?

Answers (1)

Jagadeesh Konakalla
Jagadeesh Konakalla on 17 Jul 2024
Edited: Jagadeesh Konakalla on 17 Jul 2024
In R2021b, MATLAB uses Fast DDS only.
In 22a (Foxy support), we honour the environement variable that you are setting. And you can only switch between Fast DDS and Cyclone DDS.
From 22b, we added a new feature to easily switch between different DDS using preferences. This feature allows you to switch to other RMW implementations too.
I recommend you to upgrade to R2023b release where we support Humble and also switching RMW feature available.
Are you installaing MATLAB on Ubuntu 22.04 ? If so, would be good to upgrade to R2023b. Please provide more information in your setup and usage of different DDS.
Thanks,
Jagadeesh K.

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!