Issue publishing ROS messages to another machine.
Show older comments
Whenever I run rosinit(<IP ADDRESS>) to connect to another machine running ros, my computer has issues communicating to the other machine. My matlab can receive rosmessages from the other machine, but it can't send them. When I try to publish messages, the other machine can see that the topics are being published to, but when I try to rostopic echo them, nothing pops up.
Additionally, when I run rqt_graph on the other machine, I can see the global node matlab publishes as "n__matlab_global_node_36579". I can see that this node is publishing/subscribing to the appropriate topics, but I still can't see any of the messages.
I've managed to make this connection before on other machines, and when I run rqt_graph they get displayed as "/matlab_global_node_16900". I'm wonding if it's the matlab global node declaration that's having an issue? There wasn't really any difference between the two machines running matlab in terms of setup for rosinit. They both ran the same command (rosinit(<IP>))
I'm using the Robotics Sytem Toolbox, running Matlab 2018b
4 Comments
Walter Roberson
on 2 Mar 2019
This sounds like it might be a firewall issue ?
Patrick B
on 3 Mar 2019
Patrick B
on 4 Mar 2019
Patrick B
on 4 Mar 2019
Accepted Answer
More Answers (0)
Categories
Find more on Network Connection and Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

