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

Uploaded Python 3

File details

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

File metadata

  • Download URL: frenet_system_creator-0.2.0.tar.gz
  • Upload date:
  • Size: 16.3 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.2.0.tar.gz
Algorithm Hash digest
SHA256 0872e1bc8669fda4c36fea88605084f00be4759006e080efcb6eb008887e6ca1
MD5 6c34e31b7a9aa7bdddc7017e4f87b3a4
BLAKE2b-256 d2f1d80a6f5d35bc3458883ff15e3b9845ab5c37352cc7c3d9212e188f0ce433

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for frenet_system_creator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3e6b05699ef8ac99ba4fd0c9151c4a23b5514327584abb648f3bbb3913d036e
MD5 20256b2d67e19efef7e52a68d15bef42
BLAKE2b-256 b516135af947f84f748a819c910a226a7ab01d55fafb5b7148adc1cb3990d9b2

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