~wecacuee/mrol/mrol-dev

« back to all changes in this revision

Viewing changes to mrol_mapping/pointcloud.py

  • Committer: Vikas Dhiman
  • Date: 2012-05-22 15:26:38 UTC
  • Revision ID: wecacuee@gmail.com-20120522152638-j6srlkgrpdq4kdfe
Added support for userdata in terms of colored voxels. Added benchmark test and corresponding data

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        self.RGB = False # set if the point cloud has RGB data associated
77
77
        self.add_points(arr, timestamp)
78
78
        self.pose = None
 
79
        self.userdata = None
79
80
 
80
81
    def __eq__(self, pc, tol=0.00001):
81
82
        # TODO pick a proper value for this tol, like np.allclose