CLI for installing, updating, and running the Krabby locomotion stack
Project description
krabby-launcher
CLI for installing, updating, and running the Krabby locomotion stack on a Jetson Orin host.
PyPI package name is krabby-launcher (the krabby name was already taken); the installed command is still krabby.
Install
pip install krabby-launcher
Usage
krabby install # pull release-latest, set up udev + dialout
krabby install --image <ref> # pull a specific tag or digest
krabby update # re-pull the last installed image
krabby update --image <ref> # pull a different tag
krabby run # full gamepad stack: HAL server + krabby-uno client + controller
krabby run --gamepad-only # explicit alias for the gamepad stack
krabby run -- --device-id 1 # forward client args to krabby-uno (gamepad mode)
krabby run -- --checkpoint /path/to/ckpt.pt # inference mode (policy checkpoint)
krabby firmware show # run krabby-firmware show inside the container
krabby firmware show <branch> # list a branch's builds newest-first, paged
krabby firmware update # run krabby-firmware update inside the container
krabby firmware <args> # any krabby-firmware subcommand/flags
krabby --version
krabby --help
krabby run starts the whole gamepad stack in one container — the HAL server and
the krabby-uno client/controller together — so a paired gamepad drives the robot with
a single command. To run just the client (e.g. the two-process debug flow), use the
krabby-uno console script from the controller package (pip install krabby-controller)
against the server's TCP endpoints (tcp://host:6001 / :6002).
Image refs
The default image is pulled from ECR:
public.ecr.aws/t7t7b3i3/krabby-locomotion:release-latest
release-latest tracks the newest release/* build — the stable channel for kit
owners (CI moves the tag on each release build; see images/locomotion/README.md).
Use --image mainline-latest to follow the development line instead.
A bare tag (e.g. --image v1.2.3) is expanded to the full ECR URI automatically.
Pass a fully-qualified URI to use a different registry entirely.
State
The last installed image ref and digest are recorded at ~/.config/krabby/state.json.
krabby update and krabby run read this file when --image is omitted.
GPU
On aarch64 (Jetson) the container is started with --runtime=nvidia.
On x86_64 it uses --gpus all.
Firmware pass-through
There are two related but distinct commands — same flash CLI, different host requirements:
| Command | Where it runs | When to use |
|---|---|---|
krabby firmware <args> |
the flash CLI inside the installed image | the normal path — no host flash tools needed (you only pip install krabby-launcher) |
krabby-firmware <args> |
the flash CLI directly on the host | running the firmware package standalone (pip install krabby-firmware), e.g. on a laptop without the locomotion image |
krabby firmware forwards every argument verbatim to krabby-firmware in a transient
container, mounts ~/.cache/krabby-firmware so cached artifacts are shared across runs,
and passes serial devices (/dev/ttyACM*, /dev/ttyUSB*) through via --device. When
your shell is interactive it allocates a TTY, so the interactive menu and paged
show <branch> output behave the same as running krabby-firmware directly.
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 Distributions
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
File details
Details for the file krabby_launcher-0.1.9-py3-none-any.whl.
File metadata
- Download URL: krabby_launcher-0.1.9-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aef72926b2e16b6e9535aceae4c65412ec4fa45cdbdaff7c1879af5a3b05fa6
|
|
| MD5 |
32e2a6c65e1fdb665bbcdca46119f51a
|
|
| BLAKE2b-256 |
3fa827f956a9a6cdc4a0a36e4872fee4fe3b37c33b7fed4e27952ae102ab0742
|