Arduino Braccio library
Project description
Tactigon Arduino Braccio
This package enables to comunicate with Arduino Braccio using a Bluetooth to UART device such as Adafruit Bluefruit LE Uart.
This package can be used alongside with Tactigon Gear and Tactigon Speech libraries to drive the Braccio robot using gesture and "edge" voice command detection.
Prerequisites
In order to use the Tactigon Arduino Braccio library you need:
- Python version: following versions has been used and tested. It is STRONGLY recommended to use these ones depending on platform.
- Win10: 3.8.7
Installing
Install and update using pip:
pip install tactigon-arduino-braccio
A Simple Example
import time
from tactigon_arduino_braccio import Braccio, BraccioConfig, Wrist, Gripper
if __name__ == "__main__":
cfg = BraccioConfig("D1:EF:85:90:07:DE")
with Braccio(cfg) as braccio:
print("Connecting...")
while not braccio.connected:
time.sleep(0.1)
print("Connected!")
x = 120
y = 50
z = 20
wrist = Wrist.HORIZONTAL
gripper = Gripper.OPEN
res, status, time = braccio.move(x, y, z, wrist, gripper)
print(res, status, time)
print("disconnected")
Links
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
File details
Details for the file tactigon_arduino_braccio-1.0.0.post0.tar.gz
.
File metadata
- Download URL: tactigon_arduino_braccio-1.0.0.post0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec724c62cf75505dd1bd41268585b22be9d7fc2ad9d36e827ae28ed4c063586 |
|
MD5 | c2b6320f7c43caa6cebff3f0f4200624 |
|
BLAKE2b-256 | 54cd091ced3a87486f6b5b96e788f1504d7adebe86853a0892130e73c902519c |