We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c73878a commit 6022301Copy full SHA for 6022301
perception/multi_object_tracker/src/tracker/model/pedestrian_tracker.cpp
@@ -216,6 +216,13 @@ bool PedestrianTracker::measureWithShape(
216
return false;
217
}
218
219
+ // set minimum size
220
+ bounding_box_.length = std::max(bounding_box_.length, 0.3);
221
+ bounding_box_.width = std::max(bounding_box_.width, 0.3);
222
+ bounding_box_.height = std::max(bounding_box_.height, 0.8);
223
+ cylinder_.width = std::max(cylinder_.width, 0.3);
224
+ cylinder_.height = std::max(cylinder_.height, 0.8);
225
+
226
return true;
227
228
0 commit comments