Skip to main content

An open-source SDK for developing and testing algorithms on commonly used robotic hardware.

Project description

opensourceleg

Build status Documentation Status Python Version Dependencies Status

Code style: black Security: bandit Pre-commit License Coverage

An open-source SDK for developing and testing algorithms on commonly used robotic hardware. Originally developed for the Open-Source Leg project, this library provides a comprehensive framework for interfacing with various actuators and sensors in robotic systems. While initially designed for prosthetic leg applications, the opensourceleg library's modular architecture makes it versatile for use with any robotic platform utilizing similar components.

🎯 Key Features

This library solves common challenges in developing, testing, and deploying robotic algorithms:

Feature Description
📦 Standardized Interfaces Provides consistent interfaces for common actuators and sensors
🔄 Ready-to-Use Implementations Offers ready-to-use implementations for popular hardware components
🔍 Extensible Architecture Allows for easy integration of custom components
🧪 Comprehensive Benchmarks Includes comprehensive benchmarks for popular hardware components

👥 Ideal for Roboticists Who

  • Want to develop robotic algorithms for the Open-Source Leg platform or any other robotic platform
  • Need a reliable and extensible framework for interfacing with various actuators and sensors
  • Are working on a robotic project and need a flexible and powerful software development kit
  • Are looking for benchmarks to pick the best hardware for their robotic project

🔄 Available Hardware Interfaces

The library currently supports the following hardware components:

Sensors Unit Tests Hardware Tests Benchmarks Documentation
AS5048B Encoder
Lord Microstrain IMU
SRI Loadcell
Actuators Unit Tests Hardware Tests Benchmarks Documentation
Dephy Actpack ⚠️ ⚠️
Moteus ⚠️ ⚠️ ⚠️
TMotor ⚠️

Legend: ✅ Complete/Available; ⚠️ Partial/In Progress; ❌ Not Yet Available;

Hardware tests indicate successful testing on physical devices. Benchmarks include performance metrics such as response time and accuracy measurements. Documentation includes API reference and usage examples.

📦 Installation

The library is available on PyPI and can be installed using pip:

pip install opensourceleg

For more details on the installation process, please refer to the installation guide.

📚 Usage

Once the library is installed, you can import it in your projects and start using the modules:

from opensourceleg.actuators.dephy import DephyActuator
from opensourceleg.sensors.encoder import AS5048B
...

For more details on available modules, tutorials, and examples, please refer to the documentation.

📝 License

The opensourceleg library is licensed under the terms of the LGPL-v2.1 license. This license grants users a number of freedoms:

  • You are free to use the opensourceleg library for any purpose.
  • You are free to modify the opensourceleg library to suit your needs.
  • You can study how the opensourceleg library works and change it.
  • You can distribute modified versions of the opensourceleg library.

The LGPL license ensures that all these freedoms are protected, now and in the future, requiring everyone to share their modifications when they also share the library in public.

🤝 Contributing

Contributions are welcome, and they are greatly appreciated! For more details, read our contribution guidelines.

Project details


Download files

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

Source Distribution

opensourceleg-3.0.0.tar.gz (118.5 kB view details)

Uploaded Source

Built Distribution

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

opensourceleg-3.0.0-py3-none-any.whl (131.6 kB view details)

Uploaded Python 3

File details

Details for the file opensourceleg-3.0.0.tar.gz.

File metadata

  • Download URL: opensourceleg-3.0.0.tar.gz
  • Upload date:
  • Size: 118.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for opensourceleg-3.0.0.tar.gz
Algorithm Hash digest
SHA256 c9269d4251d4fab8710c2fafe2241cc66e83c9c5b00233f42393f112e8ec0862
MD5 a4881feb284e833f521509ec4e7eb4e4
BLAKE2b-256 45f1fdd849d621445e32bfd970ec703220135ede8d5cfe48367ae4447fe368a7

See more details on using hashes here.

File details

Details for the file opensourceleg-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: opensourceleg-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 131.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for opensourceleg-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8a3a75fad8fdca71e59cf3ec44310b353a07a70b2965ac1caf087a72b83e0ca
MD5 1bab5dee64cd0a1c2449baa6e208348a
BLAKE2b-256 cfffb9feb213520ac2fc21c1b62f3119c5b84784220f53f2ae524b3fabea8ed6

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