ROS messages aren't getting through to the robot?

2 views (last 30 days)
I am trying to publish a message to a ROS topic using Matlab, and then access that topic on a robot. The process works in reverse: I can use Matlab to read messages published by the robot. I can also create a topic in Matlab and see that change reflected on the robot. However, I can't get a message through to the robot; echoing the topic in Matlab shows the message, but echoing it on the robot shows nothing.
I am working with some code that worked with Matlab 2016b, but I'm using Matlab 2017a. Has anything changed that would cause this issue?

Accepted Answer

Arun Mathamkode
Arun Mathamkode on 11 Aug 2017
A possible issue is that your firewall software may be interfering and blocking some ports that are required for publishing ROS messages. Disabling any firewall software might help in resolving the issue.
  1 Comment
Salih Ertug OVUR
Salih Ertug OVUR on 19 Nov 2019
This solved my problem! I just disabled firewall protection from antivirus software.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!