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

Fix ifopt continuous collision evaluator to distinguish CONTINUOUS and LVS_CONTINUOUS #342

Conversation

Levi-Armstrong
Copy link
Contributor

Address this issue

@Levi-Armstrong
Copy link
Contributor Author

@rjoomen FYI

@Levi-Armstrong Levi-Armstrong merged commit 70d64d3 into tesseract-robotics:master Aug 1, 2023
4 of 6 checks passed
@Levi-Armstrong Levi-Armstrong deleted the fix/ContinuousCollisionEvaluator branch August 1, 2023 00:00
@@ -39,6 +39,10 @@ LVSContinuousCollisionEvaluator::LVSContinuousCollisionEvaluator(
, collision_config_(std::move(collision_config))
, dynamic_environment_(dynamic_environment)
{
if (collision_config_->type != tesseract_collision::CollisionEvaluatorType::CONTINUOUS &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this check necessary? You don't do this in the LVSDiscreteCollisionEvaluator or the SingleTimestepCollisionEvaluator either. Not that it's bad to have an extra check, but for performance reasons. Or add the check everywhere.

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