112 bool ConfirmTrack() {
return tracked_times_ > s_tracked_times_threshold_; }
120 s_tracked_times_threshold_ = threshold;
129 s_chosen_filter_ = chosen_filter;
137 static void SetUseFilter(
bool use_filter) { s_use_filter_ = use_filter; }
140 double timestamp_ = 0.0;
142 int tracked_times_ = 0;
143 double tracking_time_ = 0.0;
144 bool is_dead_ =
false;
147 std::shared_ptr<BaseFilter> filter_ =
nullptr;
149 static std::string s_chosen_filter_;
150 static int s_current_idx_;
151 static int s_tracked_times_threshold_;
152 static bool s_use_filter_;
bool ConfirmTrack()
If the target tracking time is greater than the set threshold, which means that the target has been t...
void SetObsRadarNullptr()
Set the Obs Radar Nullptr object
double GetTimestamp()
Get the Timestamp object
static void SetChosenFilter(const std::string &chosen_filter)
Set the Chosen Filter object
base::ObjectPtr GetObs()
Get the Obs object
bool IsDead()
Track state is dead or not
void SetDead()
Set the Dead object
int GetObsId() const
Get the Obs Id object
static void SetUseFilter(bool use_filter)
Set the Use Filter object
double GetTrackingTime()
Get the Tracking Time object
base::ObjectPtr GetObsRadar()
Get the Obs Radar object
static void SetTrackedTimesThreshold(const int &threshold)
Set the Tracked Times Threshold object
void UpdataObsRadar(const base::ObjectPtr &obs_radar, const double timestamp)
update the object after association with a radar obervation
#define DISALLOW_COPY_AND_ASSIGN(classname)
std::shared_ptr< Object > ObjectPtr
std::shared_ptr< RadarTrack > RadarTrackPtr