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

Revision history [back]

click to hide/show revision 1
initial version

The pc and the raspberry shouldn't have the same configuration. They have to have the same ROS_MASTER_URI but their ROS_HOSTNAME (or ROS_IP) should be their own.

You should have in the .bashrc:

  • On the pc :

export ROS_MASTER_URI=http://PC_IP_ADDRESS:11311

export ROS_HOSTNAME=PC_IP_ADDRESS

  • On the rapsberry :

export ROS_MASTER_URI=http://PC_IP_ADDRESS:11311

export ROS_HOSTNAME=RASPBERRY_IP_ADDRESS

See #q272065 for a much more detailled answer.