feat(microduck): browser cockpit on the official-policy sim - #4099
Draft
spomichter wants to merge 8 commits into
Draft
spomichter wants to merge 8 commits into
spomichter wants to merge 8 commits into
Conversation
# Conflicts: # dimos/robot/all_blueprints.py
Map2D(goal=...) binds a third, tx channel (goal.json.v1, publish=shared)
that a map click publishes {x, y} on; the bridge decodes it to a
PoseStamped on a generated Out port that autoconnects to the planner's
goal_request. View-only maps are unchanged.
microduck-cockpit: the official-policy sim (microduck-sim) plus the mapping/planning stack and a three-panel cockpit (camera, click-to-goal map, keyboard teleop). microduck-agentic-cockpit adds McpClient, the observe skill, a small MicroduckSkills module (go_to, stop_moving, where_am_i, list_tricks, perform, sit, stand_up over the policy task's RPCs) and the chat panel. simulation.py gains microduck_stack(sim_overrides) so a cockpit can turn the pointcloud on without duplicating the sim/coordinator wiring.
❌ 3 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
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.
Stacked on #3937 (
feat/microduck-sim, merged withmain); the diff shrinks to the two top commits once that lands.What
feat(web): Map2D click-to-goal—Map2D(goal="goal_request")binds a third channel (tx,goal.json.v1,publish="shared") through the existing panel/publish path. A map click publishes{x, y}; the bridge decodes it to aPoseStampedon a generated Out port that autoconnects to the planner'sgoal_request. View-only maps are unchanged. No new protocol messages, panel kinds or relay changes.feat(microduck): browser cockpit blueprints—microduck-cockpit= Feat/microduck sim #3937's sim + policy task, plus voxel mapper, costmapper, A* planner, movement manager, and a three-panel cockpit (camera, click-to-goal map, keyboard teleop).microduck-agentic-cockpitaddsMcpClient, observe, chat, and a smallMicroduckSkillsmodule (go_to,stop_moving,where_am_i,list_tricks,perform,sit,stand_up) over the policy task's RPCs.simulation.pygainsmicroduck_stack(sim_overrides)so the cockpit can enable the pointcloud without duplicating the wiring.Run
uv run dimos --simulation mujoco run microduck-cockpit --local-relay uv run dimos --simulation mujoco run microduck-agentic-cockpit --local-relay # needs OPENAI_API_KEYVerified
pub_ack, planner walked the duck to (0.6, 0.2).dimos/web,dimos/robot/pollen/microduck, policy task, adapters, blueprint checks (767 passed). mypy clean on changed files. Registry regenerated.web/formatted with the pinned Deno 2.6.10.