Ask Your Question
0

Gmapping Husky no map received

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

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 image tonybaltovski  ( 2017-07-13 20:53:13 -0500 )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 image Enriq  ( 2017-07-14 06:45:43 -0500 )edit

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

AbbasSidaoui gravatar image AbbasSidaoui  ( 2017-07-17 05:13:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Comments

I am facing the exact same issue with a fresh install of ros melodic image on a real husky robot cpr-a200-0501. can you please elaborate on how to fix this problem with the "scan"? should I change the gmapping.launch file? my machine is a fresh install, all I did was install the husky_navigation package from apt (sudo apt install ros-melodic-husky-navigation)

nurtech gravatar image nurtech  ( 2021-07-15 02:51:43 -0500 )edit

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 -0500

Seen: 591 times

Last updated: Jul 17 '17