Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command Line Interface (CLI)

Run srb <subcommand> [options]; use -h/--help for help or TAB to browse:

srb --help
srb <subcommand> -h
srb <TAB> <TAB>

Subcommands

SubcommandDescription
agentAgents
real_agentGenerate/run sim-to-real bridge
datasetInspect/validate/convert/replay/publish datasets
modelPackage/validate/publish policies
list/lsList assets, groups, environments
asset/assetsManage surface assets, rocks, sky-domes, lighting presets
event-cameraWeights/backend metadata
ephemerisQuery Sun/planet geometry; fetch SPICE kernels; import illumination
cacheRegenerate caches
guiLaunch the GUI
isaac/isaacsimIsaac Sim utilities (sim, python)
doc/docsBuild docs; render thumbnails
testRun Python/Rust tests
cleanRemove SRB / Isaac Sim / SimForge caches
completionsManage completions

gui, isaacsim, and doc build/serve return child status. srb test exits 1 on any Python tier failure; a Rust failure exits at once with Cargo’s status. Signal N logs terminated by signal <NAME> and exits 128+N (139 for SIGSEGV); timeout exits 124.

Agent Subcommands

Run srb agent <action> [options]:

SubcommandPurpose
zeroZero actions
randRandom actions
teleopDirect/trained-policy teleoperation
rosROS 2 / Space ROS action topics
trainTrain RL policy
evalEvaluate policy
collectRecord demos from human/policy/random/zero controllers
learnOffline imitation learning from demos
tuneOptuna hyperparameter optimization; spawn training per trial

Shared Agent Options

Simulation-based commands share these; offline learn/tune use separate options and do not launch Isaac Sim. tune spawns srb agent train.

ArgumentDescriptionDefault / limit
-e/--env/--task ENVEnvironment IDRequired
--cfg PATHHydra YAML; DEFAULT/IGNORE/NONE/NULL recognizedDEFAULT
--headlessNo displayFalse
--hide_uiHide most Isaac Sim UI; fullscreenFalse
--livestream {-1,0,1,2}Force: 0 off, 1 native, 2 WebRTC; -1 defers to LIVESTREAM env var-1
--rendering_mode {performance,balanced,quality,xr}Isaac RTX preset after Kit start; xr applies none; defaults to quality for srb/excavation_demounset (auto: demo uses quality)
--xrXR for VR/ARFalse
--enable_camerasRender cameras, not video; auto for env.active_sensors=[…,visual]/event_camera/events, srb/excavation_demo (unless env.demo_cameras=false), or --video/--record-events/--snapshot/--xrFalse
--kit_args=VALUEForward args to Omniverse Kit""
--interface [IFACE …]Enable interfaces gui/ros[]
--logdir/--logs PATHRoot logsCheckout: logs/; installed: working-dir logs/
--videoRecord videoFalse
--record-events/--record_eventsRecord event-camera rollouts with provenance; requires event_camera (alias events) in env.active_sensors; container includes default v2e; see Event CameraFalse
--snapshot PATHOne rendered PNG after initial reset, then exit; implies --enable_camerasunset
--snapshot-warmup NRender passes for path-traced/anti-aliased convergence; needs --snapshot16
--snapshot-settle NRobot-settling physics steps; 0 disables; needs --snapshot0
--perfPerformance test instead of workflowFalse
--perf_output PATHReport path (STDOUT); needs --perfSTDOUT
--perf_duration SECMaximum duration (seconds); 0 = unlimited; needs --perf150.0
--repl [BACKEND]Python REPL with simulation (ptpython/bpython)unset

Hydra-composing agent commands forward unregistered tokens (env.scene.num_envs=4, agent.* keys of the selected algorithm, …); repeated keys apply in order, last wins (env.seed=1 env.seed=2 sets 2). Child wrappers may pass tokens after -- (e.g. srb test to pytest/cargo). srb agent tune rejects bare overrides/--; use --pin KEY=VALUE per trial.

Attach values beginning with - to --kit_args using =, e.g. --kit_args=--ext-folder=/path/to/ext1.

Event Camera Subcommands

Event-camera weights and backends:

Sub-subcommandDescription
srb event-camera fetch-weightsDownload E2VID/V2CE weights; verify SHA256
srb event-camera list-mirrorsList registered E2VID + V2CE mirrors
srb event-camera fetch-fixtureDownload Gen4 HDF5 fixture; verify SHA256
srb event-camera list-fixturesList registered Gen4 HDF5 mirrors
srb event-camera backendsList registered generators; --detailed shows metadata

Cache Subcommands

Offline completion/GUI caches:

Sub-subcommandDescription
srb cache updateRegenerate task/asset/config/enum/GUI caches
srb cache claim-clean-root [--target srb|isaacsim|all]Add path/inode-bound srb clean markers; fixed Isaac and selected NGC roots may adopt existing content
srb cache status [--json] [--strict]Inspect caches; no Isaac Sim
srb cache doctor [--json] [--strict]Validate payloads; no Isaac Sim; reports by default; --strict exits 1 for incomplete/invalid cache

Completions Subcommands

Shell completions:

Sub-subcommandDescription
srb completions generateRegenerate completion cache via srb cache update
srb completions installInstall Fish/Bash/Zsh completion scripts

Restart with exec "$SHELL" -l to load Bash/Zsh registrations. Install fails when no requested shell could be configured.

Besides subcommands and flags, completion covers task ids in srb/x and short x forms (srb_real/x for srb real_agent runtime actions), --algo labels, --cfg sentinels and YAML paths, asset target names, and event-camera mirrors. After srb agent/srb real_agent actions it adds Hydra override keys and values for the selected task (-e/--env/--task) and --algo: nested env.* and agent.* keys, +/++/~ prefixes, enum and boolean values, and bracketed container elements such as 'env.active_sensors=[visual,events]'. For srb agent tune, overrides complete only after --pin. Fish falls back to path completion when nothing else matches. Hydra candidates need jq and successful srb completions generate; scripts follow the published cache pointer, so regeneration needs no reinstall.