Followed this to solve the problem: https://www.mathworks.com/help/ros/ug/get-started-with-gazebo-and-a-simulated-turtlebot.html
communicating with node in VM
2 views (last 30 days)
I am having trouble communicating with my MATLAB ROS ndoe. I am deploying my node into my VM and trying to see the topic.
While I am able to see the topics from the MATLAB node, I cannnot send any messages to the node.
I think that it is a problem with the ROS IP but not sure how it should be set.
The VM bashRC:
export ROS_IP=$(hostname -I | tr -d [:blank:])
my local machine bashrc
What is the proper way of setting the IP address.