Using hokuyo node in a remote computer while HectorSlam in master
Good day fellow members, I have the following problem:
I'm using two computers, a laptop and a raspberry pi2. Both are running Ubuntu 14.04 and ROS Indigo. My laptop is my master. I make sure to define the hostname and master uri to the IP in this computer. In the Rpi2 I'm defining the hostname with Rpi2's IP and the master uri with the laptop's IP. Therefore, I can run the roscore in the laptop, run hokuyo_node in the Rpi2 and rviz it in the laptop. My network is not a problem at this point that I can think of. I even use ssh for everything up to here.
In a single computer setup, I'm use __HectorSLAM__ with my own launch file. Everything works fine. The problem comes when I'm in the network setup, and I start the hokuyo node in the Rpi2. I check the rostopic list and in both setups I've got the same topics. Everything is exactly the same but the physical connection of the LRF. I receive the following error message:
lookupTransform base_link to laser timed out. Could not transform laser scan into base_frame
Therefore, I cannot SLAM. Do you have any ideas or suggestions? My sole objective is to use the Rpi2 to launch the LRF remotely, while on the laptop perform the "heavy" processing. Please all the help is much appreciated.