Home>

I want to share the ROS of RaspberryPi and the ROS master of the ROS of my laptop.

Error message

WARNING: ROS_MASTER_URI [http: // raspberry: 11311] host is not set to this machine

~/.bashrc on the rasp pie side has
ROS_MASTER_URI = http: // raspberry: 11311
ROS_HOSTNAME = raspberry
In/etc/hosts on the Rasp Pai side,
192.168.11.3 raspberry
192.168.11.5 note

~/.bashrc on the PC side includes
ROS_MASTER_URI = http: // raspberry: 11311
ROS_HOSTNAME = note
In/etc/hosts on the PC side,
192.168.11.3 raspberry
192.168.11.5 note
(Same as the Rasppie side)

Supplemental information (FW/tool version etc.)

raspberry is the host name of the rasp pie
note is the host name of the notebook PC
/ etc/hostname has been rewritten to correspond.
The IP address shown in ifconfig is used.
ping raspberry, ping note is successful.
The ROS used is kinetic.

  • Answer # 1

    Hmm ...
    Based on the data obtained by the Razpai range sensor, the RViz on the PC side can display obstacles.
    I thought it was an error message because it was written as WARNING.

    Since you can do what you want without any problems, it means self-solving ...