Skip to content

Commands

This page lists every trials command with the help text that trials <command> --help prints. A script writes the page from the command parsers, so it matches the code of this version.

Each command answers --help, and trials --help lists them all. A backend may add commands of its own or replace a general one. The section With the ROS 2 backend lists what the ROS 2 backend changes.

General commands

These commands exist in every project, whatever its backend.

Command What it does
trials plan what a campaign still needs (the planner)
trials run run the trials a campaign still needs (dry run without --execute)
trials index the coverage index over the recorded trials
trials records every trial of an experiment with its campaign, gate, slim bag, analyses, video
trials exclude move a trial out of coverage into the issues folder (bags_issues/ or recordings_issues/), with exclusion.json (its reason)
trials restore move an excluded trial back into coverage, keeping its old reason
trials amend correct a recorded factor level in corrections.json; trial_metadata.json is never edited
trials reverify run a trial's current verify steps again (reverification.json); a pass lifts an abort that came from a verify step only
trials lint check every declaration against the rules (pytest)
trials validate is an experiment ready: check, plan, gate, lint, its tests, dry run
trials gate run a T-0 gate checklist by hand
trials analyze run a named analysis over a cohort of bags
trials check validate one campaign file, or list an experiment's factor space
trials metadata audit the recorded trial metadata against the contract
trials storage where this host writes heavy bags
trials profiles the record profiles in force (--list), or one profile's topics or record command
trials version the code version stamped into trials
trials ui the web interface (needs Flask: pip install 'robofacts[ui]')
trials mcp an MCP server over stdio for agents: validate, plan, dry run, coverage, never runs a trial (needs pip install 'robofacts[mcp]')
trials new a new experiment from the template, or --from a similar one
trials init a new project: the experiments root with its shared config
trials tool run a packaged shell tool (estop.sh, robot_action.sh, and the tools a backend adds)
trials roots show how the experiments root and the project root resolve

trials plan

usage: trials plan [-h] [--experiments-root EXPERIMENTS_ROOT] [--set name=a[,b]]
                   [--include-unverified] [--json] [--schedule] [--limit LIMIT]
                   campaign

The planner: which cells of a campaign are still missing.

positional arguments:
  campaign              campaign YAML

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --set name=a[,b]      override a factor (Hydra-shaped); repeatable
  --include-unverified  count trials whose metadata cannot prove them as coverage
  --json                emit the machine-readable plan
  --schedule            also print the execution order the runner will use (the
                        campaign's `order`: seed, blocks, shuffle)
  --limit LIMIT

trials run

usage: trials run [-h] [--experiments-root EXPERIMENTS_ROOT] [--set name=a[,b]]
                  [--include-unverified] [--limit LIMIT]
                  [--bags-root repo|external|PATH] [--execute] [--scratch]
                  [--action CMD] [--label WORD] [--slim] [--no-pause] [--quiet-stack]
                  [--gate-override REASON] [--no-voice] [--keep-going]
                  campaign

Run the trials a campaign still needs.

positional arguments:
  campaign

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --set name=a[,b]
  --include-unverified
  --limit LIMIT         run at most N trials
  --bags-root repo|external|PATH, --recordings-root repo|external|PATH
                        where to WRITE the heavy recordings: 'repo' (default, the
                        experiment's recordings folder), 'external' (storage.yaml's
                        external_dest for the recording host), or a path. Overrides
                        runner.yaml. A symlink is left in the repo, so coverage,
                        slimming and analyses read the recording there while its disk is
                        mounted. With the disk unmounted, `trials plan` and `trials run`
                        stop with an error instead of planning without it.
  --execute             actually run. Without this the runner only prints commands.
  --scratch             run ONE ad-hoc diagnostic trial (a scratch recording) through
                        the campaign's stack, T-0 gate and operator steps. Records to
                        the experiment's scratch folder (bags_scratch/ or
                        recordings_scratch/, as the backend names it, never counted as
                        coverage), skips the verify steps, and takes the campaign's own
                        defaults for its shape (--set still pins factors, --action
                        overrides the command).
  --action CMD          (--scratch only) run this command instead of runner.yaml's
                        action. {factor} placeholders are filled as usual.
  --label WORD          (--scratch only) a word for the recording's name,
                        <stamp>_scratch_<label>. The stamp and de-collision are the
                        runner's own, generated at run time - never pre-type a bag name.
  --slim                (--scratch only) also leave a slim copy, in the scratch slim
                        folder (bags_scratch_slim/ or recordings_scratch_slim/).
                        Campaign trials always slim. Scratch recordings do not, unless
                        asked.
  --no-pause            do not wait for Enter between the T-0 gate and the recorder (the
                        pause exists so the operator can pose the rig (stand the robot
                        up, set its tools) without racing the dwell). A hardware run
                        whose stdin is not a terminal is refused without it, because
                        nobody could type fly. Without a terminal, the operator steps
                        are printed but not waited on.
  --quiet-stack         child process output (stack, aux, recorder) goes only to the run
                        log; the terminal keeps the campaign narrative — gate verdicts,
                        trial status, dwell countdown, verify results. Made for the tmux
                        cockpit, whose log pane already follows the full run log.
  --gate-override REASON
                        proceed past a FAILED T-0 gate. The reason and the failed checks
                        are stamped into trial_metadata.json forever (an escape hatch
                        that is visible, never silent). It never passes a failed [HARD]
                        item or a factor check that did not pass.
  --no-voice            print the spoken cues but send none (sets TRIALS_VOICE=off for
                        this run and its child processes). Cues go to the laptop's voice
                        daemon at TRIALS_VOICE_HOST:TRIALS_VOICE_PORT, default
                        127.0.0.1:47900. See
                        https://lorite.github.io/robofacts/guides/spoken-cues/.
  --keep-going          continue the campaign after a blocked trial (the default stops,
                        because a stack that fails the gate usually fails it again).
                        Automatic for a campaign that names a `gate` factor.

