Skip to content
Snippets Groups Projects
Commit 35c2addf authored by Manfred Kröhnert's avatar Manfred Kröhnert
Browse files

MotionControl: fix usage of getLocal()

parent 80fd0460
No related branches found
No related tags found
No related merge requests found
......@@ -320,7 +320,7 @@ void MoveTCPTrajectory::onEnter()
void MoveTCPTrajectory::onExit()
{
removeTimeoutEvent(timeoutEvent);
ChannelRefPtr r = getLocal<ChannelRefPtr>("trajectoryPointCounterID");
ChannelRefPtr r = getLocal<ChannelRef>("trajectoryPointCounterID");
getContext()->systemObserverPrx->removeCounter(r);
//removeCounterEvent(trajectoryPointCounterID);
}
......
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