From 0717cd4e4e975fed172f88c7dc74075a888ba5f9 Mon Sep 17 00:00:00 2001 From: Mamoru Sobue Date: Fri, 27 Jan 2023 14:10:32 +0900 Subject: [PATCH] fix(motion_utils): fixed virtual wall marker to appear (#2757) Signed-off-by: Mamoru Sobue --- common/motion_utils/src/marker/marker_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/motion_utils/src/marker/marker_helper.cpp b/common/motion_utils/src/marker/marker_helper.cpp index 60e5f09bbea89..ab4dc623c3125 100644 --- a/common/motion_utils/src/marker/marker_helper.cpp +++ b/common/motion_utils/src/marker/marker_helper.cpp @@ -143,7 +143,7 @@ visualization_msgs::msg::MarkerArray VirtualWallMarkerCreator::handleVirtualWall size_t id_to_delete = id; visualization_msgs::msg::MarkerArray wall_marker; - if (poses.size() == 0 || previous_virtual_wall_poses.empty()) { + if (poses.size() == 0) { return wall_marker; }