Skip to content

fix: avoid zero division on the slope estimation

Codecov / codecov/patch succeeded Nov 25, 2024 in 1s

82.05% of diff hit (target 0.00%)

View this Pull Request on Codecov

82.05% of diff hit (target 0.00%)

Annotations

Check warning on line 44 in perception/autoware_ground_segmentation/src/scan_ground_filter/data.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/data.hpp#L44

Added line #L44 was not covered by tests

Check warning on line 44 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp#L44

Added line #L44 was not covered by tests

Check warning on line 83 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp#L83

Added line #L83 was not covered by tests

Check warning on line 86 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp#L86

Added line #L86 was not covered by tests

Check warning on line 93 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp#L93

Added line #L93 was not covered by tests

Check warning on line 76 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp#L74-L76

Added lines #L74 - L76 were not covered by tests

Check warning on line 106 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp#L104-L106

Added lines #L104 - L106 were not covered by tests

Check warning on line 306 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp#L306

Added line #L306 was not covered by tests

Check warning on line 308 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp#L308

Added line #L308 was not covered by tests

Check warning on line 398 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp#L398

Added line #L398 was not covered by tests

Check warning on line 400 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp#L400

Added line #L400 was not covered by tests

Check warning on line 403 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.cpp#L403

Added line #L403 was not covered by tests

Check warning on line 96 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp#L96

Added line #L96 was not covered by tests

Check warning on line 108 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp#L108

Added line #L108 was not covered by tests

Check warning on line 110 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp#L110

Added line #L110 was not covered by tests

Check warning on line 113 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp#L113

Added line #L113 was not covered by tests

Check warning on line 115 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp#L115

Added line #L115 was not covered by tests

Check warning on line 117 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp#L117

Added line #L117 was not covered by tests

Check warning on line 177 in perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/grid_ground_filter.hpp#L176-L177

Added lines #L176 - L177 were not covered by tests

Check warning on line 129 in perception/autoware_ground_segmentation/src/scan_ground_filter/node.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

perception/autoware_ground_segmentation/src/scan_ground_filter/node.cpp#L129

Added line #L129 was not covered by tests