Issue publishing ROS messages to another machine.
28 views (last 30 days)
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
Accepted Answer
Patrick B
on 4 Mar 2019
2 Comments
Subham subham
on 25 Mar 2021
Hello Patrick B,
Could you please describe how to add a new outbound rule to firewall.
I tried to add but it is now working.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!