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.3.0.tar.gz (16.4 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.3.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: frenet_system_creator-0.3.0.tar.gz
  • Upload date:
  • Size: 16.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 c886bce8de329db74993004e7c4341ec77fdc959aead8b181cae12cf139d4a69
MD5 6a8052924a4a73e45d5ba4825409b07c
BLAKE2b-256 cd3a783e9a570079373ba9472fe6179a027b04fcffd825cde67a4213b159f0f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for frenet_system_creator-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3441ded4aef005da4831cbd545cbd0af527de08636e9ed3b75ce90e37e67f7
MD5 de8f3610504ea05f7567679fe2a8866c
BLAKE2b-256 32751076d2ef6ca4f54c3af60c24d8b9a1098f32af4066040626850ebf34cd89

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