Skip to content

Commit 1697f07

Browse files
author
Jetson Developer
committed
hardware_id for diagnostics to fully_qualified_name to allow it to filter on namespace
1 parent ed3a867 commit 1697f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

depthai_ros_driver/src/dai_nodes/sys_logger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void SysLogger::setXinXout(std::shared_ptr<dai::Pipeline> pipeline) {
3333
void SysLogger::setupQueues(std::shared_ptr<dai::Device> device) {
3434
loggerQ = device->getOutputQueue(loggerQName, 8, false);
3535
updater = std::make_shared<diagnostic_updater::Updater>(getROSNode());
36-
updater->setHardwareID(getROSNode()->get_name() + std::string("_") + device->getMxId() + std::string("_") + device->getDeviceName());
36+
updater->setHardwareID(getROSNode()->get_fully_qualified_name() + std::string("_") + device->getMxId() + std::string("_") + device->getDeviceName());
3737
updater->add("sys_logger", std::bind(&SysLogger::produceDiagnostics, this, std::placeholders::_1));
3838
}
3939

0 commit comments

Comments
 (0)