Skip to content

Port parallel planning reviews from MoveIt1#1699

Merged
rhaschke merged 2 commits intomoveit:mainfrom
sjahr:pr-small_parallel_planning_fixes
Nov 8, 2022
Merged

Port parallel planning reviews from MoveIt1#1699
rhaschke merged 2 commits intomoveit:mainfrom
sjahr:pr-small_parallel_planning_fixes

Conversation

@sjahr
Copy link
Copy Markdown
Contributor

@sjahr sjahr commented Nov 7, 2022

Description

This PR ports addressed reviews from @rhaschke to MoveIt2. Most importantly, bool generatePlan(...) becomes const again 👍

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

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 7, 2022

Codecov Report

Base: 50.97% // Head: 50.97% // No change to project coverage 👍

Coverage data is based on head (a7af4f8) compared to base (abbbb9d).
Patch has no changes to coverable lines.

❗ Current head a7af4f8 differs from pull request most recent head 83039e4. Consider uploading reports for the commit 83039e4 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1699   +/-   ##
=======================================
  Coverage   50.97%   50.97%           
=======================================
  Files         378      378           
  Lines       31649    31649           
=======================================
  Hits        16131    16131           
  Misses      15518    15518           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Copy Markdown
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

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

Only two nitpicks:


#include <algorithm>
#include <moveit/planning_interface/planning_response.h>
#include <mutex>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is that required now (and not before)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It build before, probably because we're lucky and the required header was included from somewhere else but I think it is nicer to ensure that everything is included.

…t_cpp.h

Co-authored-by: Robert Haschke <rhaschke@users.noreply.github.com>
@sjahr sjahr requested a review from rhaschke November 7, 2022 17:46
@rhaschke rhaschke merged commit bbb9264 into moveit:main Nov 8, 2022
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.

2 participants