diff --git a/tesseract_ros_examples/src/glass_upright_example.cpp b/tesseract_ros_examples/src/glass_upright_example.cpp index 1826acd05..de80d64cf 100644 --- a/tesseract_ros_examples/src/glass_upright_example.cpp +++ b/tesseract_ros_examples/src/glass_upright_example.cpp @@ -195,10 +195,10 @@ bool GlassUprightExample::run() { auto composite_profile = std::make_shared(); 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;