Skip to content

Deduplicate joint trajectory points in Pilz Move Group Sequence capability#2943

Merged
sjahr merged 6 commits intomainfrom
deduplicate-traj-points
Aug 2, 2024
Merged

Deduplicate joint trajectory points in Pilz Move Group Sequence capability#2943
sjahr merged 6 commits intomainfrom
deduplicate-traj-points

Conversation

@sea-bass
Copy link
Copy Markdown
Contributor

@sea-bass sea-bass commented Aug 1, 2024

Description

I was unable to test moveit/moveit2_tutorials#917 successfully on Rolling/main because there was an issue with sending duplicate time points to joint trajectory controllers with the Pilz move group sequence capability.

This PR fixes that, but I am not entirely sure this is the most efficient fix, as it would be preferable to package the trajectory correctly in the first place. But... this works.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

Closes #2741

@sea-bass sea-bass requested a review from stephanie-eng August 1, 2024 03:53
@sea-bass sea-bass changed the title Deduplicate joint trajectory points before sending them to controllers Deduplicate joint trajectory points in Pilz Move Group Sequence capability Aug 1, 2024
Copy link
Copy Markdown
Contributor

@stephanie-eng stephanie-eng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't entirely agree that we should fix this at this level, but I'd be loathe to let perfect be the enemy of the good here, and a band aid fix is better than broken.

Could you add a comment or a TODO note specifically calling this out, though, such that in the future, if the duplicate points issue is "properly" addressed, it's clear that this de-duplicate step can be removed?

@sjahr sjahr merged commit 955f308 into main Aug 2, 2024
@sjahr sjahr deleted the deduplicate-traj-points branch August 2, 2024 14:26
sjahr pushed a commit that referenced this pull request Aug 2, 2024
…ility (#2943)

* Deduplicate joint trajectory points before sending them to controllers

* Fix max loop value

* Move deduplication code to Pilz

* Clean up

* Add todo
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

Successfully merging this pull request may close these issues.

Pilz Industrial Motion Planner blend generates points with same time_from_start

3 participants