Skip to main content

Interface to Franka robots for Positronic library

This repository is supposed to be used as a part of positronic package, rather than a standalone project.

Dependencies

This project requires:

  • libfranka installed system-wide (CMake package Franka)
  • Eigen3 available to CMake (e.g. /usr/share/eigen3/cmake)

Developer installation

Build and install into your active virtual environment:

  • Ensure your venv is active (e.g., . .venv/bin/activate from repo root)
  • Initialize submodules, then install:
git submodule update --init --recursive
pip install .

Installing libfranka on Ubuntu 24.04 (recommended)

As said, you must have libfranka installed locally before installing positronic-franka (wheels are not provided).

  1. System dependencies
sudo apt-get update && sudo apt-get install -y \
  build-essential \
  cmake \
  git \
  libeigen3-dev \
  libpoco-dev \
  libpcre3-dev \
  libfmt-dev
  1. Install Pinocchio
sudo mkdir -p /etc/apt/keyrings
curl -fsSL http://robotpkg.openrobots.org/packages/debian/robotpkg.asc | sudo tee /etc/apt/keyrings/robotpkg.asc
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/robotpkg.asc] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg" | \
  sudo tee /etc/apt/sources.list.d/robotpkg.list

sudo apt-get update && sudo apt-get install -y robotpkg-pinocchio

# Make CMake and the loader find robotpkg installs (Pinocchio)
export ROBOTPKG_PREFIX=/opt/openrobots
export CMAKE_PREFIX_PATH=${ROBOTPKG_PREFIX}:${CMAKE_PREFIX_PATH}
export LD_LIBRARY_PATH=${ROBOTPKG_PREFIX}/lib:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH=${ROBOTPKG_PREFIX}/lib/pkgconfig:${PKG_CONFIG_PATH}
  1. Build and install libfranka from source (0.15.3 recommended)
git clone --single-branch --recurse-submodules --branch 0.15.3 https://github.com/frankaemika/libfranka
mkdir -p libfranka/build && cd libfranka/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF ..
cmake --build . -j
sudo cmake --install .

# Ensure the loader can find the installed library
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}

Download files

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

Source Distribution

positronic_franka-0.6.0.tar.gz (1.8 MB view details)

Uploaded Source

File details

Details for the file positronic_franka-0.6.0.tar.gz.

File metadata

  • Download URL: positronic_franka-0.6.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for positronic_franka-0.6.0.tar.gz
Algorithm Hash digest
SHA256 3a2f73d0511dd493042ece57e96ee7d29f30ab75390fef000aea37d97ec0d330
MD5 df72d4996c9a9ef1a8b31617f03f8ba5
BLAKE2b-256 f16b5346f9aaf9d20b3f486db2bb46a54b5e5379cec133c56f392cf52211dcd1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.0

1 file

0.6.2

1 file

0.6.1

1 file

This release

0.6.0 This release

1 file

0.5.0

1 file

0.4.0

1 file

0.3.1

1 file

0.3.0

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page