refactor(autoware_multi_object_tracker): add configurable tracker parameters #9621
+82
−51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Extracted
autoware_multi_object_tracker
parameters from source code, refactored parameters declaration and enabled settingconfident_count_threshold
for each classification label separately.Changes
tracker_lifetime
,min_known_object_removal_iou
,min_unknown_object_removal_iou
,distance_threshold
, andconfident_count_threshold
to themulti_object_tracker_node.param.yaml
configuration file.TrackerProcessorConfig
struct to encapsulate tracker-related parameters and refactored theTrackerProcessor
class to use this struct for initialization.TrackerProcessor
methods to use the new configuration struct, includingcreateNewTracker
,removeOldTracker
,removeOverlappedTracker
, andisConfidentTracker
.Related links
autowarefoundation/autoware_launch#1273
autoware_launch
PR for according parameters.How was this PR tested?
Build completed successfully.
Tested parameters changes in Carla environment.
Notes for reviewers
None.
ROS Parameter Changes
Extracted parameters from source code and renamed them according to their use:
max_elapsed_time_
tracker_lifetime
min_iou_
min_known_object_removal_iou
min_iou_for_unknown_object_
min_unknown_object_removal_iou
distance_threshold_
distance_threshold
confident_count_threshold_
confident_count_threshold
for each label typeAdditions and removals
tracker_lifetime
float
1.0
min_known_object_removal_iou
float
0.1
min_unknown_object_removal_iou
float
0.001
distance_threshold
float
5.0
confident_count_threshold
std::map<std::string, LabelType>
Label : 3
Effects on system behavior
None.