Python SDK for the CyberWave Platform
Project description
Cyberwave SDK (MVP)
This package exposes a minimal, synchronous facade for Missions and Runs to enable quick demos and developer onboarding.
Quickstart
from cyberwave import Cyberwave, Mission
cw = Cyberwave(base_url="http://localhost:8000", token="<TOKEN>")
mission = Mission(key="so101/PickOrange", version=1, name="Pick Orange into Bin")
(mission.world()
.asset("props/table-simple", alias="table")
.asset("props/bin", alias="bin")
.asset("props/orange", alias="orange1")
.place("table", [0,0,0, 1,0,0,0])
.place("bin", [0.6,0,0.8, 1,0,0,0])
.place("orange1", [0.1,0,0.8, 1,0,0,0])
)
mission.parameters["seed"] = 42
mission.goal_object_in_zone("orange1", "bin", tolerance_m=0.05, hold_s=2.0)
cw.missions.register(mission)
run = cw.runs.start(environment_uuid="<ENV_UUID>", mission_key=mission.key, mission_version=mission.version, parameters=mission.parameters, mode="virtual")
print("run:", run["uuid"])
See examples/quickstart_mvp.py for a complete script with teleop and command calls.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cyberwave-0.1.3.tar.gz
(47.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cyberwave-0.1.3-py3-none-any.whl
(57.9 kB
view details)
File details
Details for the file cyberwave-0.1.3.tar.gz.
File metadata
- Download URL: cyberwave-0.1.3.tar.gz
- Upload date:
- Size: 47.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa1e0bd72ff8bc3fea2256b43edea59e117c06e687b4912a500f1b8cf9da7e08
|
|
| MD5 |
3fb75bb2eac0dea25b3b4a2afc3517f1
|
|
| BLAKE2b-256 |
f618550447c8917e82dfa93f4df4ddc1fbed6c137e42c5708dc6932dcd267290
|
File details
Details for the file cyberwave-0.1.3-py3-none-any.whl.
File metadata
- Download URL: cyberwave-0.1.3-py3-none-any.whl
- Upload date:
- Size: 57.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65f3e0f360c64df59d7543119942df917ed5970ae69997fe75ab8afbe2330818
|
|
| MD5 |
9fa13c02f2c1554699822cbee406f3d2
|
|
| BLAKE2b-256 |
cfd8bc0434de242aa65dd309ba692d845ec2cfd5d7c704f4fd7a497cb4e16fa7
|