~mrol-dev/mrol/trunk

« back to all changes in this revision

Viewing changes to mrol_mapping/mapper.py

  • Committer: Julian Ryde
  • Date: 2012-03-04 17:10:07 UTC
  • mto: (16.1.12 trunk) (29.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: julian_ryde-20120304171007-hfbttvxk2nhmqoad
Changed some functions to take pose objects rather than pose tuples.  Tidied up cost_min so it considers quantised pose steps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
 
304
304
        xyzs = xyzs.points[:,:3]
305
305
        bestpose, cost = self.mrol.optimise_alignment(xyzs, guess_pose, full_data=full_data)
306
 
        bestpose = poseutil.Pose3D(bestpose)
307
306
        return bestpose, cost
308
307
        
309
308
    #def align_points_to_map(self, xyzs, guess_pose):