moveit2 icon indicating copy to clipboard operation
moveit2 copied to clipboard

PILZ adjust cartesian interpolation

Open MarcoMagriDev opened this issue 9 months ago • 5 comments
trafficstars

Description

#3292

  • [x] Added interpolation parameters
  • [x] Sampled the trajectory using a uniform sampling_time computed from the equivalent rectangular motion profile (see this comment)
  • [x] Adjusted sampling_time so that all points are equally spaced, including the last one
  • [x] Modified pilz_industrial_motion_planner::TrajectoryBlenderTransitionWindow to no longer require sampling_time to be equal and uniform across the trajectories to be blended
  • [x] add tests

MarcoMagriDev avatar Feb 08 '25 09:02 MarcoMagriDev

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (9922704) to head (b25497e). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...strial_motion_planner/src/trajectory_functions.cpp 0.00% 11 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation: There is a different number of reports uploaded between BASE (9922704) and HEAD (b25497e). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (9922704) HEAD (b25497e)
2 1
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #3330       +/-   ##
==========================================
- Coverage   45.60%   0.00%   -45.59%     
==========================================
  Files         716     566      -150     
  Lines       62443   51174    -11269     
  Branches     7558    6832      -726     
==========================================
- Hits        28471       0    -28471     
- Misses      33805   51174    +17369     
+ Partials      167       0      -167     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Feb 08 '25 10:02 codecov-commenter

@rr-mark thanks for your quick review

I will answer to each review separately.


Note that I am still working (on another branch) trying to develop the non constant sampling time on the LIN trajectory. See Problem 2. The solution is not to change how velocity and acceleration accelerations are computed instead sampling the path at non constant sample time in order to ensure that points are distant enought for the numerical IK solver. I am also adding some new tests for this PR

EDIT: here you can find a PR that tries to address the above mentioned problem. As soon as we agree to this version I can integrate those changes here or in another PR to start the discussion

MarcoMagriDev avatar Feb 10 '25 08:02 MarcoMagriDev

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

github-actions[bot] avatar Mar 31 '25 12:03 github-actions[bot]

Just wanted to kindly check in on the status of this PR. It looks like a great contribution and I was back at it just recently. I was wondering if there’s anything blocking it or if there’s any way I can help move it forward. Totally understand if things have just been busy — no pressure at all!

Danilrivero avatar Apr 08 '25 12:04 Danilrivero

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

github-actions[bot] avatar May 23 '25 12:05 github-actions[bot]