Cannot Connect to ROS Master Running on Odroid XU4
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Andrew Poissant
el 16 de Ag. de 2019
Respondida: Andrew Poissant
el 22 de Ag. de 2019
I am trying to connect to the ROS master running on an odroid XU4. However, whenever I try to use rosinit, I get the error: "Cannot connect to ROS master at http://172.16.0.127:11311. Check the specified address or hostname." The Odroid XU4 is running Ubuntu 16.04. I set up a static IP address of 172.16.0.127, which is verified by running the 'infconfig' command. I also ran 'echo $ROS_MASTER_URI' in Ubuntu and get 'http://172.16.0.127:11311'. It seems that everything is set up properly but matlab can't establish connection? How do I resolve this issue?
Code Run in Matlab:
rosinit('172.16.0.127')
2 comentarios
Cam Salzberger
el 20 de Ag. de 2019
Are you sure the port number is supposed to be 1131? The default is usually 11311.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Publishers and Subscribers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!