Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/add missing source value #35

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rmf_human_detector_oakd/launch/human_detector.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<launch>
<arg name="blob_path" default="" description="The absolute filepath to the NN blob"/>
<arg name="sync_nn" default="True" description="Whether to sync the depth and preview frames before making inference"/>
<arg name="detector_name" default="rmf_human_detector_oakd" description="The name given to this detector"/>
<arg name="detector_name" default="rmf_human_detector_oakd" description="The name given to this detector, used for obstacle topic's source value"/>
<arg name="frame_id" default="oakd_camera_link" description="The frame ID for the camera"/>
<arg name="level_name" default="L1" description="The level or map on which the camera is located"/>
<arg name="obstacle_classification" default="human" description="The classificaation to be used to report human obstacles"/>
<arg name="obstacle_classification" default="human" description="The classification to be used to report human obstacles"/>
<arg name="debug" default="false" description="If True, the detection results will be visualized"/>
<arg name="rmf_frame_id" default="map" description="The frame_id w.r.t which RMF coordinates are defined"/>
<arg name="x" default="0" description="x translation between RMF and camera frames"/>
Expand Down
4 changes: 2 additions & 2 deletions rmf_human_detector_oakd/src/HumanDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ HumanDetector::HumanDetector(
"/rmf_obstacles",
10);

// Declare prameters
// Declare parameters
RCLCPP_INFO(
this->get_logger(),
"Configuring rmf_human_detector_oakd...");
Expand Down Expand Up @@ -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;
Expand Down
Loading