karlkurzer / path_planner

Hybrid A* Path Planner for the KTH Research Concept Vehicle
http://karlkurzer.github.io/path_planner/
BSD 3-Clause "New" or "Revised" License
1.49k stars 526 forks source link

confusing resolution #63

Closed zhthree3 closed 9 months ago

zhthree3 commented 9 months ago

only both map_resolution and Constants::cellSize are equal to 1, it will run normally.

zhthree3 commented 9 months ago

Can you tell me whether the unit of the [input path point coordinates] for smooth function is [pixel], [grid], or [m]?

karlkurzer commented 9 months ago

@zhthree3 I usually use SI units, hence it ought to be m, I hope that helps 🙂!

zhthree3 commented 9 months ago

I don't think the unit is [m], because the input of the DynamicVoronoi is pixels, you directly input the path points into the DynamicVoronoi in Smooth function, such as the following code in Smoother::voronoiTerm(Vector2D xi): float obsDst = voronoi.getDistance(xi.getX(), xi.getY());