Commit 13da911b authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub

Merge pull request #891 from jcarpent/devel

test/python: set default converter for Eigen::Matrix objects
parents acb40c65 571d176d
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import np, npl, rand, skew, zero
from test_case import TestCase
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
from pinocchio.utils import eye,zero,rand,skew
......
import unittest
from test_case import TestCase
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import rand, zero
import numpy as np
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import *
from numpy.linalg import norm
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
from test_case import TestCase
......
import unittest
from test_case import TestCase
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import rand, zero
import numpy as np
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
from pinocchio.utils import zero,rand
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
class TestFrameBindings(unittest.TestCase):
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
class TestGeometryModelBindings(unittest.TestCase):
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
@unittest.skipUnless(pin.WITH_FCL_SUPPORT(),"Needs FCL")
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import os
@unittest.skipUnless(pin.WITH_URDFDOM_SUPPORT(),"Needs URDFDOM")
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
from pinocchio.utils import eye,zero,rand,skew
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
class TestJointCompositeBindings(unittest.TestCase):
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
import numpy as np
from pinocchio.utils import zero,rand
......
import unittest
from test_case import TestCase
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import rand, zero
import numpy as np
......
......@@ -3,6 +3,7 @@ import math
import numpy as np
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import rand, zero, eye
from pinocchio.explog import exp, log
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import np, zero
from test_case import TestCase
......
......@@ -2,6 +2,9 @@ import unittest
from math import pi
import numpy as np
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.rpy import matrixToRpy, npToTuple, rotate, rpyToMatrix
from test_case import TestCase
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
from test_case import TestCase
......
import unittest
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import isapprox
def tracefunc(frame, event, arg):
......
......@@ -3,6 +3,7 @@ from math import sqrt
import numpy as np
import pinocchio as pin
pin.switchToNumpyMatrix()
from pinocchio.utils import cross, isapprox
from test_case import TestCase
......
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