43 s_max_lidar_invisible_period_ = period;
52 s_max_radar_invisible_period_ = period;
61 s_max_camera_invisible_period_ = period;
240 bool IsVisible(
const std::string& sensor_id)
const;
287 double measurement_timestamp);
338 const std::string& sensor_id,
339 double measurement_timestamp,
340 double max_invisible_period);
351 const std::string& sensor_id,
352 double measurement_timestamp,
353 double max_invisible_period);
369 double measurement_timestamp);
389 static size_t s_track_idx_;
390 static double s_max_lidar_invisible_period_;
391 static double s_max_radar_invisible_period_;
392 static double s_max_camera_invisible_period_;
const SensorId2ObjectMap & GetLidarObjects() const
Get the lidar objects object
double GetToicProb() const
Get the Toic Prob object
bool IsCameraVisible() const
Is camera visible
static size_t GenerateNewTrackId()
Generate new track id
bool IsAlive() const
Is tracking lost
void UpdateUnfusedState(const SensorObjectPtr &src_object)
update no fusion state
static void SetMaxRadarInvisiblePeriod(double period)
Set the max radar invisible period
FusedObjectPtr GetFusedObject()
Get the fused object object
FusedObjectPtr fused_object_
static void SetMaxCameraInvisiblePeriod(double period)
Set the max camera invisible period
static void SetMaxLidarInvisiblePeriod(double period)
Set the max lidar invisible period
void AddTrackedTimes()
Add the tracked times
void UpdateWithSensorObjectForBackground(const SensorObjectPtr &obj)
int GetTrackId() const
Get the track id
double GetTrackingPeriod() const
Get the tracking period
bool IsVisible(const std::string &sensor_id) const
Is visible
bool IsBackground() const
Is background
SensorObjectConstPtr GetSensorObject(const std::string &sensor_id) const
Get the sensor object object
const SensorId2ObjectMap & GetRadarObjects() const
Get the radar objects object
void UpdateSensorObjectWithoutMeasurement(SensorId2ObjectMap *objects, const std::string &sensor_id, double measurement_timestamp, double max_invisible_period)
std::string DebugString() const
Debug information
bool IsRadarVisible() const
Is radar visible
void SetToicProb(double prob)
Set the Toic Prob object
SensorId2ObjectMap radar_objects_
void SetExistenceProb(double prob)
Set the Existence Prob object
bool Initialize(SensorObjectPtr obj, bool is_background=false)
Initialize
size_t GetTrackedTimes() const
Get the tracked times
SensorObjectConstPtr GetLatestRadarObject() const
Get the latest radar object object
void UpdateSupplementState(const SensorObjectPtr &src_object=nullptr)
Update supplement state
SensorId2ObjectMap & GetRadarObjects()
Get the radar objects object
const SensorId2ObjectMap & GetCameraObjects() const
Get the camera objects object
void UpdateSensorObject(SensorId2ObjectMap *objects, const SensorObjectPtr &obj)
SensorObjectConstPtr GetLatestSensorObject(const SensorId2ObjectMap &objects) const
Get the Latest Sensor Object object
SensorId2ObjectMap & GetLidarObjects()
Get the lidar objects object
void UpdateSensorObjectWithMeasurement(SensorId2ObjectMap *objects, const std::string &sensor_id, double measurement_timestamp, double max_invisible_period)
bool IsLidarVisible() const
Is lidar visible
double GetExistenceProb() const
Get the Existence Prob object
void UpdateWithSensorObject(const SensorObjectPtr &obj)
Update by SensorObject
SensorId2ObjectMap lidar_objects_
void UpdateWithoutSensorObject(const std::string &sensor_id, double measurement_timestamp)
Update without SensorObject
SensorId2ObjectMap & GetCameraObjects()
Get the camera objects object
SensorObjectConstPtr GetLatestCameraObject() const
Get the latest camera object object
SensorObjectConstPtr GetLatestLidarObject() const
Get the latest lidar object object
void UpdateWithoutSensorObjectForBackground(const std::string &sensor_id, double measurement_timestamp)
SensorId2ObjectMap camera_objects_
#define DISALLOW_COPY_AND_ASSIGN(classname)
std::shared_ptr< const SensorObject > SensorObjectConstPtr
std::shared_ptr< SensorObject > SensorObjectPtr
std::shared_ptr< const Track > TrackConstPtr
std::shared_ptr< Track > TrackPtr
std::shared_ptr< FusedObject > FusedObjectPtr
std::map< std::string, SensorObjectPtr > SensorId2ObjectMap