capture_poses.py
Go to the documentation of this file.
00001 import numpy as np, math
00002 
00003 X,Y = np.meshgrid( np.arange(0.0,11.0), np.arange(0.0,7.0) )
00004 xy = np.column_stack([ X.flatten(), Y.flatten() ])
00005 
00006 cap = ''
00007 for i in xy:
00008     for j in [0.0, 90.0, 180.0, 270.0]:
00009     # for j in [0.0, 180.0]:
00010         cap +=  '    - [%6.1f, %6.1f, %6.1f]\n' % (i[0],i[1],j)
00011 
00012 f = open( 'captures.yaml', 'w' )
00013 f.write( cap )
00014 f.close()


rfid_datacapture
Author(s): Travis Deyle
autogenerated on Wed Nov 27 2013 12:11:16