b5a00e15cbb75823327f1e58c2f586535e68f0ea,data/kitti_raw_loader.py,KittiRawLoader,collect_scenes,#KittiRawLoader#Any#,130

Before Change


                R, t = pose_from_oxts_packet(metadata[:6], scale, imu2cam)
                if origin is None:
                    origin = t
                if orientation is None:
                    orientation = R

                // Combine the translation and rotation into a homogeneous transform
                pose = np.concatenate([np.linalg.inv(orientation) @ R, t-origin], axis=1)
                scene_data["pose"].append(pose)

            sample = self.load_image(scene_data, 0)

After Change


                if origin is None:
                    origin = pose_matrix

                odo_pose = imu2cam @ np.linalg.inv(origin) @ pose_matrix @ np.linalg.inv(imu2cam)
                scene_data["pose"].append(odo_pose[:3])

            sample = self.load_image(scene_data, 0)
            if sample is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ClementPinard/SfmLearner-Pytorch
Commit Name: b5a00e15cbb75823327f1e58c2f586535e68f0ea
Time: 2018-04-20
Author: clement.pinard@parrot.com
File Name: data/kitti_raw_loader.py
Class Name: KittiRawLoader
Method Name: collect_scenes


Project Name: geomstats/geomstats
Commit Name: d496aaefc795e176b615815e9f30f335860f013b
Time: 2018-01-22
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_exp


Project Name: metric-learn/metric-learn
Commit Name: c1c2b1408098c92d8c8839692720ffc59563ff10
Time: 2017-08-03
Author: perimosocordiae@gmail.com
File Name: metric_learn/lsml.py
Class Name: LSML
Method Name: _prepare_inputs