Skip to content

Commit fee8b25

Browse files
Naoki-Hiraokak-okada
authored andcommitted
[irteus/irtmodel.l] fix jsk-ros-pkg/jsk_pr2eus#474
1 parent 190dfed commit fee8b25

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

irteus/irtmodel.l

+3-1
Original file line numberDiff line numberDiff line change
@@ -2575,7 +2575,9 @@
25752575
(dotimes (i (/ (length print-args) 2)) ;; escape list
25762576
(unless (eq (elt print-args (* 2 i)) :move-target) ;; neglect :move-target because move-target is fixed later
25772577
(escape-list print-args (+ 1 (* 2 i)))))
2578-
(dotimes (i (length print-args)) (escape-robot-link print-args i)) ;; escape robot link
2578+
(dotimes (i (/ (length print-args) 2)) ;; escape list
2579+
(unless (eq (elt print-args (* 2 i)) :move-target) ;; neglect :move-target because move-target is fixed later
2580+
(escape-robot-link print-args (+ 1 (* 2 i))))) ;; escape robot link
25792581
(dotimes (j (count :move-target print-args)) ;; escape move-target
25802582
(if (setq i (position :move-target print-args :count (1+ j)))
25812583
(cond ((atom (elt print-args (+ i 1)))

0 commit comments

Comments
 (0)