Commit 53296bde authored by Guilhem Saurel's avatar Guilhem Saurel

[Python 3] fix relative import

parent 2d3aa5c2
import numpy as np
from numpy import cos, sin, sqrt
from dynamic import DynamicPinocchio as DynamicCpp
from .dynamic import DynamicPinocchio as DynamicCpp
# DynamicOld = Dynamic
......
......@@ -6,8 +6,9 @@ from __future__ import print_function
from functools import reduce
from dynamic_graph import plug
from dynamic_graph.sot.core import OpPointModifier, RobotSimu
from dynamic_graph.sot.core.derivator import Derivator_of_Vector
from dynamic_graph.sot.core.op_point_modifier import OpPointModifier
from dynamic_graph.sot.core.robot_simu import RobotSimu
from dynamic_graph.sot.dynamic_pinocchio import DynamicPinocchio
from dynamic_graph.sot.dynamic_pinocchio.parser import Parser
from dynamic_graph.tools import addTrace
......
......@@ -7,12 +7,6 @@
# ******************************************************************************
import pinocchio as pin
from dynamic_graph import plug
from dynamic_graph.sot.core import SOT
from dynamic_graph.sot.core.matrix_util import matrixToTuple
from dynamic_graph.sot.core.meta_tasks_kine import MetaTaskKine6d, MetaTaskKineCom, gotoNd
from dynamic_graph.sot.dynamic_pinocchio import fromSotToPinocchio
from dynamic_graph.sot.dynamic_pinocchio.humanoid_robot import HumanoidRobot
from numpy import eye
# -----------------------------------------------------------------------------
# ------------------------------------------------------------------------------
......@@ -22,6 +16,13 @@ from numpy import eye
# -----------------------------------------------------------------------------
from pinocchio.robot_wrapper import RobotWrapper
from dynamic_graph import plug
from dynamic_graph.sot.core.matrix_util import matrixToTuple
from dynamic_graph.sot.core.meta_tasks_kine import (MetaTaskKine6d, MetaTaskKineCom, gotoNd)
from dynamic_graph.sot.core.sot import SOT
from dynamic_graph.sot.dynamic_pinocchio import fromSotToPinocchio
from dynamic_graph.sot.dynamic_pinocchio.humanoid_robot import HumanoidRobot
# -----------------------------------------------------------------------------
# SET THE PATH TO THE URDF AND MESHES
# Define robotName, urdfpath and initialConfig
......
Markdown is supported
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