From 72300c0cd2d58bdb22cb20c3e1763a1028128afd Mon Sep 17 00:00:00 2001
From: Rohan Budhiraja <proyan@users.noreply.github.com>
Date: Tue, 22 Aug 2017 18:33:23 +0200
Subject: [PATCH] [sot_loader] new mapping for joint controls is called
 "control"

---
 src/sot_loader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sot_loader.cpp b/src/sot_loader.cpp
index 411ed6c..1b9071c 100644
--- a/src/sot_loader.cpp
+++ b/src/sot_loader.cpp
@@ -102,7 +102,7 @@ SotLoader::readControl(map<string,dgs::ControlValues> &controlValues)
 
   
   // Update joint values.
-  angleControl_ = controlValues["joints"].getValues();
+  angleControl_ = controlValues["control"].getValues();
 
   //Debug
   std::map<std::string,dgs::ControlValues>::iterator it = controlValues.begin();
-- 
GitLab