running different nodes on different machines
I have cameras nodes that i am running on mobile robot's NUC.
and I have mapping node that i want to run on PC.
Everything is connected, i can see topics from cameras on PC. The problem is that mapping node is running but nothing is actually publishing.
I tried running everything on NUC and it was working.
What should i check? how can i run mapping node on PC?
Sounds like network settings. Check ROS_IP on both computers.
You haven't configured your rosmaster properly. I am guessing if you do rostopic hz/bw or echo you will not get anything, or maybe the topic you are getting are from mapping node subscribing to those topics. You can rostopic info the topic to see which node is publishing and which one subscribing it.
But this is a clear problem of network not configured properly.
Have you carefully followed all of this: http://wiki.ros.org/ROS/NetworkSetup
nope, still does not work. I tried to set ROS_IP on both machines in spite that I already set ROS_HOSTNAME, it didnt help, still the same problem. I can even see cameras image and depth cloud in rviz on PC, but mapping node do nothing, no map data.
Check if your node has subscribed to all the required topic
why? how my node can not be subscribed to all the required topics? I checked by rosnode info, it is subscribed
If all the topic are available and are subscribed by your node as well, then something wrong with your node
also I set PC and NUC's hostnames in /etc/hostname to exactly what is ROS_HOSTNAME. Is it relevant? and I also changed hostnames in /etc/hosts.