Skip to main content

motor motion/trajectory simulation library

Project description

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

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

motorlib-0.2.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page