Skip to content

Commit 10f8990

Browse files
fix
Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
1 parent 98cc9f2 commit 10f8990

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

planning/behavior_velocity_crosswalk_module/src/scene_crosswalk.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@ class CrosswalkModule : public SceneModuleInterface
262262
current_uuids_.push_back(uuid);
263263

264264
const bool is_object_on_ego_path =
265+
!attention_area.outer().empty() &&
265266
boost::geometry::distance(tier4_autoware_utils::fromMsg(position).to_2d(), attention_area) <
266-
0.5;
267+
0.5;
267268

268269
// add new object
269270
if (objects.count(uuid) == 0) {

0 commit comments

Comments
 (0)