An open-source SDK for developing and testing algorithms on commonly used robotic hardware.
Project description
opensourceleg
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
Hardware-Specific Dependencies
To keep your installation lightweight, you can install only the dependencies needed for your specific hardware:
# For Dephy actuators
pip install opensourceleg[dephy]
# For Moteus actuators
pip install opensourceleg[moteus]
# For I2C communication
pip install opensourceleg[communication]
Extra | Dependencies |
---|---|
dephy |
flexsea |
moteus |
moteus, moteus-pi3hat |
communication |
smbus2 |
messaging |
grpcio, grpcio-tools, types-protobuf |
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file opensourceleg-3.1.0.tar.gz
.
File metadata
- Download URL: opensourceleg-3.1.0.tar.gz
- Upload date:
- Size: 121.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.7 Darwin/24.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f76c0833e03a526e8556b006cc0f863eea9f686ca37fb6460c27846fd71da57f
|
|
MD5 |
278425ac961bbb854257b79187f01bd9
|
|
BLAKE2b-256 |
8ac559165809660aeea23bced3769a74e4a2b92f6f30e1095ea6aca02238c240
|
File details
Details for the file opensourceleg-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: opensourceleg-3.1.0-py3-none-any.whl
- Upload date:
- Size: 134.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.7 Darwin/24.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
83486405407b688e358acc9ab94fb075d8e4401985e6cb59311682e80b524156
|
|
MD5 |
9f83a84a94b2b8444e63175d71935c71
|
|
BLAKE2b-256 |
0947c0ea95cb84139495514e7d36e7ac119dbe3e11f7f7cbeaef94a1cf027d98
|