Skip to main content

Robot driver interfaces and CLI plugin for Cyberwave

Project description

Cyberwave Robotics Integrations

This module provides the base classes and factory loader for Cyberwave robot drivers. It also ships a CLI plugin that exposes a drivers command group for the cyberwave CLI.

Example CLI usage

After installing the plugin alongside cyberwave-cli you will see a new drivers command:

pip install ./cyberwave-cli # or install from PyPI
pip install ./cyberwave_robotics_integrations

cyberwave drivers start spot
cyberwave drivers status spot
cyberwave drivers start so-arm100

When running the Tello driver, the start command writes telemetry to ~/.cyberwave/tello_config.json so the status command can report the latest data. Telemetry can also be forwarded to the Cyberwave backend. Provide a device ID and offline token to use an existing device, or omit --device-id to automatically register one using the default project from cyberwave_cli.config:

cyberwave drivers start tello --device-id 123 --token <offline-token>

# automatic registration
cyberwave drivers start tello

If --device-id is omitted, the command automatically registers a device using your configured defaults:

cyberwave drivers start tello
# Device registered and driver started

Example SDK usage

Drivers can be loaded programmatically via the factory:

from cyberwave_robotics_integrations.factory import Robot

robot = Robot("spot")
robot.connect()
robot.move_to(1.0, 2.0)
robot.sit()
robot.disconnect()

The factory is also re-exported from the cyberwave SDK as RobotDriver:

from cyberwave import RobotDriver
RobotDriver("kuka_kr3").connect()

Input Controllers

Robots can be driven by input controllers that translate user actions into driver commands. The package defines a base class BaseInputController which can be subclassed for different control strategies (e.g. keyboard, web UI).

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_robotics_integrations-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

cyberwave_robotics_integrations-0.1.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file cyberwave_robotics_integrations-0.1.0.tar.gz.

File metadata

File hashes

Hashes for cyberwave_robotics_integrations-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25b0f6cd94b73bcfe31fd874c302a4300ae03490e07c867f7f01a6e6026a928d
MD5 88a5e3531242baa022b51fcc0156086a
BLAKE2b-256 15ad5a76a3d292b6ce28e621bda6ca2f1db098b2a516e48a40cd6d5a9b52a579

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyberwave_robotics_integrations-0.1.0.tar.gz:

Publisher: workflow.yml on cyberwave-os/cyberwave-python-robotics-integrations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyberwave_robotics_integrations-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cyberwave_robotics_integrations-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e32d3d0909aa398808b2d2bd1c634e9c31030b0ad5ea783ba6404e716421438f
MD5 3c03af480be743abf7855e62c713b1fb
BLAKE2b-256 785e3593971b9f96ce5ae70a142ba6e9367e25333f10330d9fc813bc3cd54f89

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyberwave_robotics_integrations-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on cyberwave-os/cyberwave-python-robotics-integrations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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