Skip to main content

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 mainline-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                # start the locomotion container
krabby run --image <ref> -- --checkpoint /path/to/ckpt.pt

krabby firmware show      # run krabby-firmware show inside the container
krabby firmware update    # run krabby-firmware update inside the container
krabby firmware <args>    # any krabby-firmware subcommand/flags

krabby --version
krabby --help

Image refs

The default image is pulled from ECR:

public.ecr.aws/t7t7b3i3/krabby-locomotion:mainline-latest

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

krabby firmware mounts ~/.cache/krabby-firmware into the container so cached firmware artifacts are shared across runs. Serial devices (/dev/ttyACM*, /dev/ttyUSB*) are passed through automatically via --device.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

krabby_launcher-0.1.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file krabby_launcher-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for krabby_launcher-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f6054aee379477c83787dd507b83a8b56e21b3f13f5337fbea50d409d9d12f08
MD5 b571126510718b48c326f7cbff4c9ba3
BLAKE2b-256 e92eb674c8fe4628b9f2e22034a6d4b562ab617beba78b2177bc4785b3c06db3

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