Ask Your Question
0

Gmapping Husky no map received

asked 2017-07-13 05:36:15 -0600

AbbasSidaoui gravatar image

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?

edit retag flag offensive close merge delete

Comments

Can you ping both ways by hostname?

tonybaltovski gravatar imagetonybaltovski ( 2017-07-13 20:53:13 -0600 )edit

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

Enriq gravatar imageEnriq ( 2017-07-14 06:45:43 -0600 )edit

Problem Solved. My robot was publishing scans on /front_lidar/scan, while the package I'm using subscribes to /scan.

AbbasSidaoui gravatar imageAbbasSidaoui ( 2017-07-17 05:13:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-17 05:12:33 -0600

AbbasSidaoui gravatar image

Problem Solved. My robot was publishing scans on /front_lidar/scan, while the package I'm using subscribes to /scan.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-07-13 05:36:15 -0600

Seen: 289 times

Last updated: Jul 17 '17