Skip to main content

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:

  1. foam-build — Build the foam collision library
  2. build-robot — Process raw URDF into planning-ready descriptions (simple, base, SRDF)
  3. spherize-robot — Generate spherized URDF for collision checking
  4. cricket-build — Build the cricket FK code generator
  5. 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

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.

autolife_planning-0.1.5-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for autolife_planning-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8b1f04661b40f7bfac8379a2cf2352d5887de43d374e30d255bf7a23cbdbc5b7
MD5 c28353934d93980f1fc3ffe5d642d03b
BLAKE2b-256 19910e6410045c02edb5ac98258b26ac75f6d0367b5ea6dec4f1af4a121a5424

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