Skip to content
Snippets Groups Projects
Commit 5baee295 authored by Simon Ottenhaus's avatar Simon Ottenhaus
Browse files

fixed wrong data type causing exception

parent 1974831a
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ void ForceTorqueObserver::onConnectObserver()
debugDrawer = getTopic<DebugDrawerInterfacePrx>("DebugDrawerUpdates");
if (getProperty<bool>("VisualizeForce").getValue())
{
visualizerTask = new PeriodicTask<ForceTorqueObserver>(this, &ForceTorqueObserver::visualizerFunction, getProperty<bool>("VisualizeForceUpdateFrequency").getValue(), false, "visualizerFunction");
visualizerTask = new PeriodicTask<ForceTorqueObserver>(this, &ForceTorqueObserver::visualizerFunction, getProperty<int>("VisualizeForceUpdateFrequency").getValue(), false, "visualizerFunction");
visualizerTask->start();
}
......
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