Autoware.Auto
autoware::perception::tracking::AssociatorResult Struct Reference

Struct to store results after the assignment is done. More...

#include <tracker_types.hpp>

Public Attributes

std::vector< std::size_t > track_assignments
 This vector stores the detection index associated with each track idx. So, it should have Associator::m_num_tracks elements with each element having a value between 0 to Association::m_num_detections or AssociatorResult::UNASSIGNED. More...
 
std::unordered_set< std::size_t > unassigned_detection_indices
 Indices of detections that are not associated to any tracks. More...
 
std::unordered_set< std::size_t > unassigned_track_indices
 Indices of tracks that are not associated to any detections. More...
 
bool had_errors
 Indicates if there were errors in the data during association. More...
 

Static Public Attributes

static constexpr std::size_t UNASSIGNED = std::numeric_limits<std::size_t>::max()
 

Detailed Description

Struct to store results after the assignment is done.

Member Data Documentation

◆ had_errors

bool autoware::perception::tracking::AssociatorResult::had_errors

Indicates if there were errors in the data during association.

◆ track_assignments

std::vector<std::size_t> autoware::perception::tracking::AssociatorResult::track_assignments

This vector stores the detection index associated with each track idx. So, it should have Associator::m_num_tracks elements with each element having a value between 0 to Association::m_num_detections or AssociatorResult::UNASSIGNED.

◆ UNASSIGNED

constexpr std::size_t autoware::perception::tracking::AssociatorResult::UNASSIGNED = std::numeric_limits<std::size_t>::max()
staticconstexpr

◆ unassigned_detection_indices

std::unordered_set<std::size_t> autoware::perception::tracking::AssociatorResult::unassigned_detection_indices

Indices of detections that are not associated to any tracks.

◆ unassigned_track_indices

std::unordered_set<std::size_t> autoware::perception::tracking::AssociatorResult::unassigned_track_indices

Indices of tracks that are not associated to any detections.


The documentation for this struct was generated from the following files: