Esempio n. 1
0
 def anti(a, b):
     q1 = motions[a]
     q2 = motions[b]
     return SE2.distance(q1, SE2.inverse(q2))
Esempio n. 2
0
 def same(a, b):
     q1 = motions[a]
     q2 = motions[b]
     return SE2.distance(q1, q2)
Esempio n. 3
0
 def commuting(a, b):
     q1 = motions[a]
     q2 = motions[b]
     return SE2.distance(SE2.multiply(q1, q2), SE2.multiply(q2, q1))
Esempio n. 4
0
 def anti(a, b):
     q1 = motions[a]
     q2 = motions[b]
     return SE2.distance(q1, SE2.inverse(q2))     
Esempio n. 5
0
 def same(a, b):
     q1 = motions[a]
     q2 = motions[b]
     return SE2.distance(q1, q2)
Esempio n. 6
0
 def commuting(a, b):
     q1 = motions[a]
     q2 = motions[b]
     return SE2.distance(SE2.multiply(q1, q2),
                         SE2.multiply(q2, q1))