Skip to content

[codex] Add phone override for agentic Go2#2285

Draft
Gshfrez wants to merge 2 commits into
dimensionalOS:mainfrom
Gshfrez:codex/phone-go2-agentic-teleop
Draft

[codex] Add phone override for agentic Go2#2285
Gshfrez wants to merge 2 commits into
dimensionalOS:mainfrom
Gshfrez:codex/phone-go2-agentic-teleop

Conversation

@Gshfrez
Copy link
Copy Markdown

@Gshfrez Gshfrez commented May 28, 2026

Summary

  • Add a teleop-phone-go2-agentic blueprint that composes phone teleop with the agentic Go2 stack.
  • Remap SimplePhoneTeleop.cmd_vel into MovementManager.tele_cmd_vel so hold-to-drive phone input cancels active navigation and temporarily takes manual velocity control.
  • Document the new demo/runtime command in the phone teleop README.
  • Move python-multipart into the web extra 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-go2 blueprint.

Demo Path

  1. Start teleop-phone-go2-agentic on a Go2.
  2. Open https://<host-ip>:8444/teleop on a phone.
  3. Start a small autonomous movement or agent/navigation action.
  4. Hold the phone drive button and tilt to interrupt/reposition the robot through MovementManager.tele_cmd_vel.
  5. Release to stop, then use execute_sport_command("Hello") or RecoveryStand for the close.

Validation

  • uv run ruff check dimos/robot/unitree/go2/blueprints/agentic/unitree_go2_agentic_phone.py
  • CI=1 uv run pytest dimos/robot/test_all_blueprints_generation.py
  • uv run pytest dimos/navigation/movement_manager/test_movement_manager.py
  • uv run dimos list | rg 'teleop-phone-go2-agentic|teleop-phone-go2'
  • Imported both teleop_phone_go2 and teleop_phone_go2_agentic blueprints successfully.
  • Local phone web smoke: PYTEST_VERSION=1 uv run dimos --viewer none run teleop-phone, then curl -k https://127.0.0.1:8444/teleop returned 200 text/html; charset=utf-8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant