Giter VIP home page Giter VIP logo

trajecttools's Introduction

TrajectTools

Polynomial trajectory generation tools for MATLAB. Analytical differentiation is calculated.

Features

  • Arbitrary order trajectory
  • Analytical differentiation
    No numerical differentiation, no delay
  • Symbolic coefficients as well as numerical coefficients

Installation

addpath src to MATLAB

Requred toolbox

  • Symbolic math toolbox
  • Optional: FigTools

Case 1: Position constrained step trajectory

See example

ex1

Case 2: Position constrained back and forth trajectory

See example

ex2

Case 3: Velocity constrained back and forth trajectory

See example

ex3

Case 4: Acceleration constrained back and forth trajectory

See example

ex4

Case 5: Time-optimal 3rd order trajectory

Required additional toolbox

  • Advanced Setpoints for Motion Systems
    Ref: M. Lambrechts, Paul; Boerlage, M.; Steinbuch, “Trajectory planning and feedforward design for electromechanical motion systems,” Control Eng. Pract., vol. 13, pp. 145–157, 2005.

See example

ex5

Case 6: Time-optimal 4th order trajectory

Required additional toolbox

  • Advanced Setpoints for Motion Systems
    Ref: M. Lambrechts, Paul; Boerlage, M.; Steinbuch, “Trajectory planning and feedforward design for electromechanical motion systems,” Control Eng. Pract., vol. 13, pp. 145–157, 2005.

See example

ex6

Case 7: Jerk-optimal 5th order trajectory

Required additional toolbox

  • splines.m
    Ref: W. Van Loock, G. Pipeleers, and J. Swevers, “B-spline parameterized optimal motion trajectories for robotic systems with guaranteed constraint satisfaction,” Mech. Sci., vol. 6, no. 2, pp. 163–171, 2015, doi: 10.5194/ms-6-163-2015.
  • YALMIP
    Ref: J. Löfberg, “YALMIP : A Toolbox for Modeling and Optimiza- tion in MATLAB,” in Proceedings of the CACSD Conference, Taipei, Taiwan, 2004.
  • Appropriate solver
    e.g. MOSEK, SeDuMi

Jerk 2-norm minimization

See example

ex7

Case 8: Jerk-optimal 3rd order trajectory

Required additional toolbox

  • splines.m
    Ref: W. Van Loock, G. Pipeleers, and J. Swevers, “B-spline parameterized optimal motion trajectories for robotic systems with guaranteed constraint satisfaction,” Mech. Sci., vol. 6, no. 2, pp. 163–171, 2015, doi: 10.5194/ms-6-163-2015.
  • YALMIP
    Ref: J. Löfberg, “YALMIP : A Toolbox for Modeling and Optimiza- tion in MATLAB,” in Proceedings of the CACSD Conference, Taipei, Taiwan, 2004.
  • Appropriate solver
    e.g. MOSEK, SeDuMi

Jerk infinity-norm minimization

See example

ex8

Case 9: Jerk-optimal 5th order trajectory

Required additional toolbox

  • splines.m
    Ref: W. Van Loock, G. Pipeleers, and J. Swevers, “B-spline parameterized optimal motion trajectories for robotic systems with guaranteed constraint satisfaction,” Mech. Sci., vol. 6, no. 2, pp. 163–171, 2015, doi: 10.5194/ms-6-163-2015.
  • YALMIP
    Ref: J. Löfberg, “YALMIP : A Toolbox for Modeling and Optimiza- tion in MATLAB,” in Proceedings of the CACSD Conference, Taipei, Taiwan, 2004.
  • Appropriate solver
    e.g. MOSEK, SeDuMi

Weighted jerk 2-norm minimization

See example

ex9

Case 10: Time-optimal 5th order trajectory

Required additional toolbox

  • splines.m
    Ref: W. Van Loock, G. Pipeleers, and J. Swevers, “B-spline parameterized optimal motion trajectories for robotic systems with guaranteed constraint satisfaction,” Mech. Sci., vol. 6, no. 2, pp. 163–171, 2015, doi: 10.5194/ms-6-163-2015.
  • YALMIP
    Ref: J. Löfberg, “YALMIP : A Toolbox for Modeling and Optimiza- tion in MATLAB,” in Proceedings of the CACSD Conference, Taipei, Taiwan, 2004.
  • Appropriate solver
    e.g. MOSEK, SeDuMi

Time-optimal trajectory. More flexible than Case 6 but numerically sensitive

See example

ex10

trajecttools's People

Contributors

wataruohnishi avatar threegirls89 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.