Skip to content
Snippets Groups Projects
Commit 57f54c2b authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

Merge remote-tracking branch 'origin/master' into skills/dev

parents 209f5f7d 494eeaa9
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,8 @@ set(COMPONENT_LIBS
RobotAPICore RobotAPIInterfaces
armem
aronopencvconverter aronjsonconverter
# ExampleMemory_aron
ExampleMemory # actually, the aron version is sufficient
${OpenCV_LIBRARIES}
)
......
......@@ -109,11 +109,6 @@ namespace armarx::plugins
void
HeartbeatComponentPlugin::preOnInitComponent()
{
// set default args
auto warn = armarx::core::time::Duration::MilliSeconds(p.maximumCycleTimeWarningMS);
auto err = armarx::core::time::Duration::MilliSeconds(p.maximumCycleTimeErrorMS);
armarx::core::time::toIce(defaultHeartbeatArgs.maximumCycleTimeWarning, warn);
armarx::core::time::toIce(defaultHeartbeatArgs.maximumCycleTimeError, err);
// defaultHeartbeatArgs.requiredByDefault = true;
// if (topicName.empty())
......@@ -126,6 +121,11 @@ namespace armarx::plugins
void
HeartbeatComponentPlugin::postOnInitComponent()
{
// set default args
auto warn = armarx::core::time::Duration::MilliSeconds(p.maximumCycleTimeWarningMS);
auto err = armarx::core::time::Duration::MilliSeconds(p.maximumCycleTimeErrorMS);
armarx::core::time::toIce(defaultHeartbeatArgs.maximumCycleTimeWarning, warn);
armarx::core::time::toIce(defaultHeartbeatArgs.maximumCycleTimeError, err);
}
void
......
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