# Pinocchio: quadrotor ocp

Official Pinocchio python main example for quadrotor ocp. Inspect the pinned source and upstream setup before use.

ID: `pinocchio-examples-casadi-quadrotor-ocp-py`

Record version: `source-44029ad6bc88cc113893f8ba047c9b957f0206c32bb9c407c4eae56a49a95b76`

Hub commit: `3a81abb601c3b4b8fcb9a8bed5ca270e546f5f1a`

## 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**. Runtime verification: **not_run**.

Upstream setup: https://github.com/stack-of-tasks/pinocchio/blob/2ae77666e894a39127b283dcce3e2399ec19242d/README.md

## Source and license

- Repository: https://github.com/stack-of-tasks/pinocchio
- Pinned source: https://github.com/stack-of-tasks/pinocchio/blob/2ae77666e894a39127b283dcce3e2399ec19242d/examples/casadi/quadrotor-ocp.py
- Revision: `2ae77666e894a39127b283dcce3e2399ec19242d`
- Path: `examples/casadi/quadrotor-ocp.py`
- Source SHA256: `44029ad6bc88cc113893f8ba047c9b957f0206c32bb9c407c4eae56a49a95b76`
- Source bytes: 8310
- Original authors: See pinned upstream source and license notices.
- License: [BSD-2-Clause](https://github.com/stack-of-tasks/pinocchio/blob/2ae77666e894a39127b283dcce3e2399ec19242d/LICENSE)
- 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: `65b81e23a8e20d7c9d28239bbe9c9afc8d72dccd18833a4d443f0ed9e71738ce`

## Requirements

```json
{
  "python": "Python/C++ versions and optional bindings from pinned Pinocchio v4.1.0",
  "packages": [
    "Pinocchio v4.1.0 pinned source",
    "example-robot-data, collision/viewer/autodiff extras as imported by the selected example"
  ],
  "display": "Install only the selected example optional dependencies. URDF/mesh assets, CasADi/CppAD, Meshcat, Gepetto, RViz or other viewers may be needed; inspect imports and source.",
  "execution_domain": "computation-or-simulation",
  "source_imports": [
    "casadi",
    "matplotlib.pyplot",
    "numpy",
    "os",
    "pathlib",
    "pinocchio",
    "pinocchio.casadi"
  ]
}
```

## Invocation

```json
{
  "entrypoint": "python examples/casadi/quadrotor-ocp.py",
  "notes": "Install only the selected example optional dependencies. URDF/mesh assets, CasADi/CppAD, Meshcat, Gepetto, RViz or other viewers may be needed; inspect imports and source. No Hub preparation adapter or measured runtime success is claimed."
}
```

## Compatibility

```json
[]
```

Missing environment fields remain unknown. Source 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.
