We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3a867 commit 1697f07Copy full SHA for 1697f07
depthai_ros_driver/src/dai_nodes/sys_logger.cpp
@@ -33,7 +33,7 @@ void SysLogger::setXinXout(std::shared_ptr<dai::Pipeline> pipeline) {
33
void SysLogger::setupQueues(std::shared_ptr<dai::Device> device) {
34
loggerQ = device->getOutputQueue(loggerQName, 8, false);
35
updater = std::make_shared<diagnostic_updater::Updater>(getROSNode());
36
- updater->setHardwareID(getROSNode()->get_name() + std::string("_") + device->getMxId() + std::string("_") + device->getDeviceName());
+ updater->setHardwareID(getROSNode()->get_fully_qualified_name() + std::string("_") + device->getMxId() + std::string("_") + device->getDeviceName());
37
updater->add("sys_logger", std::bind(&SysLogger::produceDiagnostics, this, std::placeholders::_1));
38
}
39
0 commit comments