Gmapping Husky no map received
Hello, I am new to ROS and trying to do SLAM with my husky Robot. I am trying to launch gmapping_demo as shown in this link: http://wiki.ros.org/husky_navigation/... using the real robot (not simulation). Anyway, the gmapping node is stuck at "requesting map" and Rviz shows that "no map received". Time is synchronized between my PC and the robot using Chrony, and tf frames tree shows normal connections between /map -> /odom -> /base_link.
Can anyone help me in debugging the problem?
Can you ping both ways by hostname?
Make sure you did both exports (ROS_MASTER_URI & ROS_IP) in both computers with the IP of the network you are using between them. Edit: it must be done in all consoles or your /.bashrc
Problem Solved. My robot was publishing scans on /front_lidar/scan, while the package I'm using subscribes to /scan.