Closed zhthree3 closed 9 months ago
Can you tell me whether the unit of the [input path point coordinates] for smooth function is [pixel], [grid], or [m]?
@zhthree3 I usually use SI units, hence it ought to be m, I hope that helps 🙂!
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());
only both map_resolution and Constants::cellSize are equal to 1, it will run normally.