Azzera filtri
Azzera filtri

ROS2 Galactic nodes not shown in Matlab

4 visualizzazioni (ultimi 30 giorni)
I have multiple Ubuntu PCs running on a LAN. They all run ROS2 Galactic and can exchage topics withot any issues.
A windows PC on the same LAN with Matlab 2022a dooes not find any nodes or topics.
I made sure everything is on the same subnet and all PCs have the same ROS_DOMAIN_ID set. I also walked through the troubleshooting instructions https://de.mathworks.com/matlabcentral/answers/497662-trying-to-connect-to-an-active-node-ros2 with no success.
Is ROS2 Galactic supported and expected to work with Matlab 2022a?
Thanks!

Risposta accettata

Sebastian Brückner
Sebastian Brückner il 10 Mar 2022
I think I can answer my own question: as an experiment, I installed ROS2 Foxy on one of the remote Ubuntu PCs and published a topic from Foxy. Matlab will list that topic and subscribe to it with no issue. Apparently Matlab does not support ROS2 Galactic.
New question: Is there a workaround to get Matlab to talk to Galactic?
  6 Commenti
Michael
Michael il 2 Giu 2022
Modificato: Michael il 2 Giu 2022
@Sebastian Brückner FYI, I've got ROS2 Galactic installed on my target machine (Ubuntu) and it seems to be talking fine to nodes that run on my Mac within the Matlab Environement.
UPDATE: It seems my Galactic install can see the Matlab generated nodes on the network, but can't see the Matlab services. I just tied changing the matlab cross-DDS middleware which didn't help. I also tried changing it on the Galactic install per your suggestion with no luck.
Can you confirm that you are able able to see both the Matlab generated nodes and services?
Jiawei Shen
Jiawei Shen il 25 Lug 2022
Hi,have you ever tried to make Matlab2021 and ROS2(Galactic) talking successfully?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Network Connection and Exploration in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by