communicating with node in VM

3 ビュー (過去 30 日間)
Nathaniel Goldfarb
Nathaniel Goldfarb 2021 年 7 月 5 日
回答済み: Nathaniel Goldfarb 2021 年 7 月 5 日
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 SVGA_VGPU10=0
export ROS_IP=$(hostname -I | tr -d [:blank:])
export ROS_MASTER_URI=http://$ROS_IP:11311
my local machine bashrc
export ROS_IP=192.168.137.129
export ROS_MASTER_URI=http://192.168.137.129:11311/
What is the proper way of setting the IP address.

採用された回答

Nathaniel Goldfarb
Nathaniel Goldfarb 2021 年 7 月 5 日
Followed this to solve the problem: https://www.mathworks.com/help/ros/ug/get-started-with-gazebo-and-a-simulated-turtlebot.html

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpecialized Messages についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by