Autolife planning module
Project description
Autolife-Planning
A planning library for the Autolife robot. It integrates motion planning (VAMP), inverse kinematics (Cricket), and collision-aware planning (Foam) through a unified Python interface managed by pixi.
Prerequisites
- Linux (x86_64)
- pixi package manager
Quick Start
git clone --recursive https://github.com/H-tr/Autolife-Planning.git
cd Autolife-Planning
bash scripts/setup.sh
This will install pixi (if needed), set up the environment, build the C++ dependencies, and download assets.
Manual Installation
If you prefer to set things up step by step:
# Clone with submodules
git clone --recursive https://github.com/H-tr/Autolife-Planning.git
cd Autolife-Planning
# Install the pixi environment (Python, C++ toolchain, and all dependencies)
pixi install
# Build C++ third-party libraries
pixi run cricket-build
pixi run foam-build
# Download robot assets
bash scripts/download_assets.sh
Building the Robot Description
When the robot URDF changes, rebuild the full pipeline from URDF to FK code:
pixi run generate-fk
This runs the full chain automatically:
- foam-build — Build the foam collision library
- build-robot — Process raw URDF into planning-ready descriptions (simple, base, SRDF)
- spherize-robot — Generate spherized URDF for collision checking
- cricket-build — Build the cricket FK code generator
- generate-fk — Generate FK C++ code and install it into vamp
After generating, rebuild vamp to pick up the new FK:
pixi install
You can also run individual steps:
pixi run build-robot # Steps 1-2 only
pixi run spherize-robot # Steps 1-3
pixi run generate-fk # Steps 5
Usage
Run examples inside the pixi environment:
pixi run python examples/ik_example.py
pixi run python examples/planning_example.py
# With PyBullet visualization (requires dev environment)
pixi run -e dev python examples/ik_example_vis.py
pixi run -e dev python examples/random_dance_around_table.py
Project Structure
autolife_planning/ # Core Python package
third_party/
cricket/ # Inverse kinematics library
foam/ # Collision-aware planning
vamp/ # Motion planning (installed as editable PyPI dep)
scripts/ # Setup and utility scripts
examples/ # Example scripts
resources/ # Robot URDF and mesh files
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
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 autolife_planning-0.1.2-py3-none-any.whl.
File metadata
- Download URL: autolife_planning-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e83bc7b0ca1e1183cd4d48f92a064a1c69f0301f8643466190aef4979823f88
|
|
| MD5 |
5ac3b7aaf6f0688880e30e6ebe3755cb
|
|
| BLAKE2b-256 |
fea56125932a0fe3d8bd4957ef82d918b3cabb5fccb2f5168990909e333cdadc
|