euslisp / jskeus

This repository contains EusLisp software developed and used by JSK at The University of Tokyo
23 stars 55 forks source link

convex-hull-3dでエラーになる [sf#17] #15

Open k-okada opened 10 years ago

k-okada commented 10 years ago

This post was originally posted at http://sourceforge.net/p/jskeus/tickets/17

(convex-hull-3d (flatten (mapcar

'(lambda (l)

                 (print l)
                 (send-all (send l :bodies) :worldcoords)
                 (send-all (send l :bodies) :vertices)
                 )
             (list (elt (send _pr2_ :rarm :gripper :links) 0)))))

とすると, /irteusgl 0 error: float vector expected in (send #:inst31879 :init :faces geometry::faces :edges geometry::edges :vertices geometry::vertices :primitive (list :convex-hull geometry::vertices)) というエラーになります.

条件は詰め切れていないんですが,最終的にconvex-hull-3dの最後の (setq body (instance body-class :init :faces faces :edges edges :vertices vertices :primitive (list :convex-hull vertices )))

の_edges_でsend e :set-angleしようとしてエラーになります.

k-okada commented 10 years ago

[r607]でprimtpatch.l のconvex-hull-3d-oldの一部にアップデートしました.上の例題は解けていますが,どれぐらい解けるかはわかりません.