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.2.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file tactigon_arduino_braccio-1.0.2.tar.gz.

File metadata

File hashes

Hashes for tactigon_arduino_braccio-1.0.2.tar.gz
Algorithm Hash digest
SHA256 588601eee12965c51bcb927f01908320ade76b596155c77cdd7889a6b8081d3a
MD5 a8377cc8849a013a41ed1b5a34e77c84
BLAKE2b-256 fb76ab0fc70496a1db6d60c23c31416897aede4824d18f1c1e055d1bd4f15206

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