From 74ba730c8cfe94b1b1ece3a94476402c3a2f14e0 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Wed, 3 Jan 2024 12:16:01 +0100 Subject: [PATCH] (moveit_ros) add missing CYLINDER check (#2640) As this check was missing, the CYLINDER check later on was unreachable --- moveit_ros/perception/semantic_world/src/semantic_world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moveit_ros/perception/semantic_world/src/semantic_world.cpp b/moveit_ros/perception/semantic_world/src/semantic_world.cpp index 4ed23cb54e..5be32f7a2a 100644 --- a/moveit_ros/perception/semantic_world/src/semantic_world.cpp +++ b/moveit_ros/perception/semantic_world/src/semantic_world.cpp @@ -253,7 +253,7 @@ SemanticWorld::generatePlacePoses(const object_recognition_msgs::msg::Table& cho { std::vector place_poses; if (object_shape->type != shapes::MESH && object_shape->type != shapes::SPHERE && object_shape->type != shapes::BOX && - object_shape->type != shapes::CONE) + object_shape->type != shapes::CYLINDER && object_shape->type != shapes::CONE) { return place_poses; }