~mrol-dev/mrol/trunk

« back to all changes in this revision

Viewing changes to mrol_mapping/trajectory.py

  • Committer: Julian Ryde
  • Date: 2012-02-29 04:28:57 UTC
  • mto: (16.1.12 trunk) (29.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: julian_ryde-20120229042857-2omi9vjjezsdenif
Trying to improve the speed of transformPoints by combining operations. Refactor of transformPoints and related functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    #        guess_pose = key_pose
45
45
    #    assert traj_ts > 0, "no valid trajectory timestamps to align against"
46
46
    #    traj_points = self.trajectory[key_pose][0]
47
 
    #    traj_points = poseutil.transformPointsTuple(traj_points,key_pose)
 
47
    #    traj_points = poseutil.transformPoints(traj_points,key_pose)
48
48
    #    for lev in range(levels)[::-1]:
49
49
    #        resolution = pow(2,lev)*self.res
50
50
    #        if self.verbose > 1: