Skip to content

Commit 44e103b

Browse files
style(pre-commit): autofix
1 parent fc198bf commit 44e103b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

common/tensorrt_common/src/tensorrt_common.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ void TrtCommon::printNetworkInfo(const std::string & onnx_file_path)
313313
total_gflops += gflops;
314314
total_params += num_weights;
315315
std::cout << "L" << i << " [conv " << k_dims.d[0] << "x" << k_dims.d[1] << " (" << groups
316-
<< ") " << "/" << s_dims.d[0] << "] " << dim_in.d[3] << "x" << dim_in.d[2] << "x"
316+
<< ") "
317+
<< "/" << s_dims.d[0] << "] " << dim_in.d[3] << "x" << dim_in.d[2] << "x"
317318
<< dim_in.d[1] << " -> " << dim_out.d[3] << "x" << dim_out.d[2] << "x"
318319
<< dim_out.d[1];
319320
std::cout << " weights:" << num_weights;
@@ -378,7 +379,8 @@ bool TrtCommon::buildEngineFromOnnx(
378379
if (num_available_dla > 0) {
379380
std::cout << "###" << num_available_dla << " DLAs are supported! ###" << std::endl;
380381
} else {
381-
std::cout << "###Warning : " << "No DLA is supported! ###" << std::endl;
382+
std::cout << "###Warning : "
383+
<< "No DLA is supported! ###" << std::endl;
382384
}
383385
config->setDefaultDeviceType(nvinfer1::DeviceType::kDLA);
384386
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)