ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Cloud not contact ROS master at http://172.20.10.3:1131x

asked 2022-01-10 22:27:40 -0500

magnetRos gravatar image

updated 2022-01-13 19:54:20 -0500

I try to remote PC to control the AGV (Raspberry PI ) but I have a problem appear error "Cloud not contact ROS master at http://172.20.10.3:1131x" PC and Raspberry Pi can connected by use command " Ping http://172.20.1x.2:11311 (On PC) " and "Ping 172.20.1x.7 ( On PI ) .

Relate Information Raspberry PI(Master) : 172.20.1x.2 Remote PC : 172.20.1x.7 Package on PC : Neotic Package on Raspberry PI : Neotic File .brashrc on PC :export ROS_MASTER_URI=http://172.20.1x.2:11311 export ROS_HOSTNAME=172.20.1x.7 File .brashrc on PI :export ROS_MASTER_URI=http://172.20.1x.2:11311 export ROS_HOSTNAME=172.20.1x.2

Command that I use ( On PC ) -export ROS_MASTER_URI=http://172.20.1x.2:11311 -export ROS_HOSTNAME=172.20.1x.7 -rosrun rviz rviz

Thank you , Sorry for grammar mistake . I am foreigner .

edit retag flag offensive close merge delete

Comments

You are running ROS master on the Raspberry PI and executing commands from the PC, right?

miura gravatar image miura  ( 2022-01-14 16:37:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-01-11 18:32:50 -0500

miura gravatar image

It looks like the name of the environment variable you are setting is wrong.

You may be able to connect by replacing HOSTNAME with ROS_HOSTNAME and MASTER_URI with ROS_MASTER_URI.

https://wiki.ros.org/ROS/EnvironmentV... https://wiki.ros.org/ROS/EnvironmentV...

edit flag offensive delete link more

Comments

I changed already that still not working ,It same appear message above . Sir ,Thank you for reply .

magnetRos gravatar image magnetRos  ( 2022-01-13 19:57:06 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-01-10 22:20:52 -0500

Seen: 89 times

Last updated: Jan 13 '22