Skip to content

Commit

Permalink
More informative warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Aug 24, 2024
1 parent a1e346f commit 9bafe5c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ktopt_planning_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,9 @@ void KTOptPlanningContext::transcribePlanningScene(const planning_scene::Plannin
shape_ptr = std::make_unique<Cylinder>(object_ptr->radius, object_ptr->length);
break;
}
case shapes::ShapeType::UNKNOWN_SHAPE:
{
RCLCPP_WARN(getLogger(), "Unknown shape, ignoring in scene graph");
break;
}
default:
{
RCLCPP_WARN(getLogger(), "Shape TYPE conversion to drake is not implemented");
RCLCPP_WARN(getLogger(), "Unsupported shape for '" + object_name + "', ignoring in scene graph.");
break;
}
}
Expand Down

0 comments on commit 9bafe5c

Please sign in to comment.