From fd8226bfea18ea5f71bd8ff77c02a6c8cad28f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Sandstr=C3=B6m?= Date: Thu, 18 Jun 2020 22:13:21 +0200 Subject: [PATCH] Use correct deceleration at motor record JOG. --- devEcmcSup/motion/ecmcAxisBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devEcmcSup/motion/ecmcAxisBase.cpp b/devEcmcSup/motion/ecmcAxisBase.cpp index 5b159ac7..b314a019 100644 --- a/devEcmcSup/motion/ecmcAxisBase.cpp +++ b/devEcmcSup/motion/ecmcAxisBase.cpp @@ -1394,7 +1394,7 @@ int ecmcAxisBase::moveVelocity( getSeq()->setTargetVel(velocitySet); getTraj()->setAcc(accelerationSet); - getTraj()->setAcc(decelerationSet); + getTraj()->setDec(decelerationSet); errorCode = setExecute(1); if (errorCode) {