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

Use correct trajectory_initialization_method param #1237

Conversation

hamalMarino
Copy link
Contributor

Description

The parameter updated for "trajectory_initialization_method" was use_stochastic_descent_ instead, possibly due to a copy-paste leftover.
This caused a segfault when trying to load this plugin with this parameter set, as the value of params_.trajectory_initialization_method_ was never actually read.

This should also be forward-ported to melodic.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extended the tutorials / documentation, if necessary reference
  • Include a screenshot if changing a GUI
  • Document API changes relevant to the user in the moveit/MIGRATION.md notes
  • Created tests, which fail without this PR reference
  • Decide if this should be cherry-picked to other current ROS branches
  • While waiting for someone to review your request, please consider reviewing another open pull request to support the maintainers

The parameter updated for "trajectory_initialization_method" was `use_stochastic_descent_` instead, possibly due to a copy-paste leftover.
This caused a segfault when trying to load this plugin with this parameter set, as the value of `params_.trajectory_initialization_method_`
was never actually read.
@welcome
Copy link

welcome bot commented Nov 28, 2018

Thanks for helping in improving MoveIt!

Copy link
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.

Thanks for this fix!

@rhaschke rhaschke merged commit aac64fe into moveit:kinetic-devel Nov 28, 2018
@welcome
Copy link

welcome bot commented Nov 28, 2018

Congrats on getting your first MoveIt! pull request merged and improving open source robotics!

@hamalMarino hamalMarino deleted the hamalMarino/kinetic-fix_chomp_trajectory_initialization_method branch November 29, 2018 11:25
pull bot pushed a commit to shadow-robot/moveit that referenced this pull request Sep 3, 2020
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.

None yet

2 participants