Skip to content
Snippets Groups Projects
Unverified Commit 3be8e105 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #72 from nim65s/devel

Format: yapf 0.32
parents 3cfefb61 906e28c6
No related branches found
No related tags found
No related merge requests found
Pipeline #17389 passed
......@@ -7,6 +7,7 @@ class TestRegistration(unittest.TestCase):
ref https://github.com/stack-of-tasks/eigenpy/issues/83
ref https://gitlab.laas.fr/loco-3d/curves/-/issues/6
"""
def test_pinocchio_then_curves(self):
import pinocchio
import ndcurves
......
......@@ -31,6 +31,7 @@ def createWaypointList(waypoints):
class varBezier:
"""waypoints is a list that contains either 3d arrays (constants), or a string "variable" """
def __init__(self, waypoints=None, time=1.):
if waypoints is None:
mat, vec = createWaypointList(waypoints)
......
......@@ -8,6 +8,7 @@ from numpy import array, array_equal
class ConstantCurveTest(unittest.TestCase):
def test_constructor(self):
# default constructor
c = constant()
......@@ -113,6 +114,7 @@ class ConstantCurveTest(unittest.TestCase):
class Constant3CurveTest(unittest.TestCase):
def test_constructor(self):
# default constructor
c = constant()
......
......@@ -8,6 +8,7 @@ from numpy import array
class CurveConstraintsTest(unittest.TestCase):
def test_operator_equal(self):
c = curve_constraints(3)
c.init_vel = array([[0., 1., 1.]]).transpose()
......
......@@ -8,6 +8,7 @@ from numpy import array, isclose
class MinJerkCurveTest(unittest.TestCase):
def test_constructors(self):
# constructor from two points
init = array([1, 23., 5., 9, -5])
......
......@@ -8,6 +8,7 @@ from numpy import array, isclose
class SinusoidalCurveTest(unittest.TestCase):
def test_constructor(self):
# default constructor
c = sinusoidal()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment