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