From 5dda0be3e4d8898e9dceb920184271add56e5645 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Sat, 17 Feb 2018 00:26:18 +0900 Subject: [PATCH] pid reset to default value on module closure --- src/positionControl-accuracy/PositionControlAccuracy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/positionControl-accuracy/PositionControlAccuracy.cpp b/src/positionControl-accuracy/PositionControlAccuracy.cpp index 779c9ad4..4e6d457b 100644 --- a/src/positionControl-accuracy/PositionControlAccuracy.cpp +++ b/src/positionControl-accuracy/PositionControlAccuracy.cpp @@ -298,6 +298,7 @@ void PositionControlAccuracy::run() } yInfo() << "Saving file to: "<< filename; saveToFile(filename, m_dataToSave); + ipid->setPid(VOCAB_PIDTYPE_POSITION,m_jointsList[i],m_orig_pid); } //joint loop //data acquisition ends here