From 7dba20cd8a9651ad0143f844c2e72f96ab1a3516 Mon Sep 17 00:00:00 2001
From: Mansard <nmansard@laas.fr>
Date: Fri, 18 Jan 2013 11:27:20 +0100
Subject: [PATCH] Minor modifs of the 2013_coursens scripts.

---
 python/2013_coursens/p105_demo.py | 3 ---
 python/2013_coursens/p105_walk.py | 3 +--
 python/2013_coursens/p124_sing.py | 3 ---
 python/2013_coursens/p96_sing.py  | 3 ---
 4 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/python/2013_coursens/p105_demo.py b/python/2013_coursens/p105_demo.py
index e7f5952..7767890 100644
--- a/python/2013_coursens/p105_demo.py
+++ b/python/2013_coursens/p105_demo.py
@@ -2,10 +2,7 @@
 # ******************************************************************************
 # ______________________________________________________________________________
 # ******************************************************************************
-import sys
-execfile('/home/nmansard/.pythonrc')
 
-sys.path.append('..')
 from dynamic_graph import plug
 from dynamic_graph.sot.core import *
 from dynamic_graph.sot.core.math_small_entities import Derivator_of_Matrix
diff --git a/python/2013_coursens/p105_walk.py b/python/2013_coursens/p105_walk.py
index e139e7a..e338bab 100644
--- a/python/2013_coursens/p105_walk.py
+++ b/python/2013_coursens/p105_walk.py
@@ -3,7 +3,6 @@
 # ______________________________________________________________________________
 # ******************************************************************************
 
-sys.path.append('..')
 from dynamic_graph import plug
 from dynamic_graph.sot.core import *
 from dynamic_graph.sot.core.math_small_entities import Derivator_of_Matrix
@@ -21,7 +20,7 @@ from dynamic_graph.sot.core.utils.viewer_helper import addRobotViewer,VisualPing
 from dynamic_graph.sot.core.utils.attime import attime,ALWAYS,refset,sigset
 from numpy import *
 
-from history import History
+from dynamic_graph.sot.core.utils.history import History
 
 from dynamic_graph.sot.dyninv.robot_specific import pkgDataRootDir,modelName,robotDimension,initialConfig,gearRatio,inertiaRotor
 
diff --git a/python/2013_coursens/p124_sing.py b/python/2013_coursens/p124_sing.py
index 625c5f7..155ef36 100644
--- a/python/2013_coursens/p124_sing.py
+++ b/python/2013_coursens/p124_sing.py
@@ -2,10 +2,7 @@
 # ******************************************************************************
 # ______________________________________________________________________________
 # ******************************************************************************
-import sys
-execfile('/home/nmansard/.pythonrc')
 
-sys.path.append('..')
 from dynamic_graph import plug
 from dynamic_graph.sot.core import *
 from dynamic_graph.sot.core.math_small_entities import Derivator_of_Matrix
diff --git a/python/2013_coursens/p96_sing.py b/python/2013_coursens/p96_sing.py
index 4c9aaf6..5e8bd4b 100644
--- a/python/2013_coursens/p96_sing.py
+++ b/python/2013_coursens/p96_sing.py
@@ -2,10 +2,7 @@
 # ******************************************************************************
 # ______________________________________________________________________________
 # ******************************************************************************
-import sys
-execfile('/home/nmansard/.pythonrc')
 
-sys.path.append('..')
 from dynamic_graph import plug
 from dynamic_graph.sot.core import *
 from dynamic_graph.sot.core.math_small_entities import Derivator_of_Matrix
-- 
GitLab