784586f02d063d39360a287422a6384f30f10d12,liegroups/se2.py,SE2,wedge,#Any#Any#,51

Before Change


        This is the inverse operation to SE2.vee.
        
        if len(xi) != cls.dof:
            raise ValueError("xi must have length 3")

        return np.vstack(
            [np.hstack([SO2.wedge(xi[2]),
                        np.reshape(xi[0:2], (2, 1))]),

After Change


            raise ValueError(
                "xi must have shape ({},) or (N,{})".format(cls.dof, cls.dof))

        Xi = np.zeros([xi.shape[0], cls.dof, cls.dof])
        Xi[:, 0:2, 0:2] = SO2.wedge(xi[:, 2])
        Xi[:, 0:2, 2] = xi[:, 0:2]

        return np.squeeze(Xi)

    @classmethod
    def vee(cls, Xi):
        SE(2) vee operator as defined by Barfoot.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


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: wedge


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/se3.py
Class Name: SE3
Method Name: wedge