ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

local costmap empty in ros navigation

asked 2017-04-19 13:34:54 -0500

anflores gravatar image

Hi everyone,

I have a Kinect on a mobile robot, where I use the package pointcloud_to_laserscan to publish a fake laser in the topic /scan for the navigation stack. The problem is that I am not able to see any obstacle in the local costmap. I have tried all the solutions, checking the maximum and minimum obstacle range, etc. When I do rostopic info /scan, I see the following subscritions:

Subscribers: 
 * /rviz (http://192.168.1.25:46119/)
 * /amcl (http://192.168.1.25:40276/)

Should I see any other node subscribed to this topic, like the move_base node? May be this the problem? I am quite lost, so any help would be really appreciated! The .yam configuration files about the navigation are just the same as described in the tutorial.

Thanks

edit retag flag offensive close merge delete

Comments

Sure, if you want scan data in the costmap, the costmap should subscribe to scan. Please paste all your costmap configuration files.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2017-04-20 05:50:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-20 06:13:31 -0500

anflores gravatar image

Hi, thanks for answering! I could solve the problem, and I don't know exactly the reason. What I think is: although I changed the values in the configuration files of the costmap, they were not uploaded when I restarted the move_base launch. This is, some of these new values in the configuration files were not taking into account when I relaunched the move_base node.

After restarting the computer, everything was working fine, so my guess is that some of the parameters were taking previous configurations. Could this be possible? Maybe this wasn't actually happening and I am wrong. Then I have no clue about what solved the problem :)

edit flag offensive delete link more

Comments

Maybe you just need to restart roscore?

sam gravatar image sam  ( 2017-06-21 02:48:37 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-04-19 13:34:54 -0500

Seen: 985 times

Last updated: Apr 20 '17