Skip to content

Commit 0821e72

Browse files
committed
test for jointdynamics
1 parent 0983b36 commit 0821e72

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tests/test_SerialLink.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,14 @@ def test_payload(self):
372372

373373
def test_jointdynamics(self):
374374
# TODO
375-
panda = rp.models.DH.Panda()
376-
panda.jointdynamics(1, 2)
377-
pass
375+
self.skipTest("error jointdynamics not complete")
376+
# error in the J value
377+
puma = rp.models.DH.Puma560()
378+
jd = puma.jointdynamics(puma.qn)
379+
nt.assert_array_almost_equal(jd[0], [0.001133478453251, 0.001480000000000])
380+
nt.assert_array_almost_equal(jd[1], [0.579706964030143e-3, 0.817000000000000e-3])
381+
nt.assert_array_almost_equal(jd[2], [0.000525146448377, 0.001380000000000])
382+
378383

379384
def test_twists(self):
380385
# TODO

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy