Skip to main content

This package provides an interface to control the Aero Hand Open robotic hand.

Project description

Aero Hand Open by TetherIA

Python Version PyPI Version License Status Build TetherIA

Aero Open SDK — Python Interface for TetherIA's Robotic Hand

Aero Hand Demo

Aero Open Hand is a 7-DoF tendon-driven robotic hand for dexterous manipulation and research.

The SDK enables full control via Python. Perform homing, calibration, and precise motion control with ease.


⚙️ Installation

The SDK is currently tested for Python 3.10 and above.

📦 Install via pip

pip install aero-open-sdk

🧩 Install from source (editable mode)

  1. Clone the repository to your local machine:

    git clone https://github.com/TetherIA/aero-hand-open.git
    
  2. Navigate to the cloned repository directory:

    cd sdk
    
  3. Install the package in editable mode:

    pip install -e .
    

🖥️ One-Time Setup

When setting up your hand for the first time, our setup GUI helps you configure motor IDs and test motor connections.

After installation, launch the Setup GUI with:

aero-open-gui

This provides an interactive interface to configure your hand.


🔌 Serial Port Setup

Aero Hand connects to the host PC via a serial (USB) interface. To operate the SDK, you must specify the correct serial port for your device.

🐧 Linux

Most Linux systems assign the device path as /dev/ttyACM0 or /dev/ttyUSB0. You can list connected serial devices with:

ls /dev/ttyACM* /dev/ttyUSB*

💡 Persistent Device Path (Recommended)

Device names like /dev/ttyUSB0 can change each time you reconnect.

To get a persistent name, use the by-id symlink instead:

ls -l /dev/serial/by-id/

This will show you a list of connected serial devices with more descriptive names. Look for the one that corresponds to your Aero Hand. Which will look something like:

usb-Espressif_USB_JTAG_serial_debug_unit_D8:3B:DA:45:C8:1C-if00

Then initialize your hand using that path:

from aero_open_sdk.aero_hand import AeroHand

aero_hand = AeroHand(
  port="/dev/serial/by-id/usb-Espressif_USB_JTAG_serial_debug_unit_D8:3B:DA:45:C8:1C-if00"
)

✅ This ensures your connection always points to the correct device, even if you unplug and replug the hand or change the USB port.

🪟 Windows

On Windows, the device will appear as a COM port like COM3 or COM4. You can find the correct COM port by checking the Device Manager under "Ports (COM & LPT)".

You can then Initialize your hand with the detected COM port:

from aero_open_sdk.aero_hand import AeroHand
aero_hand = AeroHand(port="COM3")

💡 Making the COM Port Persistent

Windows does not have a /by-id/ system like Linux, so the COM number can change if you plug the device into a different USB port.

To make it permanent, you can assign a fixed COM number:

  1. Plug in the Aero Hand and open Device Manager.
  2. Find it under Ports (COM & LPT).
  3. Right-click → Properties → Port Settings → Advanced.
  4. In COM Port Number, select an unused port (e.g., COM5).
  5. Click OK to save.

You can now always use this COM port when initializing the SDK.


💡 Examples

To integrate the SDK into your own code, refer to the examples folder for sample files demonstrating basic usage.


🧰 Troubleshooting

1. Installation Fails (pip install error)

If installation fails, try the following steps:

  • Check your Python version:

    Make sure you have Python 3.10 or higher installed.

  • 🔧 Upgrade pip to the latest version:

    Our package requires an up-to-date version of pip.

    You can upgrade pip with:

    pip install --upgrade pip
    

On Windows, if you see error like "pip is not recognized", use the py launcher command instead:

```bash
py -m pip install --upgrade pip
```

2. Path Mismatch on Windows

  • You may not have the Python Scripts path added to your system PATH environment variable.

  • To fix this, you can either:

    1. Add the Python Scripts directory (e.g., C:\Users\<YourName>\AppData\Local\Programs\Python\Python310\Scripts) to your system PATH.
    2. Or use the py launcher command to launch the GUI after installation:
      py -m aero_open_sdk
      
    3. Create a virtual environment and install the package there.
      python -m venv venv
      .\venv\Scripts\activate
      pip install aero-open-sdk
      aero-open-gui
      

3. Linux Troubleshooting: Serial Port Permission

If you see a permission error when connecting to the serial port (e.g., /dev/ttyACM0), do the following:

  1. Find your username:
    whoami
    
  2. Add your user to the dialout group (replace yourusername with the output from whoami):
    sudo usermod -a -G dialout yourusername
    
  3. Restart your system (or log out and log back in).
  4. After restart, open a terminal and run:
    groups
    
    You should see your username and dialout listed.
  5. Try connecting to the serial port again in the GUI.

If you still see permission errors, check device permissions with:

ls -l /dev/ttyACM0

You may need to temporarily set permissions:

sudo chmod 666 /dev/ttyACM0

💬 Support

If you encounter issues or have feature requests:


🤝 Contribution

We welcome community contributions!

If you'd like to improve the SDK, fix bugs, or add new features:

  1. Fork this repository.

  2. Create a new branch for your changes.

    git checkout -b feature/your-feature-name
    
  3. Commit your changes with clear messages.

  4. Push your branch to your fork.

  5. Open a Pull Request (PR) describing your updates.


⚖️ License

This project is licensed under the Apache License 2.0.

If you find this project useful, please give it a star! ⭐

Built with ❤️ by TetherIA.ai

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

aero_open_sdk-0.1.0.dev1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aero_open_sdk-0.1.0.dev1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file aero_open_sdk-0.1.0.dev1.tar.gz.

File metadata

  • Download URL: aero_open_sdk-0.1.0.dev1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.18

File hashes

Hashes for aero_open_sdk-0.1.0.dev1.tar.gz
Algorithm Hash digest
SHA256 684589c1a7d61df8845a32ad8138b71ed1f866614424a16d87cf193f073ed664
MD5 9897a24346c462dd65f28e940635f2c1
BLAKE2b-256 65e578bae86288f810d18eac22fcac3162c134c080acfe38f12141d082387b09

See more details on using hashes here.

File details

Details for the file aero_open_sdk-0.1.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for aero_open_sdk-0.1.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb57b58dcf935938e725684a0771c0ef15fac36f431c8e78338a94aff4095ac5
MD5 8f0d7fc104fcadead92d50a23c0a1cfd
BLAKE2b-256 977cee13d43da99a500c9a69a04b562452526972d012d080c9c1e58110fcfaa0

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