Skip to main content

Arduino Braccio library

Project description

Tactigon Arduino Braccio

The tactigon team

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


Download files

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

Source Distribution

tactigon_arduino_braccio-1.0.0.post0.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file tactigon_arduino_braccio-1.0.0.post0.tar.gz.

File metadata

File hashes

Hashes for tactigon_arduino_braccio-1.0.0.post0.tar.gz
Algorithm Hash digest
SHA256 0ec724c62cf75505dd1bd41268585b22be9d7fc2ad9d36e827ae28ed4c063586
MD5 c2b6320f7c43caa6cebff3f0f4200624
BLAKE2b-256 54cd091ced3a87486f6b5b96e788f1504d7adebe86853a0892130e73c902519c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page