What am I doing wrong when using matlab and ros?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want start roscore in terminal ubuntu and creat node in matlab. I have "Error creating the node /matlab_global_node_" when use rosinit. What am I doing wrong? Thanks
2 commentaires
Réponses (1)
bio lim
le 30 Nov 2016
When you start ROS on your terminal using roscore, check out the section:
ROS_MASTER_URI=http://XXXX:11311/
where XXXX is your computer name.
Then on your MATLAB, try setting as follows:
setenv('ROS_MASTER_URI', 'http://XXXX:11311/');
rosinit('NodeName', '/Matlab');
4 commentaires
Voir également
Catégories
En savoir plus sur Network Connection and Exploration dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!