26 algorithm::SensorManager::Instance()->Init();
31 std::vector<base::ObjectPtr>* fused_objects) {
32 if (fused_objects ==
nullptr) {
36 fused_objects->clear();
37 bool is_main_sensor = algorithm::SensorManager::Instance()->IsMainSensor(
38 sensor_frame->sensor_info.name);
39 if (!is_main_sensor) {
43 fused_objects->resize(sensor_frame->objects.size());
44 for (
size_t i = 0; i < sensor_frame->objects.size(); i++) {
45 (*fused_objects)[i] = sensor_frame->objects[i];
69 double target_timestamp) {}
72 const std::string& sensor_id,
73 double measurement_timestamp,
74 double target_timestamp) {}
#define FUSION_REGISTER_FUSIONSYSTEM(name)
bool Init(const AssociationInitOptions &options) override
Init base data association config
bool Associate(const AssociationOptions &options, SensorFramePtr sensor_measurements, ScenePtr scene, AssociationResult *association_result) override
associate sensor measurements with global scene
bool Fuse(const base::FrameConstPtr &sensor_frame, std::vector< base::ObjectPtr > *fused_objects) override
fuse a sensor frame
bool Init(const FusionInitOptions &options) override
Init base fusion system config
void UpdateWithoutMeasurement(const TrackerOptions &options, const std::string &sensor_id, double measurement_timestamp, double target_timestamp) override
update track state without measurement
bool Init(TrackPtr track, SensorObjectPtr measurement) override
Init tracker with measurement
void UpdateWithMeasurement(const TrackerOptions &options, const SensorObjectPtr measurement, double target_timestamp) override
update track state with measurement
std::shared_ptr< const Frame > FrameConstPtr
std::shared_ptr< SensorObject > SensorObjectPtr
std::shared_ptr< SensorFrame > SensorFramePtr
std::shared_ptr< Track > TrackPtr
std::shared_ptr< Scene > ScenePtr