Skip to content

Commit

Permalink
fix: stop_line visualization (#1029)
Browse files Browse the repository at this point in the history
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: kyoichi sugahara <81.s.kyo.19@gmail.com>
  • Loading branch information
tkimura4 authored and kyoichi-sugahara committed Jun 3, 2022
1 parent 8597229 commit 7656e14
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ visualization_msgs::msg::MarkerArray StopLineModule::createVirtualWallMarkerArra
visualization_msgs::msg::MarkerArray wall_marker;
const auto p_front = tier4_autoware_utils::calcOffsetPose(
*debug_data_.stop_pose, debug_data_.base_link2front, 0.0, 0.0);
appendMarkerArray(
tier4_autoware_utils::createStopVirtualWallMarker(p_front, "stopline", now, module_id_), now,
&wall_marker);
if (state_ == State::APPROACH) {
appendMarkerArray(
tier4_autoware_utils::createStopVirtualWallMarker(p_front, "stopline", now, module_id_), now,
&wall_marker);
}
return wall_marker;
}
} // namespace behavior_velocity_planner

0 comments on commit 7656e14

Please sign in to comment.