Skip to content

Commit 190dfed

Browse files
committed
add test code for #611,
segfault when move-target is not included in links
1 parent 2fd596e commit 190dfed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

irteus/test/test-irt-motion.l

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,6 +1287,11 @@
12871287
)
12881288
)))
12891289

1290+
;; test for https://github.com/jsk-ros-pkg/jsk_pr2eus/issues/474, https://github.com/euslisp/jskeus/pull/611
1291+
(deftest segfault-with-move-target-within-link
1292+
(let ((robot (instance sample-robot :init)))
1293+
(assert (null (send robot :rarm :inverse-kinematics (make-coords) :move-target (send robot :link :rleg-link5))))))
1294+
12901295
(eval-when (load eval)
12911296
(run-all-tests)
12921297
(exit 0))

0 commit comments

Comments
 (0)