trials index

usage: trials index [-h] [--experiments-root EXPERIMENTS_ROOT] [--experiment EXPERIMENT]
                    [--factors FACTORS] [--report REPORT] [--summary] [--no-validate]
                    [--condition-space YAML] [--json]

Cross-experiment trial index and coverage report.

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --experiment EXPERIMENT
                        restrict to one experiment
  --factors FACTORS     comma-separated axes (default: from the contract, then
                        discovered)
  --report REPORT       write a markdown report here
  --summary             just list what varies per experiment
  --no-validate         skip contract validation (faster)
  --condition-space YAML
                        coverage of ONE condition across experiments, per level and
                        domain (simulation, hardware), e.g.
                        experiments/common/config/condition_spaces/lighting.yaml
  --json                with --condition-space: print JSON

trials records

usage: trials records [-h] [--experiments-root EXPERIMENTS_ROOT] [--campaign CAMPAIGN]
                      [--status {usable,unverified,aborted,quarantined,no-data,scratch,blocked,failed,interrupted,excluded,attempt,excluded-any}]
                      [--where FACTOR=VALUE] [--no-scratch] [--scratch-only] [--json]
                      [--posters] [--stills] [--force]
                      experiment

every trial of an experiment, joined with its campaign, class, gate verdict, slim bag,
run log, analyses and videos (newest first)

positional arguments:
  experiment

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --campaign CAMPAIGN   flown by, or counted by, this campaign
  --status {usable,unverified,aborted,quarantined,no-data,scratch,blocked,failed,interrupted,excluded,attempt,excluded-any}
                        a class (usable, unverified, excluded), the reason of an
                        excluded trial (aborted, quarantined, no-data, scratch), an
                        attempt outcome (blocked, failed, interrupted), attempt for
                        every attempt that left no trial, or excluded-any for everything
                        that does not count
  --where FACTOR=VALUE  one cell (repeatable), the spelling of `trials analyze --where`
  --no-scratch          leave out scratch recordings
  --scratch-only        only scratch recordings
  --json                print JSON instead of the table
  --posters             also make the poster frames the UI's card view shows, for the
                        records listed (ffmpeg, cached under runs/posters/)
  --stills              also make the stills and the camera video of the camera that
                        config/trial_media.yaml declares, for the records listed whose
                        bag records it (needs the backend's reader and cv2, cached under
                        runs/camera/)
  --force               with --stills: make them again even when the cache is current

trials exclude

usage: trials exclude [-h] [--experiments-root EXPERIMENTS_ROOT] --reason REASON
                      --category {infrastructure,operator,estimator,other} [--by BY]
                      [--evidence PATH]
                      experiment trial

move a trial out of coverage into the issues folder (bags/ -> bags_issues/ or
recordings/ -> recordings_issues/, as the backend names them), its slim copy too, and
write exclusion.json beside each, with the reason. Nothing is deleted.

positional arguments:
  experiment
  trial                 the trial's bag directory name (as `trials records` lists it)

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --reason REASON       why it must not count, one or two sentences
  --category {infrastructure,operator,estimator,other}
                        infrastructure (network, power, disk), operator (the trial was
                        not run as planned), estimator (the method under test failed),
                        other
  --by BY               who decided (default: $TRIALS_BY, else the login name)
  --evidence PATH       a file that shows it (a plot, a log), repeatable

