Skip to main content

motorlib

Pypi Version Python Versions Build Status Coverage Status

A simple motor motion/trajectory simulation python library.

Installation

pip install it on your favorite python environment:

$ pip install motorlib

That's it!

Usage

>>> import motorlib
>>> motion = motorlib.Motion(10, 1000, 10, 5, (-float('inf'), float('inf')))

>>> motion.position()
38.040199

>>> motion.duration
101.0

>>> motion.accel_time
2.0

>>> motion.pb
990.0

>>> motion.dp
990

>>> motion.reaches_top_vel
True

>>> motion.top_vel_dp
970.0

>>> motion.top_vel_time
97.0

Metadata

Release files for motorlib 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for motorlib 0.2.0
File Size Uploaded
motorlib-0.2.0.tar.gz 4.0 kB Details

Release files / motorlib-0.2.0.tar.gz

Download URL motorlib-0.2.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
238974db9810161196902c9da5757273137cfaf5a7decd1405833343e4971398
BLAKE2b-256 checksum
How to use checksums
5375b2930a3158f7df30aab46fe9db2c1cf21167fec69ca8088e95cf4a1dfac2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page