# Boston Dynamics Spot SDK: Robot state and hardware inspection

Read robot state, metrics and hardware configuration. Inspect exact upstream setup and terms before use.

ID: `spot-sdk-python-examples-get-robot-state-get-robot-state-py`

Record version: `source-a2dcd359bb07356a69be443f794090b3e715117a71d6a34f749cec1afaa8f675`

Hub commit: `bee2df6672c145beeff064d2a203cebdbd3c5bf3`

## Access

Inspect the pinned source, nonstandard upstream terms and setup requirements. The Hub supplies a source link, not license clearance, installation or execution.

Optional inert file retrieval: `python /PATH_TO_SKILL/scripts/rsh.py fetch-source spot-sdk-python-examples-get-robot-state-get-robot-state-py --expected-source-revision 04537ddafe0641d1751af3eb9e76cb785fc18594 --expected-source-sha256 a2dcd359bb07356a69be443f794090b3e715117a71d6a34f749cec1afaa8f675 --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/boston-dynamics/spot-sdk/blob/04537ddafe0641d1751af3eb9e76cb785fc18594/docs/python/quickstart.md

## Source and license

- Repository: https://github.com/boston-dynamics/spot-sdk
- Pinned source: https://github.com/boston-dynamics/spot-sdk/blob/04537ddafe0641d1751af3eb9e76cb785fc18594/python/examples/get_robot_state/get_robot_state.py
- Revision: `04537ddafe0641d1751af3eb9e76cb785fc18594`
- Path: `python/examples/get_robot_state/get_robot_state.py`
- Source SHA256: `a2dcd359bb07356a69be443f794090b3e715117a71d6a34f749cec1afaa8f675`
- Source bytes: 1750
- Original authors: Boston Dynamics, Inc.
- License: [LicenseRef-BostonDynamics-SDK-20191101-BDSDK-SL](https://github.com/boston-dynamics/spot-sdk/blob/04537ddafe0641d1751af3eb9e76cb785fc18594/LICENSE)
- License scope: Selected Boston Dynamics first-party Python examples reference the pinned Boston Dynamics SDK License (20191101-BDSDK-SL). This local LicenseRef identifies upstream terms; it is not an OSI/SPDX-standard grant or legal-clearance assertion. Source-reference metadata only; preserve complete terms and notices. Firmware, hardware, assets and dependencies remain separate.

License SHA256: `8c431a217d39f8e1d40cb755a3144728892987765246785351c2be21d8ebe51c`

## Artifact

```json
{
  "kind": "workflow",
  "format": "python",
  "workflow_role": "robot-state-inspection"
}
```

## Requirements

```json
{
  "python": "Python >=3.7 as declared by pinned bosdyn-client setup.py/quickstart; dependency and platform support remains unverified.",
  "packages": [
    "bosdyn-client >= 3.1"
  ],
  "display": "Authorized operator-supplied robot address and credentials required. SDK checkout declares 5.2.0; quickstart separately requires robot software aligned with package versions. Motion workflows also declare leases, time sync and external E-Stop. Payload, feature licenses, maps and missions depend on the selected workflow.",
  "execution_domain": "hardware",
  "source_imports": [
    "argparse",
    "bosdyn.client",
    "bosdyn.client.robot_state",
    "bosdyn.client.util",
    "sys"
  ],
  "notes": "Per-file package floors are declarations, not a tested combined runtime environment.",
  "declared_requirements": {
    "python": {
      "value": ">=3.7",
      "source": "https://github.com/boston-dynamics/spot-sdk/blob/04537ddafe0641d1751af3eb9e76cb785fc18594/python/bosdyn-client/setup.py"
    },
    "dependency_file": {
      "path": "python/examples/get_robot_state/requirements.txt",
      "sha256": "c8c78bc9a4da2b6ab0d030422b19cd876bf5f1bb89e1f9c8f6954b28eec19c2f",
      "bytes": 42,
      "url": "https://github.com/boston-dynamics/spot-sdk/blob/04537ddafe0641d1751af3eb9e76cb785fc18594/python/examples/get_robot_state/requirements.txt",
      "literal_lines": [
        "-f ../../../prebuilt",
        "bosdyn-client >= 3.1"
      ]
    },
    "firmware": "unknown",
    "external_assets": "Server binaries/autopilot firmware/payloads for MAVSDK; robot firmware/features, camera data, maps/missions for Spot. Separate upstream terms and access requirements remain applicable.",
    "sdk_checkout_version": {
      "value": "5.2.0",
      "source": "https://github.com/boston-dynamics/spot-sdk/blob/04537ddafe0641d1751af3eb9e76cb785fc18594/VERSION"
    },
    "robot_software_alignment": {
      "source": "https://github.com/boston-dynamics/spot-sdk/blob/04537ddafe0641d1751af3eb9e76cb785fc18594/docs/python/quickstart.md",
      "declaration": "Robot software should match Python package versions; actual firmware unknown."
    },
    "credentials": "Operator-supplied authorized robot endpoint/credentials; none collected or contacted.",
    "control_prerequisites": "Selected source may require lease, time sync, external E-Stop, motor power, arm/camera/dock or mission/map data; read-only queries differ from motion workflows.",
    "source_license": "Local LicenseRef; nonstandard upstream terms unverified. No grant or feature entitlement inferred."
  }
}
```

## Invocation

```json
{
  "entrypoint": "python python/examples/get_robot_state/get_robot_state.py",
  "notes": "Use the selected pinned folder README and requirements. Robot address/credentials, feature entitlement, stored assets and SDK/robot-software alignment must be supplied upstream. This reference establishes no robot contact, license entitlement, firmware compatibility or execution result."
}
```

## 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.
