-
Notifications
You must be signed in to change notification settings - Fork 55
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
Allow navigation graph lanes to be disabled #9
Comments
@mxgrey would there be a method to "enable" the lane again? Also, it was decided that regardless of the obstacle detected, the robot would attempt to overcome it using its local planner. When it concludes its attempt as a failure, the replanning would be last resort. Hence, the robot is already on the "impassable lane". Would that implicate rmf's global planner efforts to replan? |
Yes, absolutely. This feature will allow lanes to be toggled on and off.
No worries, I fully intend to handle this situation. I expect this will be a common occurrence 👍 |
Does this API require location of the obstacle as input? Or it assumes the obstacle is somewhere in the same direction of where the robot is heading towards. i.e. On the traffic lane, the path in front of the robot is impassable and the path behind the robot is passable. |
Nope, the API will just specify which lane(s) to close down. From the planner's point of view, the only thing it means if a lane is closed is that the planner can't expand its path search down that lane. I can put some logic into the fleet adapter that will check if the robot is currently on a lane that's being closed, and then the fleet adapter will have the robot return to the lane's entry waypoint if it is. |
That works. Thank you. |
Finished by #15 |
* add api html docs and slight cleanup on readme * change doc path to index.html * update README * Update shapes.cpp * regenerate docs and fix test * missing battery
Signed-off-by: Geoffrey Biggs <gbiggs@killbots.net>
Feature request
Allow lanes to be disabled
Description
There may be various reasons that the lane of a navigation graph needs to be disabled. If a corridor is needs to be closed off for maintenance, or if too many obstacles have been detected, we should be able to tell the fleet adapter to disable the lane and plan around it.
The text was updated successfully, but these errors were encountered: