Core Python Controller of the ORCA Hand. Handles all hardware interaction, logic and abstracts control. Provides API for basic functionality and info of the hand.
Project description
Orca Core is the core control package of the ORCA Hand. It's used to abstract hardware, provide scripts for calibration, tensioning and to control the hand with simple high-level control methods in joint space.
Get Started
To get started with Orca Core, follow these steps:
-
Sync a local development environment with
uv:uv sync --group dev
This creates a local
.venvand installs the package plus development dependencies. -
Run commands through
uv:uv run pytest
If you prefer an activated shell, you can still use:
source .venv/bin/activate
End users who do not use
uvcan still install the package with:pip install .
-
Check the configuration file:
- Review the config file (e.g.,
orca_core/models/v2/orcahand_right/config.yaml) and make sure it matches your hardware setup.
- Review the config file (e.g.,
-
Run the tension and calibration scripts:
uv run python scripts/tension.py orca_core/models/v2/orcahand_right/config.yaml uv run python scripts/calibrate.py orca_core/models/v2/orcahand_right/config.yaml
Replace the path with your specific hand model folder if needed.
-
Move the hand to the neutral position:
uv run python scripts/neutral.py orca_core/models/v2/orcahand_right/config.yaml
Troubleshooting
Serial Port Permissions (Linux)
On Linux, the serial port (e.g., /dev/ttyACM0) is owned by the dialout group. If your user is not in this group, you will get a permission denied error and motors won't be detected.
Permanent fix (requires re-login):
sudo usermod -aG dialout $USER
Temporary fix (resets on reboot/replug):
sudo chmod 666 /dev/ttyACM0
Serial port, baudrate, and motor type
By default these are all auto-detected at connect time.
However, you can declare them explicitly in config.yaml. Useful when:
- multiple hands are connected at once →
portdisambiguates which one - motors run at a non-default baudrate →
baudrateskips the probe sweep - the auto-detection picks the wrong family →
motor_typeforces a specific one
# Optional overrides: auto-detected if omitted
port: /dev/ttyACM0 # or /'dev/cu.usbmodemXXXX' on macOS
baudrate: 1000000 # 1M for v2; 3M for v1
motor_type: dynamixel # or 'feetech'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orca_core-0.3.0.tar.gz.
File metadata
- Download URL: orca_core-0.3.0.tar.gz
- Upload date:
- Size: 158.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8bfd2a2eda1c8ba0bf019cb032ffeeb143139b26d65c36904b567ba01ad393f
|
|
| MD5 |
039c2a7b88f6e446dc924641a45a9a96
|
|
| BLAKE2b-256 |
2bf0deb05055a0bc50ee4fe70a38f54498b867eeecd88fbe659fde6bf3bf0813
|
Provenance
The following attestation bundles were made for orca_core-0.3.0.tar.gz:
Publisher:
release.yml on orcahand/orca_core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orca_core-0.3.0.tar.gz -
Subject digest:
a8bfd2a2eda1c8ba0bf019cb032ffeeb143139b26d65c36904b567ba01ad393f - Sigstore transparency entry: 1739897419
- Sigstore integration time:
-
Permalink:
orcahand/orca_core@2ea42cf0843ff238861934dbf6b36fa58698023c -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/orcahand
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2ea42cf0843ff238861934dbf6b36fa58698023c -
Trigger Event:
push
-
Statement type:
File details
Details for the file orca_core-0.3.0-py3-none-any.whl.
File metadata
- Download URL: orca_core-0.3.0-py3-none-any.whl
- Upload date:
- Size: 91.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c14280b3fa8d8712dd44ea328bdeefdf9409a4b9d28483354aff609f6db5a47c
|
|
| MD5 |
7ae556d8766177247fdc19a43e59c986
|
|
| BLAKE2b-256 |
868d5a58ba9964bdc21d0e81ce861a84724da6c6565ae97573f9815599b996d1
|
Provenance
The following attestation bundles were made for orca_core-0.3.0-py3-none-any.whl:
Publisher:
release.yml on orcahand/orca_core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orca_core-0.3.0-py3-none-any.whl -
Subject digest:
c14280b3fa8d8712dd44ea328bdeefdf9409a4b9d28483354aff609f6db5a47c - Sigstore transparency entry: 1739897425
- Sigstore integration time:
-
Permalink:
orcahand/orca_core@2ea42cf0843ff238861934dbf6b36fa58698023c -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/orcahand
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2ea42cf0843ff238861934dbf6b36fa58698023c -
Trigger Event:
push
-
Statement type: