Exemple #1
0
def error(T1, T2):
    """Returns a 6D "difference vector" that describes how far T1 is from T2.
    More precisely, this is the Lie derivative (w,v)."""
    (R1, t1) = T1
    (R2, t2) = T2
    #concatenate lists
    return so3.error(R1, R2) + vectorops.sub(t1, t2)
Exemple #2
0
def error(T1,T2):
    """Returns a 6D "difference vector" that describes how far T1 is from T2.
    More precisely, this is the Lie derivative (w,v)."""
    (R1,t1)=T1
    (R2,t2)=T2
    #concatenate lists
    return so3.error(R1,R2) + vectorops.sub(t1,t2)
Exemple #3
0
 def difference(self,a,b):
     w = so3.error(a,b)
     return so3.cross_product(w)
Exemple #4
0
 def distance(self,a,b):
     return vectorops.norm(so3.error(a,b))
Exemple #5
0
 def difference(self, a, b):
     w = so3.error(a, b)
     return so3.cross_product(w)
Exemple #6
0
 def distance(self, a, b):
     return vectorops.norm(so3.error(a, b))