🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

orca_core

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orca_core

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.

0.1.8
PyPI
Maintainers
1

PyPI version GitHub stars

OrcaHand class is used to abstract hardware, control the hand of the robot with simple high-level control methods in joint space.

Orca Core

OrcaHand class is used to abtract hardware, control the hand of the robot with simple high level control methods in joint space.

Get Started

To get started with Orca Core, follow these steps:

  • Clone the repository:

    git clone git@github.com:orcahand/orca_core.git
    cd orca_core
    
  • Install dependencies using Poetry:

    poetry install
    
  • Run the example usage:

    # Example usage
    from orca_core import OrcaHand
    
    hand = OrcaHand()
    status = hand.connect()
    print(status)
    hand.calibrate()
    
    # Set the desired joint positions to 0
    hand.set_joint_pos({joint: 0 for joint in hand.joint_ids})
    hand.disconnect()
    

Config file

The configuration file core/orca_config.yaml is specific to the hand (currently the only hand we have) and defines everything from auto calibration, joint limits, and control settings. This file is crucial for the proper functioning of the OrcaHand class.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts