Skip to content

Commit 9785e57

Browse files
committed
update-lidar-appollo-instance-segmentation
1 parent 5c2935e commit 9785e57

File tree

1 file changed

+2
-2
lines changed
  • perception/lidar_apollo_instance_segmentation/src

1 file changed

+2
-2
lines changed

perception/lidar_apollo_instance_segmentation/src/detector.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ LidarApolloInstanceSegmentation::LidarApolloInstanceSegmentation(rclcpp::Node *
3636
use_intensity_feature = node_->declare_parameter<bool>("use_intensity_feature");
3737
use_constant_feature = node_->declare_parameter<bool>("use_constant_feature");
3838
target_frame_ = node_->declare_parameter<std::string>("target_frame");
39-
z_offset_ = node_->declare_parameter<float>("z_offset", -2.0);
40-
const auto precision = node_->declare_parameter<std::string>("precision", "fp32");
39+
z_offset_ = node_->declare_parameter<float>("z_offset");
40+
const auto precision = node_->declare_parameter<std::string>("precision");
4141

4242
trt_common_ = std::make_unique<tensorrt_common::TrtCommon>(
4343
onnx_file, precision, nullptr, tensorrt_common::BatchConfig{1, 1, 1}, 1 << 30);

0 commit comments

Comments
 (0)