Skip to main content

Utilities for converting between Cartesian and Frenet frames

Project description

Frenet System Creator

Utilities for converting between Cartesian and Frenet frames. The package provides a simple FrenetSystem class for projecting points onto a path and performing coordinate conversions.

Installation

pip install frenet-system-creator

Usage

from frenet_system_creator import FrenetSystem

path = [(0, 0), (1, 1), (2, 0)]
fs = FrenetSystem(path)

# Convert Cartesian to [d, s]
ds, _ = fs.cartesian2ds_frame((1.5, 1.0))

# Convert back to Cartesian
xy = fs.ds_frame2cartesian(ds)

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

frenet_system_creator-0.1.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

frenet_system_creator-0.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file frenet_system_creator-0.1.0.tar.gz.

File metadata

  • Download URL: frenet_system_creator-0.1.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for frenet_system_creator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 771cb227c71c81e9fe1423ee1c65a46f6cd014edb609dba1324c633733d8ddf9
MD5 fccaa1f3deae707cd8c9286df3dee5f7
BLAKE2b-256 c75a3ed2296560eb67036ab40029eaea46ec0bab49a98cf54b23eb2cfdd7a8f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for frenet_system_creator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b492475baa9e2a1bd55cc3f5670fb7361c2001c010b6b10a3bc72c8845520c0
MD5 643d38c9b20675f2b6da05cbc41bd0c0
BLAKE2b-256 03e12a65746b562e9ed8c1df5c94082ba02097d3ba211a8c7995e3659dfa06c9

See more details on using hashes here.

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