Revision 51652484104b0938d723fd25ee8a3a96e2022d52 authored by Samuel Evan Root on 06 November 2016, 18:10:04 UTC, committed by Samuel Evan Root on 06 November 2016, 18:10:04 UTC
1 parent 99a7f7d
Raw File
Joint.pyc
ó
5ôXc@s&ddlZdefd„ƒYZdS(iÿÿÿÿNtJointcBs&eZdZeed„Zd„ZRS(s2
    Class defining a joint on the hand model
    cCsÃ||_||_||_t|_||_t|_|jjGH|jjGH|jj|jj}|t	j
j|ƒ|_|jj|jj}|t	j
j|jj|jjƒ|_
dGHdS(Ns------------------(tMastertSlave1tSlave2tTruetExtendedtMetatFalsetThumbtPositiontnptlinalgtnormtVec1tVec2(tselfRRRRRR
R((s,/Users/seroot/Desktop/Research/Hand/Joint.pyt__init__s						)cCsà|js(tj|ƒ}tj|ƒ}|jjd|jjd}|jjd|jjd}|||||jjd|jjd<|||||jjd|jjd<|jj|jj}|tjj|ƒ|_	|jj|j
j}|tjj|jj|j
jƒ|_n´tj|ƒ}tj|ƒ}|jjd|jjd}|jjd|jjd}|||||jjd|jjd<|||||jjd|jjd<|jj|jj}|tjj|ƒ|_	|jj|j
j}|tjj|jj|j
jƒ|_|jjd|jjd}|jjd|jjd}|||||jjd|jjd<|||||jjd|jjd<|j
GHdS(Nii(RR
tcostsinRR	RRRR
RRt
Meta_SlaveR(RtAngletCtStyttztR
R((s,/Users/seroot/Desktop/Research/Hand/Joint.pytRotates8	**)**)**(t__name__t
__module__t__doc__RRR(((s,/Users/seroot/Desktop/Research/Hand/Joint.pyRs(tnumpyR
tobjectR(((s,/Users/seroot/Desktop/Research/Hand/Joint.pyt<module>s
back to top