dimensionalOS / dimensionalOS/dimos

[MacOS Bug] unitree-g1-nav-sim fails to start due to invalid simulation=True config

Open Beginner friendly
#3,918 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug mac
Dominant language
Python
Stars
4.5k
Forks
808
Avg merge
3d 5h
Merged PRs (30d)
233

Description

Description

unitree-g1-nav-sim fails during blueprint construction because it sets simulation=True, while GlobalConfig.simulation expects a string.

Environment

  • DimOS: v0.0.14b1
  • macOS: 26.4.1
  • Architecture: Apple Silicon (arm64)
  • Python: 3.12.13

Steps to reproduce

uv run dimos run unitree-g1-nav-sim

Actual behavior

The blueprint fails during startup with:

ValidationError: 1 validation error for GlobalConfig

simulation
  Input should be a valid string
  input_value=True
  input_type=bool

The traceback shows the failure occurs while applying blueprint global config during:

ModuleCoordinator.build(...)
global_config.update(...)

Root cause

The blueprint currently contains:

.global_config(n_workers=8, robot_model="unitree_g1", simulation=True)

at:

dimos/robot/unitree/g1/blueprints/navigation/unitree_g1_nav_sim.py:88

GlobalConfig.simulation expects a string rather than a boolean.

Expected behavior

unitree-g1-nav-sim should build successfully and start the simulation without a config validation error.

Suggested fix

Update the blueprint to pass the expected string value for simulation instead of:

simulation=True

and add/update a blueprint startup test so this config mismatch is caught automatically.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at dimos/robot/unitree/g1/blueprints/navigation/unitree_g1_nav_sim.py:88 and inspect the GlobalConfig.simulation type. Run uv run dimos run unitree-g1-nav-sim to reproduce the validation failure, then add or update the blueprint startup test mentioned in the issue. Done means the blueprint builds and starts without the simulation configuration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
robotics, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.