Skip to content

Automatically choose the number of waypoints passed to Ruckig at once #1439

@AndyZe

Description

@AndyZe

The Ruckig trajectory smoother currently stretches the entire trajectory in time until all kinematic limits are obeyed. This works but it can slow the trajectory more than necessary. It's better to feed in just a few waypoints at once so only the waypoints needing it get stretched.

The downside of passing just a few waypoints at once is very long runtimes if the trajectory is very large. So, I think the number of waypoints passed to Ruckig should be chosen in a smarter way.

Attached is some code to feed in a configurable number of waypoints.

process_waypoints_in_chunks.txt

A good way to select the number of waypoints is probably:

  • The smaller of (100 waypoints, 10% of waypoints)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions