Skip to main content

A toolkit for 3D dynamics and kinematics

Project description

dynkin

PyPI version shields.io codecov

A toolkit for 3D dynamics and kinematics of rigid bodies using the YPR euler angle convention.

General

dynkin is a set of tools for handling the dynamics and kinematics of rigid bodies in 3 dimensions (6DOFs). Some features:

  • Homogenous transformation matrices
  • Chained reference frames
  • Idealized rigid body implementation

The fundamentals of reference frames and the kinematic relations of these are based on Theory of Applied Robotics (Reza N. Jazar) , the idealized rigid body implementation follows the outline suggested in the lectures by Fossen.

Installation

pip install dynkin

Theory intro

Some basic notions:

  • A reference Frame is defined in dynkin as an object which positions, vectors, velocities, accelerations etc can be decomposed in. dynkin represents reference Frames by (4x4) homogenous transformation matrices. A Frame is aligned (positioned, rotated) and moves (linear and angular velocity) in relation to another Frame or the inertial frame (represented by None).
  • All rotations in dynkin are internally represented by rotation matrices but the external API, so far, deals only with Euler angles of the YPR (Yaw-Pitch-Roll) convention.
  • A kinematic chain is a single-linked list of Frames, where each Frame holds a reference to its closest parent. Any number of Frames may be attached into such a chain and the chain may also have any number of branches, it is however the user´s responsibility to ensure no kinematic loops occur.
  • A transform is an object relating two Frames enabling transformation of positions, vectors, velocities etc from one Frame to the other. The Frames do not need to be part of the same kinematic chain.
  • A RigidBody is a 3D body with arbitrary extent that may be described by a generalized inertia matrix (6x6). It accelerates when exposed to generalized external forces (wrenches) and rotational velocities give rise to inertial forces (coriolis and centripetal contributions).

License

Distributed under the terms of the MIT license, dynkin is free and open source software

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

dynkin-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file dynkin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dynkin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for dynkin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e44753962d2bd7a512fdb0e3ab407f2386597ddcb363b7daea8097935f99262
MD5 15b430445b9d6d954bdc322533e35776
BLAKE2b-256 42de57ea6ab546f01a87cf8f86dba8435ef288f52fe8504c1f9262dc09edd881

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