Skip to content

Commit e0f4760

Browse files
committed
fix(intersection): fix bugs (autowarefoundation#6050)
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
1 parent b3f6aaf commit e0f4760

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

planning/behavior_velocity_intersection_module/config/intersection.param.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
enable: false
7373
creep_velocity: 0.8333
7474
peeking_offset: -0.5
75-
occlusion_required_clearance_distance: 55
75+
occlusion_required_clearance_distance: 55.0
7676
possible_object_bbox: [1.5, 2.5]
7777
ignore_parked_vehicle_speed_threshold: 0.8333
7878
occlusion_detection_hold_time: 1.5

planning/behavior_velocity_intersection_module/src/manager.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ IntersectionModuleManager::IntersectionModuleManager(rclcpp::Node & node)
152152
getOrDeclareParameter<double>(node, ns + ".occlusion.creep_during_peeking.creep_velocity");
153153
ip.occlusion.peeking_offset =
154154
getOrDeclareParameter<double>(node, ns + ".occlusion.peeking_offset");
155+
ip.occlusion.occlusion_required_clearance_distance =
156+
getOrDeclareParameter<double>(node, ns + ".occlusion.occlusion_required_clearance_distance");
155157
ip.occlusion.possible_object_bbox =
156158
getOrDeclareParameter<std::vector<double>>(node, ns + ".occlusion.possible_object_bbox");
157159
ip.occlusion.ignore_parked_vehicle_speed_threshold =

planning/behavior_velocity_intersection_module/src/scene_intersection.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ IntersectionModule::DecisionResult IntersectionModule::modifyPathVelocityDetail(
11951195
}
11961196
}
11971197

1198-
const double is_amber_or_red =
1198+
const bool is_amber_or_red =
11991199
(traffic_prioritized_level == TrafficPrioritizedLevel::PARTIALLY_PRIORITIZED) ||
12001200
(traffic_prioritized_level == TrafficPrioritizedLevel::FULLY_PRIORITIZED);
12011201
auto occlusion_status =

0 commit comments

Comments
 (0)