Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROS2] Jerky motion (in joint space) when planning with orientation constraints #98

Open
amalnanavati opened this issue Sep 19, 2023 · 1 comment
Assignees

Comments

@amalnanavati
Copy link
Contributor

When planning with orientation constraints, the resulting robot arm motion feels jerkier. It is smooth in cartesian space, but when sitting in the wheelchair, it feels like some joints change motion suddenly, causing the wheelchair to vibrate.

This issue involves:

  1. Investigating this.
  2. Addressing this. One possible way to address this is Ruckig Trajectory Smoothening, although we have found that it doesn't work in sim, so if we re-implement it it should only be for real.
@amalnanavati
Copy link
Contributor Author

amalnanavati commented Sep 19, 2023

These are the results of visualizing the trajectories as implemented in #99 . Done on t0b1 connected to the real robot.

AbovePlate --> RestingPosition (kinematic plan w/out path constraints):
1695089638767910144_MoveToRestingPosition

RestingPosition --> StagingPosition (kinematic plan w/ orientation path constraints):
1695089666679540224_MoveToMouth

StagingPosition --> Mouth (cartesian plan):
1695089679478900480_MoveToMouth

Mouth --> StagingPose (cartesian plan):
1695089690807014912_MoveFromMouthToRestingPosition

StagingPose --> RestingPosition (kinematic plan w/ orientation path constraints):

1695089699806772224_MoveFromMouthToRestingPosition

This reveals that the plans with orientation path constraints do, in fact, have a sudden change from negative to positive acceleration (e.g., high jerk) during their trajectory.

To look into this, I'll first see how Ruckig modifies the curve and decide where to go from there.

@amalnanavati amalnanavati self-assigned this Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant