-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SmacPlannerHybrid does not respect tolerance #3955
Comments
I'm a little unclear looking at this. You show a red arrow on a goal, but that is clearly not the path's end point since the path continues far after it. So that's not the goal pose to apply with the tolerance. Please provide more detail. If you're concatenating paths together: note that your box is on the edges of map cells (e.g. you're on the line segments bordering costmap cells, not in the middle of costmap cells). So, its very likely that this is actually within tolerance or an exact solution, since we obtain a path in that cell -- since that cell is measured from the centers of cells, which that path clearly passes through. There may be misunderstandings of the coordinate system on your side 😄 |
@SteveMacenski The red arrow is actually one of the goal_poses passed to the navigator = BasicNavigator()
path = navigator.getPathThroughPoses(initial_pose, goal_poses)
navigator.goThroughPoses(goal_poses) I see your point, that the goal point is actually the centre of the closest cell to the input goal point. |
We convert the world to map coordinates, which are in We even convert them to floats for That seems like a relatively straight forward contribution @aniket11bh if you can do that + open a PR! You'd essentially need to:
I don't see any other complexity of why that would cause problems + improve accuracy! Are you open to doing that and testing to make sure it solves your problem? |
@SteveMacenski the solution looks straightforward. I can take this up but mostly it will be after December. As the current tolerance is just enough for now. |
Imminently to be merged |
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
SmacPlannerHybrid should generate path within tolerance, if it is unable to generate within tolerance it should fail.
Actual behavior
Planner is generating paths, but it not generating paths within given tolerance.
Additional information
The text was updated successfully, but these errors were encountered: