Commit 08faf1f3 authored by Francois Keith's avatar Francois Keith
Browse files

Correct import pathes and robot name in the scripts.

parent ceecf76a
......@@ -24,9 +24,10 @@ 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 robotSpecific import pkgDataRootDir,modelName,robotDimension,initialConfig,gearRatio,inertiaRotor
from dynamic_graph.sot.dyninv.robot_specific import pkgDataRootDir,modelName,robotDimension,initialConfig
from dynamic_graph.sot.dyninv.robot_specific import gearRatio,inertiaRotor,halfSittingConfig
# --- ROBOT SIMU ---------------------------------------------------------------
# --- ROBOT SIMU ---------------------------------------------------------------
......@@ -38,7 +39,6 @@ robot = RobotSimu("robot")
robot.resize(robotDim)
dt=5e-3
from robotSpecific import halfSittingConfig
x0=-0.00949035111398315034
y0=0
z0=0.64870185118253043 #0.6487018512
......
......@@ -36,7 +36,7 @@ from dynamic_graph.sot.core.utils.viewer_helper import addRobotViewer,VisualPing
robotName = 'romeo'
robotDim = robotDimension[robotName]
RobotClass = RobotDynSimu
robot = RobotClass("robot")
robot = RobotClass("romeo")
robot.resize(robotDim)
addRobotViewer(robot,small=True,small_extra=24,verbose=False)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment