Skip to main content

The AI-ready robotics dev kit, with built-in remote control and VLA support.

Project description

Teleoperation server

Setup and run

We instead use the uv package manager, which handles gracefully python version and dependencies. Think of uv like an alternative to pip, venv, and pyenv.

  1. Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Pin python version In the teleop folder run:
uv python pin 3.10
  1. Run the fastapi server
cd ..
make

Run locally on port 8080 with simulation

cd ..
make local

Run using the CLI

This program is a command line interface

# Display cool logo and check config
uv run teleop info
# Display help
uv run teleop --help
# Run on port 8080
uv run teleop run --port 8080

How to add dependencies?

To install a new Python package, use uv:

cd teleop
sudo uv add numpy

Keep the dependencies lean, use optional dependency groups: dev and test. To add to one of those groups, do this:

sudo uv add mypy --optional dev

Robot logic

The robot logic is in hardware/base.py

### GUI vs headless mode

In GUI mode, the FastAPI server launches simulation/pybullet.

#### Stop

If you have the error "Cannot connect to pybullet server" in GUI mode, do this

# Stop, then relaunch
make stop
make

And then relaunch.

## Build binary

We use nuitka to build the project into a binary.

cd ..
make build

This takes about 10min on a MacBook pro. The result is a binary main.bin

This binary only works for the same platform: eg MacOS. To compile it on Linux, you need to run a Linux machine.

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

phosphobot-0.3.0.tar.gz (14.2 MB view details)

Uploaded Source

Built Distribution

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

phosphobot-0.3.0-py3-none-any.whl (14.3 MB view details)

Uploaded Python 3

File details

Details for the file phosphobot-0.3.0.tar.gz.

File metadata

  • Download URL: phosphobot-0.3.0.tar.gz
  • Upload date:
  • Size: 14.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.3

File hashes

Hashes for phosphobot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7f26b2006bbaa9f8cb4261b7c950dd9e2f8ec86d56a0f5898a5e2ae3a291b6dc
MD5 6a134c6ca660248a92c26ca607cce0b8
BLAKE2b-256 1250152ed42419e05a0d251e64157cb70ecfbb2100a55c1b02455cb77a2de539

See more details on using hashes here.

File details

Details for the file phosphobot-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: phosphobot-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.3

File hashes

Hashes for phosphobot-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10394116f7a0bc6d5a6cca38abb8b99e0233536be5e71ccc2044be6baf9f416a
MD5 786855ba2497f35ebaf873977feea65b
BLAKE2b-256 dda5d9008cdf2bf815005cf2218c18157aed8bda9c2568f073bc1bd534cc1daf

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