Skip to main content

Software drivers for the robot autonomy effector

Project description

About

This is the official repositiory for the python based software drivers of the robot autonomy effector. This package enables you to control the fingertip distance of the gripper, the position of the rack and direct Servo access.

Prerequisites

  • Python > 3.6
  • Linux based System OS
  • Ethernet or Wifi Connected RPi4
  • SSH Connection to RPi (VSCODE SSH extension is strongly recommended)

Installation

Either clone this repository with

pip3 install git+https://github.com/romzn/raepy.git

or direct from the pypi repository

pip3 install raepy

or build the newest version and

git clone github.com/romzn/raepy.git
cd raepy

## Build repository and Install
pip3 -m build
pip3 install

# Start tests to see basic functionality (!!After the racktest and servoest an recalibration has to be made!!)
pip3 -m unittest racktest.py
pip3 -m unittest radialgrippertest.py
pip3 -m unittest racktest.py

Basic functionality

To move the gripper or the rack the their specific objects has to be loaded in the current script.

from raepy import rack, gripper, servo


rack.out() # brings the rack to the front position (+8cm) and the grippers back


gripper.grasp() # brings the grippers together until they meet resistance, then they are holding with an specific force.


gripper.to(0.1) # Set the distance between the two fingertips to 10 cm


gripper.to(0.2) # Set the distance between the two fingertips to 20 cm


rack.to(0.5) # Drives the rack to an absolute position (5cm)


rack.to(1.2) # Drives the rack out !! but before dismantle the grippers or they will collide !!


servo.led_to(color) # sets the color to ['black', 'red', 'green', 'blue', 'yellow', 'cyab', 'magenta']


servo.limp() # Sets the motor current to zero which results in powerless fingers


servo.hold() # holds the position with an specific force (max 28 Nm)


# ! There are some servomotor functions more, just take a look at the sources ./src/servo !

Calibration

To calibrate the gripper two steps has to be made.

In the first step the grippers have to be dismantled an the rack must drive Rack Out

Normally an calibration is not needed because the gripper is calibrated by factory. In the case you dismantle Gripper without mounting them back into exactly the same position, or you drive the rack completely out an recalibration is necessary. It is also necesseary if the package was updated

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

raepy-0.0.8.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

raepy-0.0.8-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file raepy-0.0.8.tar.gz.

File metadata

  • Download URL: raepy-0.0.8.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for raepy-0.0.8.tar.gz
Algorithm Hash digest
SHA256 62792590c15c507a2be990abde6da5b52b153c270c8e26bec904634d028cd009
MD5 9f744b407e3b571f8a1403dd6e2c4d56
BLAKE2b-256 5f9892264f38b4bc72b078f09a3a3199c95f6020cf5b23c04366e5138c028a8a

See more details on using hashes here.

File details

Details for the file raepy-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: raepy-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for raepy-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f25183a33333d273f4940eef6508dabaaa2922a2fc479543086e24bc3bcf8b0e
MD5 082e3d12a799f9f257b26b54caec6757
BLAKE2b-256 fc9c0c5314694c8e60d0f07c6538034a204b0ec55a7c61d2f2dd357386665655

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page