Skip to content
Open
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
2 changes: 2 additions & 0 deletions isaac_ros_yolov8/src/yolov8_decoder_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,14 @@ void YoloV8DecoderNode::InputCallback(const nvidia::isaac_ros::nitros::NitrosTen

detection.header.stamp.sec = msg.GetTimestampSeconds();
detection.header.stamp.nanosec = msg.GetTimestampNanoseconds();
detection.header.frame_id=msg.GetFrameId()+ std::string("/resize");

final_detections_arr.detections.push_back(detection);
}

final_detections_arr.header.stamp.sec = msg.GetTimestampSeconds();
final_detections_arr.header.stamp.nanosec = msg.GetTimestampNanoseconds();
final_detections_arr.header.frame_id=msg.GetFrameId()+ std::string("/resize");
pub_->publish(final_detections_arr);
}

Expand Down