#include <base_matcher.h>
◆ BaseMatcher()
apollo::perception::camera::BaseMatcher::BaseMatcher |
( |
| ) |
|
|
default |
Construct a new Base Matcher object
◆ ~BaseMatcher()
virtual apollo::perception::camera::BaseMatcher::~BaseMatcher |
( |
| ) |
|
|
virtualdefault |
◆ FRIEND_TEST()
apollo::perception::camera::BaseMatcher::FRIEND_TEST |
( |
BaseMatcherTest |
, |
|
|
base_matcher_test |
|
|
) |
| |
|
protected |
◆ GetBoundMatchDistance()
double apollo::perception::camera::BaseMatcher::GetBoundMatchDistance |
( |
| ) |
|
|
static |
Get the Bound Match Distance
- 返回
- double
在文件 base_matcher.cc 第 37 行定义.
static double s_bound_match_distance_
◆ GetMaxMatchDistance()
double apollo::perception::camera::BaseMatcher::GetMaxMatchDistance |
( |
| ) |
|
|
static |
Get the Max Match Distance
- 返回
- double
在文件 base_matcher.cc 第 31 行定义.
static double s_max_match_distance_
◆ Init()
virtual bool apollo::perception::camera::BaseMatcher::Init |
( |
const MatcherInitOptions & |
options | ) |
|
|
inlinevirtual |
◆ Match()
virtual bool apollo::perception::camera::BaseMatcher::Match |
( |
const std::vector< CameraTrackPtr > & |
camera_tracks, |
|
|
const base::Frame & |
camera_frame, |
|
|
const TrackObjectMatcherOptions & |
options, |
|
|
std::vector< TrackObjectPair > * |
assignments, |
|
|
std::vector< size_t > * |
unassigned_tracks, |
|
|
std::vector< size_t > * |
unassigned_objects |
|
) |
| |
|
inlinevirtual |
Match camera objects to tracks
- 参数
-
camera_tracks | global tracks |
camera_frame | current camera frame |
options | matcher options for future use |
assignments | matched pair of tracks and measurements |
unassigned_tracks | unmatched tracks |
unassigned_objects | unmatched objects |
- 返回
- true
-
false
被 apollo::perception::camera::HMMatcher 重载.
在文件 base_matcher.h 第 74 行定义.
79 {
80 return true;
81 }
◆ Name()
virtual std::string apollo::perception::camera::BaseMatcher::Name |
( |
| ) |
const |
|
inlinevirtual |
◆ RefinedTrack()
bool apollo::perception::camera::BaseMatcher::RefinedTrack |
( |
const base::ObjectPtr & |
track_object, |
|
|
double |
track_timestamp, |
|
|
const base::ObjectPtr & |
camera_object, |
|
|
double |
camera_timestamp |
|
) |
| |
|
protectedvirtual |
track targets based on their features.
- 参数
-
track_object | tracked targets |
track_timestamp | target tracked timestamp |
camera_object | camera detection objects |
camera_timestamp | camera detection timestamp |
- 返回
- true
-
false
被 apollo::perception::camera::HMMatcher 重载.
在文件 base_matcher.cc 第 39 行定义.
42 {
43
44
45 return true;
46}
◆ SetBoundMatchDistance()
void apollo::perception::camera::BaseMatcher::SetBoundMatchDistance |
( |
double |
dist | ) |
|
|
static |
◆ SetMaxMatchDistance()
void apollo::perception::camera::BaseMatcher::SetMaxMatchDistance |
( |
double |
dist | ) |
|
|
static |
◆ s_bound_match_distance_
double apollo::perception::camera::BaseMatcher::s_bound_match_distance_ = 10.0 |
|
staticprotected |
◆ s_max_match_distance_
double apollo::perception::camera::BaseMatcher::s_max_match_distance_ = 2.5 |
|
staticprotected |
该类的文档由以下文件生成: