motor motion/trajectory simulation library
Project description
motorlib
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
motorlib-0.2.0.tar.gz
(4.0 kB
view details)
File details
Details for the file motorlib-0.2.0.tar.gz
.
File metadata
- Download URL: motorlib-0.2.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 238974db9810161196902c9da5757273137cfaf5a7decd1405833343e4971398 |
|
MD5 | 0c3626666b9c9c8ab1455d87d3244ee0 |
|
BLAKE2b-256 | 5375b2930a3158f7df30aab46fe9db2c1cf21167fec69ca8088e95cf4a1dfac2 |