[codex] Add phone override for agentic Go2#2285
Draft
Gshfrez wants to merge 2 commits into
Draft
Conversation
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.
Summary
teleop-phone-go2-agenticblueprint that composes phone teleop with the agentic Go2 stack.SimplePhoneTeleop.cmd_velintoMovementManager.tele_cmd_velso hold-to-drive phone input cancels active navigation and temporarily takes manual velocity control.python-multipartinto thewebextra so the FastAPI phone teleop form route is available in web installs.Why
This gives agentic Go2 demos a simple human-in-the-loop safety override using a phone browser, while preserving the existing lightweight
teleop-phone-go2blueprint.Demo Path
teleop-phone-go2-agenticon a Go2.https://<host-ip>:8444/teleopon a phone.MovementManager.tele_cmd_vel.execute_sport_command("Hello")orRecoveryStandfor the close.Validation
uv run ruff check dimos/robot/unitree/go2/blueprints/agentic/unitree_go2_agentic_phone.pyCI=1 uv run pytest dimos/robot/test_all_blueprints_generation.pyuv run pytest dimos/navigation/movement_manager/test_movement_manager.pyuv run dimos list | rg 'teleop-phone-go2-agentic|teleop-phone-go2'teleop_phone_go2andteleop_phone_go2_agenticblueprints successfully.PYTEST_VERSION=1 uv run dimos --viewer none run teleop-phone, thencurl -k https://127.0.0.1:8444/teleopreturned200 text/html; charset=utf-8.