Unpredictable behavior in simulations #491
Replies: 2 comments 2 replies
-
I suspect the problem is that the cost of the plan used by A* is purely based on time, and there's no difference in time spent by the robot if it drives forward and then retreats versus waiting in place. I've put some post processing into the planner to catch most of these situations, but it doesn't work 100% of the time. The best way to fix this will be to add in distance traveled as part of the cost function, but trying to retrofit that into the planner of Luckily I've already implemented a distance + time cost function in the |
Beta Was this translation helpful? Give feedback.
-
I noticed that by placing the What is this due to? Does changing this parameter have any impact on the heuristics? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
I noticed unpredictable behavior while carrying out some simulations
In the first video there is the behavior I would like to have, that is, one of the two robots stops to wait for the other to cross the narrow passage.
In the second video there is a different behavior, i.e. the robot approaches the bottleneck but then goes back to let the other one pass.
The two simulations are exactly identical to each other (in the map and in the tasks) so I would like to understand where this difference in behavior comes from and how to correct it. Is it perhaps a planning problem in the A* algorithm?
segmenti4_ritagliato.mp4
semgnenti3_ritagliato.mp4
Beta Was this translation helpful? Give feedback.
All reactions