-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sudden Unregistering of Remote Node (Unsync Node Register) in Multi-Machine Setup #201
Comments
I don't see any configuration errors that could lead to this. Normally a node (e.g. But the question remains why no publishers and services are displayed. This raises two questions for me:
Perhaps the log files of |
Hi @atiderko thank you for the quick response, to answer your questions:
For reference, this is the output of
here is the log of
here is the log of
master_discovery-2.log
After I stop the navigation stack, but master_sync still up, the publications and services is still empty |
And for additional information, the |
Two things that could be checked:
This may also be the case on rns2. Maybe you can add this parameter to all master_discovery:
The ROS wiki notes that localhost in combination with remote nodes can lead to problems (https://wiki.ros.org/ROS/EnvironmentVariables#ROS_MASTER_URI |
After discussing with our team, this log was not printed by our code, so I guess it's from the ROS system itself |
Have you tried to start gazebo and your navigation stack in the same launch file? Otherwise you could subscribe to the topics You can also see if the same thing happens with other nodes. Start a publisher on the FSM, e.g. |
Setup
I have 2 machines running ubuntu 20.04 and ROS Noetic on the same network:
I've configured the /etc/hosts of both of the machine and multicasting have been enabled (/proc/sys/net/ipv4/ip_forward set to 1 and /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts set to 0)
This is my launch file for Machine 1:
This is my launch file for Machine 2:
I spawned a turtlebot3 model that I have edited so the topics and tf are prefixed properly and the local nodes on Machine 2 can communicate using regular topics/services name such as /odom, /scan, etc
Problem
When I run the navigation stack (this is a custom navigation stack we develop) in Machine 2, sometimes this log appears
Unregistering /gazebo
, its pretty inconsistent to when the log appears after running the navigation stack. But when I tried to get the info of the gazebo node (rosnode info /gazebo
) in Machine 2 I got thisThe publications and services is empty on Machine 2, but on Machine 1 the gazebo node still has the correct publications and services and still publishing the correct topic
What could cause this error?
The text was updated successfully, but these errors were encountered: