Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cyberwave-0.1.3-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

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

Hashes for cyberwave-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fa1e0bd72ff8bc3fea2256b43edea59e117c06e687b4912a500f1b8cf9da7e08
MD5 3fb75bb2eac0dea25b3b4a2afc3517f1
BLAKE2b-256 f618550447c8917e82dfa93f4df4ddc1fbed6c137e42c5708dc6932dcd267290

See more details on using hashes here.

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

Hashes for cyberwave-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65f3e0f360c64df59d7543119942df917ed5970ae69997fe75ab8afbe2330818
MD5 9fa13c02f2c1554699822cbee406f3d2
BLAKE2b-256 cfd8bc0434de242aa65dd309ba692d845ec2cfd5d7c704f4fd7a497cb4e16fa7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page