Webots: camera
Official Webots native main example for camera. Inspect the pinned source and upstream setup before use.
webots-projects-samples-devices-controllers-camera-camera-c | Record version: source-a2309d2f885dca4266aaffeb0030a40368946f9cb640f017f307cf10140226d7
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/cyberbotics/webots
- Revision
c6793d8f7230a311c4bc2a3101d9f1a8bc0aa01b- Path
projects/samples/devices/controllers/camera/camera.c- Source SHA256
a2309d2f885dca4266aaffeb0030a40368946f9cb640f017f307cf10140226d7- Original authors
- See pinned upstream source and license notices.
- License
- Apache-2.0
- 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
51b88fd3e9e24edcdce1dd145a4fca2dcd12911407f00b06dfa6ff600f9733c1- Hub commit
88022cc5fa2396f47b1f2354e988189dc8e53bea
Requirements
{
"python": "Webots R2025a Python/C/C++ controller toolchain",
"packages": [
"Webots R2025a",
"Matching upstream world, robot PROTO/model, controller helpers and assets"
],
"display": "Run controllers inside their matching Webots world, not as standalone Python files. Some worlds expose external controllers or hardware bridges. Robot models and assets retain their own licenses.",
"execution_domain": "simulation",
"source_imports": [
"stdio.h",
"stdlib.h",
"string.h",
"webots/camera.h",
"webots/motor.h",
"webots/robot.h",
"webots/utils/system.h"
]
}
Invocation
{
"entrypoint": "Webots controller: projects/samples/devices/controllers/camera/camera.c; open the matching upstream .wbt world and select this controller",
"notes": "Run controllers inside their matching Webots world, not as standalone Python files. Some worlds expose external controllers or hardware bridges. Robot models and assets retain their own licenses. 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.