计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
smarts【效率与协作】Use SMARTS 2.0.1 for multi-agent autonomous-driving simulation, Gymnasium environments, scenario generation, sensor and Envision workflows, agent-zoo/RL integration, and the scl command-line tools.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when the task involves SMARTS (Scalable Multi-Agent
Reinforcement Learning Training School), autonomous-driving simulation,
scenario maps and traffic, multi-agent Gymnasium environments, agent policies,
road/sensor observations, Envision replay, or the scl CLI.
For the core Python API:
python -m pip install "smarts"
python -c "import smarts; print('SMARTS import OK')"
Add only the extras required by the workflow:
python -m pip install "smarts[gymnasium]" # Gymnasium environments
python -m pip install "smarts[camera-obs]" # camera/grid/Panda3D paths
python -m pip install "smarts[envision]" # Envision client/server path
python -m pip install "smarts[sumo]" # SUMO-backed traffic/maps
python -m pip install "smarts[ray,rllib]" # optional Ray/RLlib stack
The exact extra names and compatible versions can change; inspect installed
metadata and run the shared diagnostic before relying on an optional branch:
scripts/check_smarts_install.py. The
prepared baseline verified package smarts 2.0.1, core imports, Gymnasium,
OpenDRIVE, Envision/Panda3D imports, and scl help on Python 3.11. It did not
verify external SUMO/ROS/Waymo/Argoverse services or RL training stacks.
| User intent | Read first | Typical deliverable |
|---|---|---|
| Create/reset/step a single or multi-agent simulator, configure interfaces, observations, actions, rewards, or controllers | simulation-environments | Bounded HiWayEnvV1/parallel environment loop and policy contract |
| Define maps, traffic, missions, social actors, bubbles, friction, or replay histories; generate or validate scenario assets | scenario-studio | smarts.sstudio DSL, deterministic generation, layout validation |
| Add lidar, grid/RGB/occlusion/signal sensors, camera rendering, Envision recording, or replay | sensors-visualization | Sensor interface, renderer/service probe, record inspection |
Implement a policy, AgentSpec, locator, social agent, bubble, RLlib adapter, or benchmark inference package | rl-agent-zoo | Importable/versioned agent package and optional RL integration plan |
Use scl, diagnostics, scenario build/clean, benchmarks, zoo commands, SUMO/TraCI, Waymo, OpenDRIVE, or ROS boundaries | cli-integrations | Safe command plan, prerequisite probe, and recovery steps |
Cross-route handoffs are deliberate: scenario-studio owns authoring while
cli-integrations owns scl scenario build; simulation-environments owns the
reset/step contract while sensors-visualization owns rendered observation
prerequisites; rl-agent-zoo owns policies while CLI owns zoo/benchmark commands.
{} until the global done flag or the bound is reached.env.action_space[agent_id]; do not guess action
tuples from an interface name. Use space.contains(action) when debugging.headless=True for CPU checks. Image observations can require the
camera extra and a display/offscreen backend, and can dominate step time.scl --help, scl scenario --help, and scl run --help are safe first
checks. --clean, --auto-install, server startup, benchmark execution,
and external-service commands have side effects or trust boundaries.Read references/troubleshooting.md for
cross-cutting installation, optional-extra, path/configuration, port, and
lifecycle failures. Read references/repo-provenance.md
before deciding whether this graph is stale for another SMARTS checkout.