diff --git a/rmf_human_detector_oakd/launch/human_detector.launch.xml b/rmf_human_detector_oakd/launch/human_detector.launch.xml index f045e43e..d148a9ab 100644 --- a/rmf_human_detector_oakd/launch/human_detector.launch.xml +++ b/rmf_human_detector_oakd/launch/human_detector.launch.xml @@ -3,7 +3,7 @@ - + diff --git a/rmf_human_detector_oakd/src/HumanDetector.cpp b/rmf_human_detector_oakd/src/HumanDetector.cpp index a7226a3b..9718acc0 100644 --- a/rmf_human_detector_oakd/src/HumanDetector.cpp +++ b/rmf_human_detector_oakd/src/HumanDetector.cpp @@ -270,7 +270,7 @@ HumanDetector::HumanDetector( obstacle.header.frame_id = data->frame_id; // TODO(YV): Stamp obstacle.id = obstacle_count; - obstacle.id = obstacle_count; + obstacle.source = data->detector_name; obstacle.level_name = data->level_name; obstacle.classification = data->obstacle_classification; obstacle.bbox.center.position.x = spatial_x;