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 hashes)