Skip to content

Commit

Permalink
fix(traffic_light_occlusion_predictor): bug fix (autowarefoundation#4426
Browse files Browse the repository at this point in the history
) (#752)

fix traffic_light_occlusion_predictor bug

Signed-off-by: Mingyu Li <mingyu.li@tier4.jp>
Co-authored-by: Mingyu1991 <115005477+Mingyu1991@users.noreply.github.com>
  • Loading branch information
TomohitoAndo and Mingyu1991 authored Aug 21, 2023
1 parent 9f9d447 commit ea95c8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void TrafficLightOcclusionPredictorNodelet::syncCallback(
if (
in_cloud_msg == nullptr || in_cam_info_msg == nullptr || in_roi_msg == nullptr ||
in_roi_msg->rois.size() != in_signal_msg->signals.size()) {
occlusion_ratios.resize(in_roi_msg->rois.size(), 0);
occlusion_ratios.resize(out_msg.signals.size(), 0);
} else {
cloud_occlusion_predictor_->predict(
in_cam_info_msg, in_roi_msg, in_cloud_msg, tf_buffer_, traffic_light_position_map_,
Expand Down

0 comments on commit ea95c8a

Please sign in to comment.