Skip to content

Commit

Permalink
Add ContactManagerConfig inside CollisionCheckConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mpowelson authored and Levi-Armstrong committed Dec 6, 2021
1 parent 4fbbbee commit 1a9ea53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tesseract_ros_examples/src/glass_upright_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ bool GlassUprightExample::run()
{
auto composite_profile = std::make_shared<TrajOptIfoptDefaultCompositeProfile>();
composite_profile->collision_cost_config->type = tesseract_collision::CollisionEvaluatorType::LVS_DISCRETE;
composite_profile->collision_cost_config->collision_margin_data.setDefaultCollisionMargin(0.01);
composite_profile->collision_cost_config->contact_manager_config.collision_margin_data.setDefaultCollisionMargin(0.01);
composite_profile->collision_cost_config->collision_margin_buffer = 0.01;
composite_profile->collision_constraint_config->type = tesseract_collision::CollisionEvaluatorType::LVS_DISCRETE;
composite_profile->collision_constraint_config->collision_margin_data.setDefaultCollisionMargin(0.01);
composite_profile->collision_constraint_config->contact_manager_config.collision_margin_data.setDefaultCollisionMargin(0.01);
composite_profile->collision_constraint_config->collision_margin_buffer = 0.01;
composite_profile->smooth_velocities = true;
composite_profile->smooth_accelerations = false;
Expand Down

0 comments on commit 1a9ea53

Please sign in to comment.