Skip to main content

Automatically compute and apply coordinate frame transformations

Project description

Description

FrameTransforms is a lightweight, native Python pacakge to simplify frame transformations. It supports:

  1. Registration and update of relative coordinate frames.
  2. Automatic computation of transitive transformations.
  3. Multithreaded access.

Application

Consider a simple robot consisting of a mobile base and a camera mounted on a gimbal.

The camera detects an obstacle in its coordinate frame. Where is it in world frame?

registry.update(Frame.WORLD, Frame.BASE, base_pose)
registry.update(Frame.BASE, Frame.CAMERA, camera_pose)

# Locations are in homogenous coordinates
obstacle_in_world = registry.get_transform(Frame.CAMERA, Frame.WORLD) @ obstacle_in_camera

Examples

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

frame_transforms-0.2.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frame_transforms-0.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file frame_transforms-0.2.0.tar.gz.

File metadata

  • Download URL: frame_transforms-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for frame_transforms-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e5eefa35b41ea1246a0200b920c285cf684c06fdb8728963be77ccbd08ae745c
MD5 c04561bdbfb8c98232be700e1c317b4a
BLAKE2b-256 289810b7baf320ba0f39c2aba3d6da226ed7add27f68796292eb929e2a6ee71c

See more details on using hashes here.

Provenance

The following attestation bundles were made for frame_transforms-0.2.0.tar.gz:

Publisher: publish-to-pypi.yml on MinhxNguyen7/FrameTransforms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file frame_transforms-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for frame_transforms-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f907827ae8bd39781b78e7efbac7a9be98cf8d2f610684b16765b85e9557d49
MD5 a390de0d1fdb20338f03f229c2fea1fa
BLAKE2b-256 1f129f4b77233f90d5101cf6bb2b2dccd7b001b0a9aff47f0eea3f29c6b444a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for frame_transforms-0.2.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on MinhxNguyen7/FrameTransforms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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