Skip to content

Commit 653155f

Browse files
style(pre-commit): autofix
1 parent 15d4672 commit 653155f

File tree

1 file changed

+6
-2
lines changed
  • planning/behavior_velocity_traffic_light_module/src

1 file changed

+6
-2
lines changed

planning/behavior_velocity_traffic_light_module/src/scene.cpp

+6-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,10 @@ bool TrafficLightModule::modifyPathVelocity(PathWithLaneId * path, StopReason *
199199
input_path, lanelet_stop_lines,
200200
planner_param_.stop_margin + planner_data_->vehicle_info_.max_longitudinal_offset_m,
201201
planner_data_->stop_line_extend_length, stop_line_point, stop_line_point_idx)) {
202-
RCLCPP_WARN_STREAM_THROTTLE(logger_, *clock_, 5000, "Failed to calculate stop point and insert index for regulatory element id " << traffic_light_reg_elem_.id());
202+
RCLCPP_WARN_STREAM_THROTTLE(
203+
logger_, *clock_, 5000,
204+
"Failed to calculate stop point and insert index for regulatory element id "
205+
<< traffic_light_reg_elem_.id());
203206
setSafe(true);
204207
setDistance(std::numeric_limits<double>::lowest());
205208
return false;
@@ -358,7 +361,8 @@ bool TrafficLightModule::findValidTrafficSignal(TrafficSignalStamped & valid_tra
358361
if (!traffic_signal_stamped_opt) {
359362
RCLCPP_WARN_STREAM_THROTTLE(
360363
logger_, *clock_, 5000 /* ms */,
361-
"the traffic signal data associated with regulatory element id " << traffic_light_reg_elem_.id() << " is not received");
364+
"the traffic signal data associated with regulatory element id "
365+
<< traffic_light_reg_elem_.id() << " is not received");
362366
return false;
363367
}
364368
valid_traffic_signal = traffic_signal_stamped_opt.value();

0 commit comments

Comments
 (0)