Skip to main content

A Real-time capable robot capacity calculation module

Project description

Python real-time capable robot task-space capacity calculation module

This module provides a framework for the generic robot capacity calculation called in a form of a python module pycapacity:

All you need to do to install it is:

pip install pycapacity

And include it to your python project

import pycapacity

This module integrates several velocity, force and acceleration capacity calculation functions based on ellipsoids:

  • Velocity (manipulability) ellipsoid
  • Acceleration (dynamic manipulability) ellipsoid
  • Force ellipsoid

And polytopes:

  • Velocity polytope
  • Acceleration polytope
  • Force polytope
  • Force polytopes *Minkowski sum and intersection *

The force polytope functions have been implemented according to the paper:

On-line force capability evaluation based on efficient polytope vertex search
by Antun Skuric, Vincent Padois and David Daney
Published on ICRA2021

And the velocity and acceleration polytopes are resolved using the Hyper-plane shifting method:
Characterization of Parallel Manipulator Available Wrench Set Facets
by Gouttefarde M., Krut S.
In: Lenarcic J., Stanisic M. (eds) Advances in Robot Kinematics: Motion in Man and Machine. Springer, Dordrecht (2010)

Module functions

Algorithms:


Code examples

"""
A simple example program 3d force polytope 
evaluation of a randomised 6dof robot 
"""
from pycapacity import force_polytope_withfaces as polytope


m = 3 # 3d forces
n = 6 # robot dof

J = np.array(np.random.rand(m,n)) # random jacobian matrix

t_min = np.ones((n,1))  # joint torque limits max and min
t_max = -np.ones((n,1))

vertices, faces = polytope(J,t_min, t_max) # calculate the polytope vertices and faces

See demo_notebook.ipynb for one example use case of the module.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pycapacity-1.0.2-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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