diff --git a/rmf_human_detector_oakd/launch/human_detector.launch.xml b/rmf_human_detector_oakd/launch/human_detector.launch.xml index 47c1aa2a..d148a9ab 100644 --- a/rmf_human_detector_oakd/launch/human_detector.launch.xml +++ b/rmf_human_detector_oakd/launch/human_detector.launch.xml @@ -3,10 +3,10 @@ - + - + diff --git a/rmf_human_detector_oakd/src/HumanDetector.cpp b/rmf_human_detector_oakd/src/HumanDetector.cpp index 3a86fee7..9718acc0 100644 --- a/rmf_human_detector_oakd/src/HumanDetector.cpp +++ b/rmf_human_detector_oakd/src/HumanDetector.cpp @@ -38,7 +38,7 @@ HumanDetector::HumanDetector( "/rmf_obstacles", 10); - // Declare prameters + // Declare parameters RCLCPP_INFO( this->get_logger(), "Configuring rmf_human_detector_oakd..."); @@ -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;