-
Notifications
You must be signed in to change notification settings - Fork 169
feat(nav): add clicked_point input to replanning planner and rerun clicking blueprint #1394
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0acf375
feat(nav): add clicked_point input to replanning planner
spomichter 5594368
feat(examples): add rerun click-to-navigate test script
spomichter 60c3a8f
fix(examples): add --simulation flag to click test
spomichter 6fef8df
fix(examples): init rerun and connect grpc before coordinator.start
spomichter 17f8c86
fix(examples): connect grpc after bridge start to avoid double rr.init
spomichter effe6cc
fix(examples): init rerun in main process before connect_grpc
spomichter 4aa63ec
feat(rerun): add viewer_mode=connect for external viewer support
spomichter d507ecf
fix(examples): use build().loop() per readme convention
spomichter 5df284c
feat(blueprints): add unitree-go2-click-nav blueprint
spomichter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
39 changes: 39 additions & 0 deletions
39
dimos/robot/unitree/go2/blueprints/smart/unitree_go2_click_nav.py
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| #!/usr/bin/env python3 | ||
| # Copyright 2025-2026 Dimensional Inc. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| from dimos.core.blueprints import autoconnect | ||
| from dimos.core.transport import LCMTransport | ||
| from dimos.mapping.costmapper import cost_mapper | ||
| from dimos.mapping.voxels import voxel_mapper | ||
| from dimos.msgs.geometry_msgs import PointStamped | ||
| from dimos.navigation.replanning_a_star.module import replanning_a_star_planner | ||
| from dimos.robot.unitree.go2.blueprints.basic.unitree_go2_basic import unitree_go2_basic | ||
|
|
||
| unitree_go2_click_nav = ( | ||
| autoconnect( | ||
| unitree_go2_basic, | ||
| voxel_mapper(voxel_size=0.1), | ||
| cost_mapper(), | ||
| replanning_a_star_planner(), | ||
| ) | ||
| .transports( | ||
| { | ||
| ("clicked_point", PointStamped): LCMTransport("/clicked_point", PointStamped), | ||
| } | ||
| ) | ||
| .global_config(n_workers=6, robot_model="unitree_go2") | ||
| ) | ||
|
|
||
| __all__ = ["unitree_go2_click_nav"] | ||
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for this since it's the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just for visability