Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Removed problematic assertion from default_constraint_samplers.cpp #198

Merged
merged 1 commit into from
Sep 5, 2014

Conversation

hersh
Copy link
Contributor

@hersh hersh commented Sep 4, 2014

When doing a task where moveit is planning repeatedly, this assertion consistently fails for me after a few minutes of running.

Looking at the code, I see that the function it is in, callIK(), already returns a bool indicating success or failure, and callIK() is called from a sampling loop that keeps trying until success. Therefore I don't see a problem with changing the "assert" to "return".

@davetcoleman
Copy link
Member

+1 makes a lot of sense to me

davetcoleman added a commit that referenced this pull request Sep 5, 2014
Removed problematic assertion from default_constraint_samplers.cpp
@davetcoleman davetcoleman merged commit d26e6e9 into hydro-devel Sep 5, 2014
@davetcoleman davetcoleman deleted the dont-assert branch September 5, 2014 19:49
isucan added a commit that referenced this pull request Nov 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants