Ubuntu (slave) & Raspberry pi 4 (master) not able to connect
hello,
I got some weird behaviour,
I setup the master uri to my other machine, and run roscore with no issue
but on the slave I get this
WARNING: ROS_MASTER_URI **[http://192.168.1.55:11311]** host is not set to this machine
auto-starting new master
process[master]: started with pid [3579]
ROS_MASTER_URI=**http://ros:11311/** <-------how do I fix this ????
I cannot list any service nor publisher from the master (but I can 'ping' and 'netcat 11311' it)
I tried editing the hosts file so 'ros' would point to the master instead of 127.0.1.1, but then roscore failed to launch
any idea what's could be wrong?
thanks
Asked by phil123456 on 2020-02-08 12:22:18 UTC
Answers
stupid of me, only one roscore needs to run
seems obvious now but not from the multiple machines tutorial page
here is a better explanation on how to achieve multiple machines ROS :
https://github.com/ut-ims-robotics/tutorials/wiki/Running-ROS-over-multiple-computers
Asked by phil123456 on 2020-02-09 11:21:20 UTC
Comments
anyone ? this looks like a bug, I have set ROS_IP and ROS_HOSTNAME to the local machine ip, still the same, roscore runs localy, but if I set these variables to the remote master ip, the roscore fails trying to contact it
Asked by phil123456 on 2020-02-09 11:02:51 UTC