38 if (pfdetector_ !=
nullptr) {
41 if (param_ !=
nullptr) {
68 std::string
Name()
const override {
return "SpatioTemporalGroundDetector"; }
73 std::vector<float> data_;
74 std::vector<float> ground_height_signed_;
75 std::vector<int> point_indices_temp_;
76 std::vector<std::pair<int, int>> point_attribute_;
79 bool use_ground_service_ =
false;
80 bool use_semantic_ground_ =
false;
81 float ground_thres_ = 0.25f;
82 float near_range_dist_ = 15.0;
83 float near_range_ground_thres_ = 0.10;
84 float middle_range_dist_ = 15.0;
85 float middle_range_ground_thres_ = 0.10;
88 float ori_sample_z_lower_ = -3.0;
89 float ori_sample_z_upper_ = -1.0;
90 float parsing_height_buffer_ = 0.2;
91 bool debug_output_ =
false;
92 bool single_ground_detect_ =
true;
94 size_t default_point_size_ = 320000;
95 Eigen::Vector3d cloud_center_ = Eigen::Vector3d(0.0, 0.0, 0.0);
99 std::list<float> origin_ground_z_array_;
100 const size_t ground_z_average_frame = 5;