Skip to content

Commit

Permalink
fix(motion_utils): fixed virtual wall marker to appear (#2757)
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
  • Loading branch information
soblin authored Jan 27, 2023
1 parent 0911600 commit 0717cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/motion_utils/src/marker/marker_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0717cd4

Please sign in to comment.