Skip to content
Snippets Groups Projects
Commit 48ddc509 authored by ARMAR-6 User's avatar ARMAR-6 User
Browse files

hokuyo: hearbeat fix

parent 8dc4c9be
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ HokuyoLaserUnit::onConnectComponent()
}
ARMARX_CHECK_NOT_NULL(heartbeat);
heartbeat->signUp(device.componentName + "_" + device.ip,
heartbeat->signUp(device.ip,
armarx::core::time::Duration::MilliSeconds(500),
armarx::core::time::Duration::MilliSeconds(800),
{"LaserScanner", "Localization"},
......@@ -284,7 +284,7 @@ HokuyoLaserScanDevice::run()
if (robotHealthPlugin != nullptr)
{
robotHealthPlugin->heartbeatOnChannel(componentName + "_" + ip);
robotHealthPlugin->heartbeatOnChannel(ip);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment