784586f02d063d39360a287422a6384f30f10d12,liegroups/se3.py,SE3,vee,#Any#Any#,92

Before Change


        This is the inverse operation to SE3.wedge.
        
        if Xi.shape != (cls.dim, cls.dim):
            raise ValueError("Xi must have shape (4,4)")

        return np.hstack([Xi[0:3, 3], SO3.vee(Xi[0:3, 0:3])])

    @classmethod

After Change



        This is the inverse operation to SE3.wedge.
        
        if Xi.ndim < 3:
            Xi = np.expand_dims(Xi, axis=0)

        if Xi.shape[1:3] != (cls.dim, cls.dim):
            raise ValueError("Xi must have shape ({},{}) or (N,{},{})".format(
                cls.dim, cls.dim, cls.dim, cls.dim))

        xi = np.empty([Xi.shape[0], cls.dof])
        xi[:, 0:3] = Xi[:, 0:3, 3]
        xi[:, 3:6] = SO3.vee(Xi[:, 0:3, 0:3])
        return np.squeeze(xi)

    @classmethod
    def odot(cls, p, **kwargs):
        SE(3) \odot operator as defined by Barfoot.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 28

Instances


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/se3.py
Class Name: SE3
Method Name: vee


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/se3.py
Class Name: SE3
Method Name: vee


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/se2.py
Class Name: SE2
Method Name: vee


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/so3.py
Class Name: SO3
Method Name: vee