From 35c2addfe3b8c301ec81fb41666c697a2efef797 Mon Sep 17 00:00:00 2001 From: Manfred Kroehnert <Manfred.Kroehnert@kit.edu> Date: Tue, 17 Sep 2013 18:40:14 +0200 Subject: [PATCH] MotionControl: fix usage of getLocal() --- source/RobotAPI/motioncontrol/MotionControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/RobotAPI/motioncontrol/MotionControl.cpp b/source/RobotAPI/motioncontrol/MotionControl.cpp index ef91d7dd4..235c13c20 100644 --- a/source/RobotAPI/motioncontrol/MotionControl.cpp +++ b/source/RobotAPI/motioncontrol/MotionControl.cpp @@ -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); } -- GitLab