Go to the documentation of this file.
14 #ifndef TRACKING__DATA_ASSOCIATION_HPP_
15 #define TRACKING__DATA_ASSOCIATION_HPP_
19 #include <autoware_auto_msgs/msg/tracked_dynamic_object_array.hpp>
20 #include <autoware_auto_msgs/msg/detected_dynamic_object_array.hpp>
24 #include <experimental/optional>
57 float m_max_distance_squared;
58 float m_max_area_ratio;
59 float m_max_area_ratio_inv;
65 static constexpr std::size_t UNASSIGNED = std::numeric_limits<std::size_t>::max();
91 const autoware_auto_msgs::msg::DetectedDynamicObjectArray & detections,
const
92 autoware_auto_msgs::msg::TrackedDynamicObjectArray & tracks);
100 const autoware_auto_msgs::msg::DetectedDynamicObjectArray & detections,
101 const autoware_auto_msgs::msg::TrackedDynamicObjectArray & tracks);
104 bool consider_associating(
105 const autoware_auto_msgs::msg::DetectedDynamicObject & detection,
const
106 autoware_auto_msgs::msg::TrackedDynamicObject & track)
const;
109 void set_weight(
const float weight,
const size_t det_idx,
const size_t track_idx);
117 bool m_are_tracks_rows;
119 size_t m_num_detections;
127 #endif // TRACKING__DATA_ASSOCIATION_HPP_
autoware::fusion::hungarian_assigner::index_t assigner_idx_t
Definition: data_association.hpp:36
Eigen::Index index_t
indexing matches what matrices use
Definition: hungarian_assigner.hpp:49
float get_max_distance_squared() const
Definition: data_association.hpp:49
std::vector< std::size_t > unassigned_track_indices
Indices of tracks that are not associated to any detections.
Definition: data_association.hpp:73
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
Struct to store results after the assignment is done.
Definition: data_association.hpp:63
Class to perform data association between existing tracks and new detections using mahalanobis distan...
Definition: data_association.hpp:79
Header for hungarian algorithm for optimal linear assignment.
float get_max_area_ratio_inv() const
Definition: data_association.hpp:53
std::vector< std::size_t > track_assignments
This vector stores the detection index associated with each track idx. So, it should have Associator:...
Definition: data_association.hpp:69
float get_max_area_ratio() const
Definition: data_association.hpp:51
std::vector< std::size_t > unassigned_detection_indices
Indices of detections that are not associated to any tracks.
Definition: data_association.hpp:71
Class to create configuration parameters for data association.
Definition: data_association.hpp:39