Skip to content

How to improve the smoothness of velocities produced by Pink? #103

Answered by stephane-caron
dbdxnuliba asked this question in Q&A
Discussion options

You must be logged in to vote

Your observation is right, there is no velocity regularization by default in Pink, i.e. velocities are allowed to jump and continuity is not guaranteed. This is because Pink is designed as a first-order differential IK, working on configurations $q$, whereas velocity smoothness is a property enforced with at least a second order state $(q, v)$ (configuration and velocity).

First-order hacks

There are at least two ways to make velocities smoother, but they require somehow moving to the second order:

  1. Edit: tried below.
    • Soft: create a task named e.g. SmoothVelocityTask or LowAccelerationTask that would penalize variations of the computed velocity from the previous one.
    • The DampingTask fav…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@stephane-caron
Comment options

@stephane-caron
Comment options

Answer selected by stephane-caron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #101 on July 23, 2024 15:11.