This project is the data handler for creating a motion profile. Motion profile consists of one or more segments.
There are various segments, such as
- Basic Segments - the lowest level segment, defined by a single position polynomial
- Acceleration Segment - describes how to get from point A to point B. Consists of 1,2 or 3 Basic Segments.
- Index Segment - defines a simple motion given more complex initial and final conditions. Consists of 3 Acceleration segments
- Cam Segment - not supported yet
- Advanced Index segments - not supported yet
To get you started you can simply clone the project and install the dependencies:
npm install
You need to be using angular and use Profilr as a module
Profilr exposes various functions and objects to build a motion profile.
Emphasis on speed and support of tens of thousands of segments.
Please see the test folder for various unit tests that show by example how to create segments and put them into a profile
For more information on what is a motion profile, please see https://motionanalyzer.rockwellautomation.com