Code Monkey home page Code Monkey logo

motionprof's Introduction

MotionProf Made for B&R

MotionProf is an Automation Studio library with functions to derive and generate optimal motion profiles.

2023-09-15_16 30 09

NOTE: This is not an official library and is supported by the community. MotionProf is provided as-is under the Apache License 2.0 agreement. Source code, documentation, and issues are managed through GitHub.

Functions

Function Description
MotionProfAcc Minimum acceleration to move in time over a distance
MotionProfTime Minimum time duration to move with acceleration over a distance
MotionProfDist Maximum distance from move with acceleration in time
MotionProfVel Minimum velocity to move with acceleration in time over a distance
MotionProfTimeDiff Maximum difference in time duration between fastest and slowest profiles
MotionProfAccTimeDiff Minimum acceleration to achieve moves throughout a time difference
MotionProfAccTimeDiff Minimum acceleration to achieve moves throughout a time difference starting at standstill
MotionProfPoint Velocity profile point interpolation

Install

  1. Download and extract the archive.
  2. Import the MotionProf library to your Automation Studio project.
    1. Logical View
    2. Toolbox
    3. Existing Library

Build

Clone the repository.

git clone https://github.com/tmatijevich/MotionProf.git

Or, add as submodule to an existing Automation Studio project repository.

cd <project_root>
git submodule add https://github.com/tmatijevich/MotionProf.git ./Logical/Libraries/MotionProf

Octave

Several MotionProf functions can be cross-compiled in GNU Octave, a free scientific programming language largely compatible with MATLAB. Octave is utilized for plotting and testing MotionProf functions.

Launch Octave and run the build script.

make

Use this example to plot the minimum time function.

PlotMotionProfTime(0.25, 0.0, 0.5, 0.0, 2.0, 10.0, 1.2);

Authors

motionprof's People

Contributors

tmatijevich avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.