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