trials restore

usage: trials restore [-h] [--experiments-root EXPERIMENTS_ROOT] [--reason REASON]
                      [--by BY]
                      experiment trial

move an excluded trial back into coverage (bags_issues/ -> bags/ or recordings_issues/
-> recordings/, as the backend names them). Its exclusion.json stays beside it as
exclusion_restored_<time>.json

positional arguments:
  experiment
  trial                 the trial's bag directory name (as `trials records` lists it)

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --reason REASON       why it counts again
  --by BY               who decided (default: $TRIALS_BY, else the login name)

trials amend

usage: trials amend [-h] [--experiments-root EXPERIMENTS_ROOT] --reason REASON [--by BY]
                    experiment trial FACTOR=LEVEL [FACTOR=LEVEL ...]

correct a recorded factor level: corrections.json beside the bag and its slim copy, read
on top of trial_metadata.json, which is never edited

positional arguments:
  experiment
  trial                 the trial's bag directory name (as `trials records` lists it)
  FACTOR=LEVEL          the true level, which must be one the experiment declares

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --reason REASON       how you know the recorded value is wrong
  --by BY               who decided (default: $TRIALS_BY, else the login name)

trials reverify

usage: trials reverify [-h] [--experiments-root EXPERIMENTS_ROOT]
                       [--project-root PROJECT_ROOT] --reason REASON
                       [--campaign CAMPAIGN] [--by BY] [--dry-run]
                       experiment trial

run a recorded trial's CURRENT verify steps again and write reverification.json beside
the bag and its slim copy; a pass lifts an abort that came from a verify step only,
trial_metadata.json is never edited

positional arguments:
  experiment
  trial                 the trial's bag directory name (as `trials records` lists it)

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --project-root PROJECT_ROOT
                        the working directory of the runner's commands (default:
                        TRIALS_PROJECT_ROOT, trials.yaml, or the parent of the
                        experiments root)
  --reason REASON       which rule changed and why the verdict is in doubt
  --campaign CAMPAIGN   the campaign (default: the trial's line in runs/attempts.jsonl)
  --by BY               who decided (default: $TRIALS_BY, else the login name)
  --dry-run             print the rendered steps, run nothing, write nothing

trials lint

usage: trials lint [-h] [--experiments-root EXPERIMENTS_ROOT] [--experiment NAME]
                   [pytest_args ...]

check every experiment's declarations against the rules

positional arguments:
  pytest_args           extra pytest arguments (flags such as -k, -x or -v pass through
                        as they are, or after --)

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --experiment NAME     lint only this experiment (the rules over shared files still
                        run)

trials validate

usage: trials validate [-h] [--experiments-root EXPERIMENTS_ROOT]
                       [--skip {check,plan,gate,lint,tests,dry_run}] [-v]
                       target

is this experiment ready for its first trial? check, plan, gate, lint, its tests and a
dry run, one verdict

positional arguments:
  target                an experiment (name or directory) or one campaign YAML

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --skip {check,plan,gate,lint,tests,dry_run}
                        leave out a stage (repeatable)
  -v, --verbose         print the output of every stage, not only of the failed ones

trials gate

usage: trials gate [-h] --checklist CHECKLIST [--var NAME=VALUE] [--only CHECK]
                   [--skip CHECK] [--list] [--validate] [--no-daemon-bounce]
                   [--timeout TIMEOUT] [--concurrency {sequential,concurrent}]
                   [--jobs JOBS]

Run an experiment's pre-flight checks.

options:
  -h, --help            show this help message and exit
  --checklist CHECKLIST
                        path to config/preflight_checklist.json
  --var NAME=VALUE      fill ${NAME} placeholders in check arguments (repeatable)
  --only CHECK          run only these checks by name (repeatable)
  --skip CHECK          skip these checks by name (repeatable). For checks that are
                        MEANINGLESS for a given trial, not ones that are inconvenient: a
                        skipped check is reported as skipped and recorded, so a bag
                        always says which gates it was held to.
  --list                show the plan without running anything
  --validate            only verify the checklist is coherent (runs nothing); exit 2 on
                        problems
  --no-daemon-bounce    skip the backend's step before the checks (a middleware daemon
                        restart)
  --timeout TIMEOUT     per-check timeout in seconds (default: 60)
  --concurrency {sequential,concurrent}
                        run the machine checks one after another, or the parallel-safe
                        ones together (default: $TRIALS_PREFLIGHT_CONCURRENCY, else the
                        checklist's 'concurrency', else concurrent)
  --jobs JOBS           at most this many checks at once in concurrent mode (default: 8)

trials analyze

usage: trials analyze [-h] [--experiments-root EXPERIMENTS_ROOT] [--where factor=value]
                      [--include-unverified] [--include-excluded] [--list] [--execute]
                      experiment [analysis]

Named analyses as a headless API.

positional arguments:
  experiment
  analysis              which declared analysis to run

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --where factor=value  restrict the cohort (repeatable)
  --include-unverified
  --include-excluded
  --list                list declared analyses and exit
  --execute             actually run; without it only the commands are printed

trials check

usage: trials check [-h] [--experiments-root EXPERIMENTS_ROOT] [--factors EXPERIMENT]
                    [--set name=a[,b]] [--limit LIMIT]
                    [campaign]

Declarative trial and campaign specification.

positional arguments:
  campaign              path to a campaign YAML

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --factors EXPERIMENT  list the factor space for an experiment and exit
  --set name=a[,b]      override a factor (Hydra-shaped); repeatable
  --limit LIMIT         max trials to print

trials metadata

usage: trials metadata [-h] [--experiments-root EXPERIMENTS_ROOT]
                       [--experiment EXPERIMENT] [--show-schema] [--quiet] [--strict]

The trial-metadata contract: shared core + per-experiment fields.

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --experiment EXPERIMENT
                        restrict to one experiment
  --show-schema         print the merged contract and exit
  --quiet               only print the summary
  --strict              exit non-zero if any trial violates the contract

trials storage

usage: trials storage [-h] [--host-level HOST_LEVEL]
                      [--experiments-root EXPERIMENTS_ROOT]

Report the declared bag storage for a host

options:
  -h, --help            show this help message and exit
  --host-level HOST_LEVEL
                        report for this level instead of this machine
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)

