Robot Skill Hub by Superfast Robotics

UFACTORY xArm Python SDK: Attached gripper control

Configure, enable and position an attached gripper. Static source reference; upstream setup and hardware configuration require separate review.

xarm-python-sdk-example-wrapper-common-5004-set-gripper-py | Record version: source-dc0092c1ec8e7506e74c698fd684c99460de6288b62211b8345625397d3f3756

Record JSON | Markdown | Pinned upstream source

Access

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

For one verified inert file, use the installed CLI's inspect response fetch_source_args and append --project DIR --json. Source-file retrieval creates no environment and does not install or run the source.

Hub preparation adapter: false. Follow the upstream setup and invocation contract.

Source and license

Repository
https://github.com/xArm-Developer/xArm-Python-SDK
Revision
d911319cebc45142613e18086aabb8067b18ab7f
Path
example/wrapper/common/5004-set_gripper.py
Source SHA256
dc0092c1ec8e7506e74c698fd684c99460de6288b62211b8345625397d3f3756
Source bytes
1269
Original authors
UFACTORY Inc., Vinman
License
BSD-3-Clause
License scope
Selected first-party UFACTORY Python example source under the pinned BSD-3-Clause license and its own UFACTORY/Vinman notices. Preserve copyright, conditions, attribution and disclaimers. This source identity does not establish rights or compatibility for robot hardware, firmware, payloads, recorded trajectories, third-party dependencies or external assets.
License SHA256
3f14a09c97aae546da459e135d1257c3ba37a692ec1a6be4628da078d38b75a4
Hub commit
e57076c94f3b100842fbe5efcb151a7cdea86da5

Artifact

{
  "kind": "workflow",
  "format": "python",
  "workflow_role": "gripper-control"
}

Requirements

{
  "python": "Python >=3.5 declared by pinned pyproject.toml/setup.py; README.rst names 3.5-3.13. These are upstream declarations, not a tested runtime combination.",
  "packages": [
    "xarm-python-sdk from the exact source revision; xarm.wrapper.XArmAPI"
  ],
  "display": "Operator-supplied reachable robot-controller address, matching model/payload/control configuration and applicable firmware. Example scripts accept an address argument or use relative robot.conf/input. No controller, installed SDK, firmware or combined environment was verified.",
  "execution_domain": "hardware",
  "source_imports": [
    "configparser",
    "os",
    "sys",
    "time",
    "xarm.wrapper"
  ],
  "notes": "No installed SDK or executable environment was tested. Source scripts may move or reconfigure hardware even when their primary task is inspection.",
  "declared_requirements": {
    "sdk_source_version": {
      "value": "1.18.5",
      "path": "xarm/version.py",
      "sha256": "3e449707f57e6d6b33e6fcfde7341fddc629b4a4987772a5e1b20b1fa54c483e",
      "bytes": 24,
      "url": "https://github.com/xArm-Developer/xArm-Python-SDK/blob/d911319cebc45142613e18086aabb8067b18ab7f/xarm/version.py",
      "meaning": "Source declaration only; no installed SDK or firmware version inferred."
    },
    "readme_wheel_example_version": {
      "value": "1.16.0",
      "source": "https://github.com/xArm-Developer/xArm-Python-SDK/blob/d911319cebc45142613e18086aabb8067b18ab7f/README.md",
      "meaning": "The README's wheel-install example differs from the frozen version file; not treated as the SDK version at this pin."
    },
    "empty_runtime_requirements_file": {
      "path": "requirements.txt",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0,
      "url": "https://github.com/xArm-Developer/xArm-Python-SDK/blob/d911319cebc45142613e18086aabb8067b18ab7f/requirements.txt",
      "git_blob_sha1": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "declaration": "This file is exactly empty. Its zero-byte identity is reviewed in the static receipt, not an assertion that every optional SDK feature has no dependencies."
    },
    "controller_address": "Operator-supplied; examples use an argument, relative ../robot.conf, or interactive input. Shipped address is example data and was not contacted.",
    "source_control_mode_values": [
      0
    ],
    "control_mode_meaning": "Literal set_mode arguments in this source, in initialization/control code; not model/controller/firmware compatibility declarations.",
    "firmware": "unknown unless a source-specific requirement is stated below",
    "license_boundaries": "BSD source terms do not establish hardware access, firmware/payload terms, entitlement or runtime compatibility.",
    "payload": "Source explicitly requires an attached gripper; its hardware/version is not verified."
  }
}

Invocation

{
  "entrypoint": "python example/wrapper/common/5004-set_gripper.py",
  "notes": "These examples execute at module top level without __main__ guards. Do not import them to inspect metadata: import would execute connection/control code. Use upstream setup and the selected script only within an independently authorized robot task. Address, mode, targets, units, payload and firmware must be reviewed; this source reference installs/runs nothing."
}

Explicit compatibility

[]

Missing environment fields remain unknown. 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 Python AST and matched the reviewed SDK import, direct module-level constructor binding and subsequent instance method calls in module/control-flow syntax, excluding nested definitions and comprehension scopes. This is syntactic evidence, not proof of execution or reachability. No upstream code, installation, robot command, dataset, mesh or checkpoint was executed or loaded; runtime compatibility is unverified.

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