Skip to content

Commit c76ade6

Browse files
style(pre-commit): autofix
1 parent 180aab7 commit c76ade6

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

perception/autoware_tensorrt_common/src/tensorrt_common.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ void TrtCommon::printNetworkInfo(const std::string & onnx_file_path)
315315
total_gflops += gflops;
316316
total_params += num_weights;
317317
std::cout << "L" << i << " [conv " << k_dims.d[0] << "x" << k_dims.d[1] << " (" << groups
318-
<< ") " << "/" << s_dims.d[0] << "] " << dim_in.d[3] << "x" << dim_in.d[2] << "x"
318+
<< ") "
319+
<< "/" << s_dims.d[0] << "] " << dim_in.d[3] << "x" << dim_in.d[2] << "x"
319320
<< dim_in.d[1] << " -> " << dim_out.d[3] << "x" << dim_out.d[2] << "x"
320321
<< dim_out.d[1];
321322
std::cout << " weights:" << num_weights;
@@ -380,7 +381,8 @@ bool TrtCommon::buildEngineFromOnnx(
380381
if (num_available_dla > 0) {
381382
std::cout << "###" << num_available_dla << " DLAs are supported! ###" << std::endl;
382383
} else {
383-
std::cout << "###Warning : " << "No DLA is supported! ###" << std::endl;
384+
std::cout << "###Warning : "
385+
<< "No DLA is supported! ###" << std::endl;
384386
}
385387
config->setDefaultDeviceType(nvinfer1::DeviceType::kDLA);
386388
config->setDLACore(build_config_->dla_core_id);

planning/autoware_mission_planner/src/lanelet2_plugins/default_planner.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ PlannerPlugin::LaneletRoute DefaultPlanner::plan(const RoutePoints & points)
305305

306306
std::stringstream log_ss;
307307
for (const auto & point : points) {
308-
log_ss << "x: " << point.position.x << " " << "y: " << point.position.y << std::endl;
308+
log_ss << "x: " << point.position.x << " "
309+
<< "y: " << point.position.y << std::endl;
309310
}
310311
RCLCPP_DEBUG_STREAM(
311312
logger, "start planning route with check points: " << std::endl

sensing/autoware_pointcloud_preprocessor/src/vector_map_filter/lanelet2_map_filter_node.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,9 @@ void Lanelet2MapFilterComponent::pointcloudCallback(const PointCloud2ConstPtr cl
228228
if (!transformPointCloud("map", cloud_msg, input_transformed_cloud_ptr.get())) {
229229
RCLCPP_ERROR_STREAM_THROTTLE(
230230
this->get_logger(), *this->get_clock(), std::chrono::milliseconds(10000).count(),
231-
"Failed transform from " << "map"
232-
<< " to " << cloud_msg->header.frame_id);
231+
"Failed transform from "
232+
<< "map"
233+
<< " to " << cloud_msg->header.frame_id);
233234
return;
234235
}
235236
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>);

0 commit comments

Comments
 (0)