trials profiles

usage: trials profiles [-h] [--list] [--output OUTPUT] [--topics-only] [profile]

Named record profiles (lists of topics or other sources), declared as data by the
project.

positional arguments:
  profile          a profile name (omit with --list)

options:
  -h, --help       show this help message and exit
  --list           list the profiles in force, their size notes and their files
  --output OUTPUT  the recording directory of the printed command
  --topics-only    print just the list of sources, one per line

trials version

usage: trials version [-h] [--workspace WORKSPACE] [--json]

Which code produced a trial.

options:
  -h, --help            show this help message and exit
  --workspace WORKSPACE
                        the checkout to describe (default: the project root)
  --json                print the metadata dict

trials ui

usage: trials ui [-h] [--host HOST] [--port PORT] [--experiments-root EXPERIMENTS_ROOT]
                 [--no-auth] [--view-only] [--cache-dir CACHE_DIR]

Experiments control surface: the coverage grid, runs with a confirm step, the analyses
and the stop bar.

options:
  -h, --help            show this help message and exit
  --host HOST           bind address. Localhost by default ON PURPOSE: reach it with
                        `ssh -N -L 8080:localhost:8080 <host>`.
  --port PORT
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --no-auth             run without a password (only sensible on 127.0.0.1)
  --view-only           an archive viewer: register no route that runs a trial, stops a
                        robot, runs a backend action or quarantines a trial (also
                        TRIALS_UI_VIEW_ONLY=1)
  --cache-dir CACHE_DIR
                        where poster frames go when the experiments tree is read-only
                        (default: runs/posters/ inside each experiment)

trials mcp

usage: trials mcp [-h] [--experiments-root EXPERIMENTS_ROOT]
                  [--project-root PROJECT_ROOT] [--list-tools]

an MCP server over stdio with read-only tools: validate, plan, dry run, coverage index,
explain a trial. It never runs a trial. It needs the MCP Python SDK (pip install
'robofacts[mcp]').

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --project-root PROJECT_ROOT
                        the working directory of the runner's commands (default:
                        TRIALS_PROJECT_ROOT, trials.yaml, or the parent of the
                        experiments root)
  --list-tools          print the tools and the project in force, then exit (no server)

trials new

usage: trials new [-h] [--from EXPERIMENT] [--campaign NAME[:NEW]]
                  [--experiments-root EXPERIMENTS_ROOT]
                  name

a new experiment from the commented template, or from an existing experiment with --from
(the fast path when a similar one exists)

positional arguments:
  name                  the experiment directory name (lowercase, digits, underscores)

