tactigon-arduino-braccio


Nametactigon-arduino-braccio JSON
Version 1.0.0.post0 PyPI version JSON
download
home_pagehttps://nextind.eu
SummaryArduino Braccio library
upload_time2024-04-22 14:23:11
maintainerNone
docs_urlNone
authorNext Industries s.r.l.
requires_python>=3.8.0
licenseMIT
keywords tactigon arduino robot cobot braccio
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tactigon Arduino Braccio

![The tactigon team](https://avatars.githubusercontent.com/u/63020285?s=200&v=4)

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](https://pypi.org/project/tactigon-gear/) and [Tactigon Speech](https://pypi.org/project/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

```python
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
- [Arduino code](https://github.com/TactigonTeam/Tactigon-SDK/blob/main/examples/arduino_braccio/arduino_code/braccio.ino)
- [Solver](https://github.com/NNaert/Python-controlled-Braccio-robot-arm)
- [Tactigon integration](https://github.com/TactigonTeam/Tactigon-SDK)

            

Raw data

            {
    "_id": null,
    "home_page": "https://nextind.eu",
    "name": "tactigon-arduino-braccio",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8.0",
    "maintainer_email": null,
    "keywords": "tactigon, arduino, robot, cobot, braccio",
    "author": "Next Industries s.r.l.",
    "author_email": "info@nextind.eu",
    "download_url": "https://files.pythonhosted.org/packages/54/cd/091ced3a87486f6b5b96e788f1504d7adebe86853a0892130e73c902519c/tactigon_arduino_braccio-1.0.0.post0.tar.gz",
    "platform": null,
    "description": "# Tactigon Arduino Braccio\r\n\r\n![The tactigon team](https://avatars.githubusercontent.com/u/63020285?s=200&v=4)\r\n\r\nThis package enables to comunicate with Arduino Braccio using a Bluetooth to UART device such as Adafruit Bluefruit LE Uart.\r\n\r\nThis package can be used alongside with [Tactigon Gear](https://pypi.org/project/tactigon-gear/) and [Tactigon Speech](https://pypi.org/project/tactigon-speech/) libraries to drive the Braccio robot using gesture and \"edge\" voice command detection.\r\n\r\n\r\n## Prerequisites\r\nIn order to use the Tactigon Arduino Braccio library you need:\r\n\r\n* Python version: following versions has been used and tested. It is STRONGLY recommended to use these ones depending on platform.\r\n  * Win10: 3.8.7\r\n\r\n## Installing\r\n\r\nInstall and update using pip:\r\n\r\n`pip install tactigon-arduino-braccio`\r\n\r\n## A Simple Example\r\n\r\n```python\r\nimport time\r\n\r\nfrom tactigon_arduino_braccio import Braccio, BraccioConfig, Wrist, Gripper\r\n\r\nif __name__ == \"__main__\":\r\n    cfg = BraccioConfig(\"D1:EF:85:90:07:DE\")\r\n\r\n    with Braccio(cfg) as braccio:\r\n\r\n        print(\"Connecting...\")\r\n        while not braccio.connected:\r\n            time.sleep(0.1)\r\n\r\n        print(\"Connected!\")\r\n        \r\n        x = 120\r\n        y = 50\r\n        z = 20\r\n        wrist = Wrist.HORIZONTAL\r\n        gripper = Gripper.OPEN\r\n        res, status, time = braccio.move(x, y, z, wrist, gripper)\r\n\r\n        print(res, status, time)\r\n\r\n    print(\"disconnected\")\r\n\r\n```\r\n\r\n## Links\r\n- [Arduino code](https://github.com/TactigonTeam/Tactigon-SDK/blob/main/examples/arduino_braccio/arduino_code/braccio.ino)\r\n- [Solver](https://github.com/NNaert/Python-controlled-Braccio-robot-arm)\r\n- [Tactigon integration](https://github.com/TactigonTeam/Tactigon-SDK)\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Arduino Braccio library",
    "version": "1.0.0.post0",
    "project_urls": {
        "Homepage": "https://nextind.eu"
    },
    "split_keywords": [
        "tactigon",
        " arduino",
        " robot",
        " cobot",
        " braccio"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54cd091ced3a87486f6b5b96e788f1504d7adebe86853a0892130e73c902519c",
                "md5": "c2b6320f7c43caa6cebff3f0f4200624",
                "sha256": "0ec724c62cf75505dd1bd41268585b22be9d7fc2ad9d36e827ae28ed4c063586"
            },
            "downloads": -1,
            "filename": "tactigon_arduino_braccio-1.0.0.post0.tar.gz",
            "has_sig": false,
            "md5_digest": "c2b6320f7c43caa6cebff3f0f4200624",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.0",
            "size": 5438,
            "upload_time": "2024-04-22T14:23:11",
            "upload_time_iso_8601": "2024-04-22T14:23:11.606422Z",
            "url": "https://files.pythonhosted.org/packages/54/cd/091ced3a87486f6b5b96e788f1504d7adebe86853a0892130e73c902519c/tactigon_arduino_braccio-1.0.0.post0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 14:23:11",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "tactigon-arduino-braccio"
}
        
Elapsed time: 0.26004s