Adds support for forwarding nav graph nodes - #49
Draft
arjo129 wants to merge 7 commits into
Draft
Conversation
This PR adds support for forwarding navgraph nodes in a destination request. The main use case for this is to support actions such as docking. In our next generation prototype, we plan on having floating "graphs". These graphs will enable us to encode actions and be authored using the site editor. The basic idea is say you want to dock with something and trigger a workflow, you would reserve a region using the reservation system, along with a very specific graph node. When you arrive at this destination, the region is reserved allowing you to perform whatever local activiy you may want your AMR to do. This could be something as simple as offloading an item of a conveyor on to the AMR. The idea is that the region would remain reserved while you perform your task at that specific graph node. In order to distinguish that you want such a task performed we use annotated lanes. The fact that one is going through specific lanes on the graph would then be forwarded to individual robots so robots can use their local execution engines to perform these customized actions. This PR makes sure that (1) the graph nodes are forwarded by the reservation system and (2) the path server populates the relevant fields to ensure that the "fleet adapter" is aware of what action should be performed. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
The nav2 library used traditional nav2 APIs to direct robots. However it would only allow nav2 robots to move if such a request existed. This PR relaxes that requirement and lets robots move directly via destination requests which could potentially come in from other sources.
…vent dropping goals on replan cancellation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New feature implementation
Implemented feature
This PR adds support for forwarding navgraph nodes in a destination request. The main use case for this is to support actions such as docking. In our next generation prototype, we plan on having floating "graphs". These graphs will enable us to encode actions and be authored using the site editor. The basic idea is say you want to dock with something and trigger a workflow, you would reserve a region using the reservation system, along with a very specific graph edge with the annotated action. When you arrive at this destination, the region is reserved allowing you to perform whatever local activiy you may want your AMR to do. This could be something as simple as offloading an item of a conveyor on to the AMR. The idea is that the region would remain reserved while you perform your task at that specific graph node. In order to distinguish that you want such a task performed we use annotated lanes. The fact that one is going through specific lanes on the graph would then be forwarded to individual robots so robots can use their local execution engines to perform these customized actions. This PR makes sure that:
GenAI Use
We follow OSRA's policy on GenAI tools
Generated-by: Gemini