Robot Skill Hub by Superfast Robotics

Drake: play cart pole

Official Drake python main example for play cart pole. Inspect the pinned source and upstream setup before use.

drake-bindings-pydrake-examples-gym-play-cart-pole-py | Record version: source-742e51f3ba5ea6b99c2c1b22a9aac31a99d6d2949b9e78a6d26ab61fb5ce0dc9

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.

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

Source and license

Repository
https://github.com/RobotLocomotion/drake
Revision
09bc913cf1af0cdde31073d5f1f7f66ca35ee0d8
Path
bindings/pydrake/examples/gym/play_cart_pole.py
Source SHA256
742e51f3ba5ea6b99c2c1b22a9aac31a99d6d2949b9e78a6d26ab61fb5ce0dc9
Original authors
See pinned upstream source and license notices.
License
BSD-3-Clause
License scope
Selected example source code only; preserve upstream copyright and per-file notices. Robot models, datasets, weights, simulator binaries and third-party dependencies retain their separate licenses.
License SHA256
68a284dd034413ae0b9c36b269c64e25d3dcf74c9356e0698e184a58ac2fd9e3
Hub commit
88022cc5fa2396f47b1f2354e988189dc8e53bea

Requirements

{
  "python": "Python/C++ versions supported by pinned Drake v1.58.0",
  "packages": [
    "Drake v1.58.0 / pydrake from the matching release",
    "Bazel/C++ toolchain for native examples and optional LCM/Meshcat components"
  ],
  "display": "Native examples require matching Bazel targets and model data; Python examples may need Meshcat/LCM. Some examples communicate over LCM; inspect configuration before hardware use.",
  "execution_domain": "simulation-or-hardware",
  "source_imports": [
    "argparse",
    "gymnasium",
    "pydrake.common",
    "pydrake.examples.gym._bazel_cwd_helpers",
    "pydrake.geometry",
    "stable_baselines3",
    "stable_baselines3.common.env_checker",
    "warnings"
  ]
}

Invocation

{
  "entrypoint": "python bindings/pydrake/examples/gym/play_cart_pole.py",
  "notes": "Native examples require matching Bazel targets and model data; Python examples may need Meshcat/LCM. Some examples communicate over LCM; inspect configuration before hardware use. No Hub preparation adapter or measured runtime success is claimed."
}

Explicit compatibility

[]

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

Evidence

Level: source_reviewed; runtime verification: not_run.

Fetched and SHA-256 checked this immutable source; statically parsed Python or located native main; verified pinned license bytes and checked explicit per-file license identifiers. No upstream code executed.

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