# LeRobot: Motor ID and baud-rate setup CLI

Set motor identifiers and baud rate for a selected device that implements the upstream motor setup interface. Inspect the pinned source and setup before use.

ID: `lerobot-src-lerobot-scripts-lerobot-setup-motors-py`

Record version: `source-65b6a1e4797eb639bb858f0c6efaedc0e6615d3067fc06db851465337c7a2461`

Hub commit: `ab214094ec555451d7f9892e295dff22ed3c451c`

## Access

Fetch the pinned repository, verify this source checksum, and use upstream installation and invocation. This record does not install or execute code.

Optional inert file retrieval: `python /PATH_TO_SKILL/scripts/rsh.py fetch-source lerobot-src-lerobot-scripts-lerobot-setup-motors-py --expected-source-revision 7e241bd630a3719a56157a497ce5d08f244784f1 --expected-source-sha256 65b6a1e4797eb639bb858f0c6efaedc0e6615d3067fc06db851465337c7a2461 --project ./experiment --json`. This verifies one file, preserves provenance and never installs or runs it. See [source-file retrieval](https://hub.superfastrobotics.com/source-files.md).

Hub preparation adapter: **false**. Runtime verification: **not_run**.

Upstream setup: https://github.com/huggingface/lerobot/blob/7e241bd630a3719a56157a497ce5d08f244784f1/README.md

## Source and license

- Repository: https://github.com/huggingface/lerobot
- Pinned source: https://github.com/huggingface/lerobot/blob/7e241bd630a3719a56157a497ce5d08f244784f1/src/lerobot/scripts/lerobot_setup_motors.py
- Revision: `7e241bd630a3719a56157a497ce5d08f244784f1`
- Path: `src/lerobot/scripts/lerobot_setup_motors.py`
- Source SHA256: `65b6a1e4797eb639bb858f0c6efaedc0e6615d3067fc06db851465337c7a2461`
- Source bytes: 2241
- Original authors: The Hugging Face team
- License: [Apache-2.0](https://github.com/huggingface/lerobot/blob/7e241bd630a3719a56157a497ce5d08f244784f1/LICENSE)
- License scope: Selected first-party workflow Python source only; preserve all upstream copyright, author and per-file notices. This does not relicense model weights, datasets, Gemma or other third-party model code, robot firmware, simulator binaries, meshes, dependencies or external services; their separate terms and access requirements remain applicable.

License SHA256: `0583375a0ec642ec79c447781f34322b0cfa66baff31258214d040f1f6d86d7c`

## Artifact

```json
{
  "kind": "workflow",
  "format": "python",
  "workflow_role": "motor-configuration"
}
```

## Requirements

```json
{
  "python": "Python >=3.12 as declared by pinned pyproject.toml",
  "packages": [
    "Pinned LeRobot checkout",
    "Upstream training/evaluation/core_scripts/hardware and policy/environment extras required by the selected CLI"
  ],
  "display": "Select the specific upstream robot/teleoperator, port, camera, calibration, policy and dataset configuration. Generic CLI entrypoints do not establish support for any particular robot. Hardware commands can record, replay or change motor/calibration state.",
  "execution_domain": "hardware",
  "source_imports": [
    "dataclasses",
    "draccus",
    "lerobot.robots",
    "lerobot.teleoperators",
    "lerobot.utils.import_utils"
  ]
}
```

## Invocation

```json
{
  "entrypoint": "lerobot-setup-motors",
  "notes": "Install the pinned upstream extras for this CLI and select its required robot/teleoperator/environment, policy, dataset, port and calibration arguments. Recording is data collection in this revision; policy deployment uses lerobot-rollout. No Hub installation, robot command or runtime compatibility has been verified."
}
```

## Compatibility

```json
[]
```

Missing environment fields remain unknown. Source discovery labels do not establish robot compatibility.

## Evidence

Level: **source_reviewed**. Runtime verification: **not_run**.

Verified exact source, applicable license and author/setup document bytes at a full Git commit; parsed the Python AST and reviewed this guarded operational entrypoint and its explicit license notices. No upstream code, installation, robot command, dataset, mesh or checkpoint was executed or loaded.

Source review and contributor reports do not establish task completion. Preserve upstream attribution and licenses.
