Giter Site home page Giter Site logo

Comments (7)

pantor avatar pantor commented on August 12, 2024

Hi @xiaodaxia-2008,

this is desired behaviour: Ruckig will first and foremost try to get the kinematic state within the allowed limits as fast as possible. Only then a time-optimal trajectory is calculated.

In your example, if the velocity wouldn't get negative in the top right figure, the trajectory would stay slightly longer above the velocity limit. If the velocity would decrease to +1 directly, a positive jerk would be necessary while the velocity would still be above its limits. I hope that clears up this issue.

However, we can think about a setting that disables the braking trajectory. I'm not sure how hard this would be to implement.

from ruckig.

xiaodaxia-2008 avatar xiaodaxia-2008 commented on August 12, 2024

Thanks for your explanation. By using online trajectory filter, I have obtained the following expected result. But time synchronization for serveal dofs could not be done.
By the way, I think it will be help to add current_jerk attribute to InputParameters if possible.

image

from ruckig.

pantor avatar pantor commented on August 12, 2024

What do you mean by online trajectory filter exactly?

As the derivative of the jerk is not limited in Ruckig, the current jerk is not relevant for the calculated trajectory.

from ruckig.

xiaodaxia-2008 avatar xiaodaxia-2008 commented on August 12, 2024

Please refer to Trajectory Planning for Automatic Machines and Robots chapter 4.6 Nonlinear Filters for Optimal Trajectory Planning.
So the current jerk should always be max_jerk or -max_jerk ?!

from ruckig.

pantor avatar pantor commented on August 12, 2024

Thanks for the link!

As there is no current jerk in ruckig, I'm not sure what you mean?

from ruckig.

xiaodaxia-2008 avatar xiaodaxia-2008 commented on August 12, 2024

I think it is the 3rd derivative of the calculated trajectory. As the trajectory is at most polynomial of degree 3, so the jerk is constant at each segment.

from ruckig.

oridong avatar oridong commented on August 12, 2024

Thanks for your explanation. By using online trajectory filter, I have obtained the following expected result. But time synchronization for serveal dofs could not be done. By the way, I think it will be help to add current_jerk attribute to InputParameters if possible.

image

could you send me this copy of the one using online trajectory filter. [email protected]

from ruckig.

Related Issues (20)

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.