Tactigon IronBoy
This package enables to comunicate with IronBoy 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 IronBoy 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-ironboy
A Simple Example
import time
from tactigon_ironboy import IronBoy, IronBoyCommand, IronBoyConfig
if __name__ == "__main__":
cfg = IronBoyConfig("TactigonIronBoy", "FE:E2:2B:47:5D:80")
with IronBoy(cfg) as ironboy:
while True:
if not ironboy.connected:
print("connecting...")
time.sleep(1)
continue
print("Connected")
# Do 5 steps forward
ironboy.send_command(IronBoyCommand.WALK_FWD, 5)
while ironboy.executing:
time.sleep(0.1)
# Do celebration!
ironboy.send_command(IronBoyCommand.CELEBRATE)
while ironboy.executing:
time.sleep(0.1)
break
Links
Metadata
Release files for tactigon-ironboy 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tactigon_ironboy-1.0.1.tar.gz | 4.5 kB | Details |
Release files / tactigon_ironboy-1.0.1.tar.gz
| Download URL | tactigon_ironboy-1.0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54ec85b81cded7fdd3a094cf5e1155dad99434f655317262177b895f9ce3d4f7
|
|
BLAKE2b-256 checksum How to use checksums |
fbd8ed3118715b1baa80201d85e696d1a3cef97b71c9add55bc8b69a02d76785
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|