options:
  -h, --help            show this help message and exit
  --from EXPERIMENT     copy the declarations of this existing experiment, renamed,
                        instead of the template (no bags, runs, results, notebooks or
                        tests)
  --campaign NAME[:NEW]
                        with --from: copy only this campaign, renamed to NEW when given
                        (repeatable; default: all, names unchanged)
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)

trials init

usage: trials init [-h] [--experiment NAME] [--backend NAME] [directory]

a new project: trials.yaml and the shared configuration

positional arguments:
  directory          the project root (default: the current directory)

options:
  -h, --help         show this help message and exit
  --experiment NAME  also create a first experiment
  --backend NAME     the backend the project runs on: process (built in), a name (the
                     package robofacts_<name>), or a module (default: $TRIALS_BACKEND,
                     else process). trials.yaml then names it, which every project must

trials tool

usage: trials tool <name> [args...]

packaged tools:
  estop.sh
  robot_action.sh

trials roots

usage: trials roots [-h] [--experiments-root EXPERIMENTS_ROOT]
                    [--project-root PROJECT_ROOT]

Where the experiments live, and where the project is.

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --project-root PROJECT_ROOT
                        the working directory of the runner's commands (default:
                        TRIALS_PROJECT_ROOT, trials.yaml, or the parent of the
                        experiments root)

With the ROS 2 backend

A project whose trials.yaml says backend: ros2 has these commands in addition to the general ones, or in place of them.

Command Change What it does
trials explore added bring up one condition's stack with a Foxglove view that may change parameters (dry run without --execute, never coverage)
trials slim added archive slim copies of recorded bags
trials profiles replaced the record profiles in force (--list), or one profile's topics or record command
trials tool same command, other help run a packaged shell tool (estop.sh, robot_action.sh, and the tools a backend adds)

trials explore

The ROS 2 backend adds this command.

usage: trials explore [-h] [--experiments-root EXPERIMENTS_ROOT] [--set name=value]
                      [--label WORD] [--minutes MINUTES] [--execute]
                      campaign

Bring up one campaign condition's stack with a Foxglove bridge that may change the
parameters runner.yaml allows. No gate, no recording, no action: never coverage.

positional arguments:
  campaign

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --set name=value      pin a factor (the first level of each sweep is used otherwise)
  --label WORD          a word for the output folder, <stamp>_explore_<label>
  --minutes MINUTES     stop by itself after this long (default: until Ctrl-C)
  --execute             actually launch. Without this it only prints the commands.

trials slim

The ROS 2 backend adds this command.

usage: trials slim [-h] [--experiments-root EXPERIMENTS_ROOT] [--experiment EXPERIMENT]
                   [--bag BAG] [--limit LIMIT] [--all] [--list] [--force]
                   [--no-compress] [--copy-if-light]

Keep a slim, transferable copy of every recorded bag.

options:
  -h, --help            show this help message and exit
  --experiments-root EXPERIMENTS_ROOT
                        the experiments directory (default: TRIALS_EXPERIMENTS_ROOT,
                        trials.yaml, or the nearest experiments/ directory)
  --experiment EXPERIMENT
                        restrict to one experiment directory name
  --bag BAG             archive exactly this bag directory
  --limit LIMIT         stop after N newly archived bags
  --all                 archive every not-yet-archived bag
  --list                show the plan, change nothing
  --force               re-archive bags already done
  --no-compress         skip zstd compression
  --copy-if-light       copy a bag that has no heavy topics instead of skipping it (used
                        for remote trials, where bags_slim is what comes back)

trials profiles with the ROS 2 backend

The ROS 2 backend replaces the general command.

usage: trials profiles [-h] [--list] [--cf-name CF_NAME] [--output OUTPUT]
                       [--storage STORAGE] [--max-duration-sec MAX_DURATION_SEC]
                       [--compression] [--topics-only] [--run]
                       [profile]

Record profiles in the ROS 2 backend: the topics a slim copy drops, and a profile's
record command.

positional arguments:
  profile               a profile name (omit with --list)

options:
  -h, --help            show this help message and exit
  --list                list the profiles in force, their size notes and their files
  --cf-name CF_NAME     default: trials.yaml record_profiles.cf_name, else the adapter's
  --output OUTPUT       bag output directory (-o)
  --storage STORAGE
  --max-duration-sec MAX_DURATION_SEC
  --compression         zstd file compression (light bags are small anyway)
  --topics-only         print just the topic list, one per line
  --run                 execute instead of printing

trials tool with the ROS 2 backend

The command is the general one. Its help differs with the ROS 2 backend.

usage: trials tool <name> [args...]

packaged tools:
  estop.sh
  kill_ros.sh
  robot_action.sh