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

Footstep_planner crashes when used with customized map for some (start, goal) combinations

asked 2012-06-14 06:17:53 -0500

Hello to everybody,

I am trying to get the footstep_planner to work with some customized maps, my problem is that when for example I designate the points maked in the second image (at the end of this post) the application crashes, sometimes with:

[ERROR] [1339689725.772754649]: ERROR: grid2Dsearch is called on invalid start (154 392) or goal(504 190)

and always with:

[footstep_planner-3] process has died [pid 23662, exit code -11, cmd /opt/ros
/fuerte/stacks/humanoid_stacks/humanoid_navigation/footstep_planner
/bin/footstep_planner_node __name:=footstep_planner __log:=/home/sergio/.ros/log
/21710a10-b632-11e1-a3e0-0022fb659408/footstep_planner-3.log].
log file: /home/sergio/.ros/log/21710a10-b632-11e1-a3e0-0022fb659408
/footstep_planner-3*.log

I checked the log and it is always empty.

I am currently running ros fuerte on ubuntu 12.04, with the latest version of the footstep_planner. The file I use to load the map looks like this:

image: sample.bmp 
resolution: 0.01
origin: [0.0, 0.0, 0.0]
occupied_thresh: 0.5
free_thresh: 0.1
negate: 0

And here are the two images: map. Here it appears as a jpg file but my file is actually an bmp Image with locations

If you have any suggestions from where the problem might come I want already to express you all my gratitude in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-06-14 10:20:50 -0500

AHornung gravatar image

That is an error of the 2D Dijkstra heuristic in the underlying SBPL. You may see more information by using rxconsole and setting the output level to "Debug", or by starting the footstep_planner node in a separate terminal. I'll check with your map file as soon as I can.

Could you test setting the heuristic_type parameter to either EuclStepCostHeuristic or EuclideanHeuristic, to see if the map is working otherwise?

edit flag offensive delete link more
0

answered 2012-06-14 22:13:58 -0500

Many thanks!

It works perfectly now! I changed the heuristic_type to EuclideanHeuristic.

Have a nice day.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-06-14 06:17:53 -0500

Seen: 219 times

Last updated: Jun 14 '12