~mrol-dev/mrol/trunk

« back to all changes in this revision

Viewing changes to mrol_mapping/mapper.py

  • Committer: Vikas Dhiman
  • Date: 2012-03-12 19:10:56 UTC
  • Revision ID: wecacuee@gmail.com-20120312191056-31xyar8xpyhwgxwb
Fixed doc test in occupancy_list.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import quantizer
21
21
import time
22
22
 
23
 
debug = False
 
23
debug = True
24
24
_map_resolution_levels = 4 # number of different levels of resolution
25
25
 
26
26
def loadmap(fname):
176
176
    def get_voxels(self, level=-1):
177
177
        '''Returns the (almost) raw voxel information together
178
178
        with the resolution of the voxelisation.'''
179
 
        import pdb; pdb.set_trace()
 
179
        #import pdb; pdb.set_trace()
180
180
        voxels = self.mrol.getvoxels(level=level)
181
181
        resolution = self.mrol.getresolution(level=level)
182
182
        return voxels[0], voxels[1], resolution