Made some notes for tomorrow
This commit is contained in:
parent
e0639b2663
commit
5a0b1fbaf7
@ -50,13 +50,32 @@ def test_movec_hax(controller):
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
dummy = raw_input('Press any key to continue...')
|
dummy = raw_input('Press any key to continue...')
|
||||||
|
|
||||||
|
def test_movec_hax2(controller):
|
||||||
|
controller.movec_hax(config.R_MIN, config.TABLE_EDGE_RIGHT, config.Z_MIN)
|
||||||
|
print 'Right edge.'
|
||||||
|
dummy = raw_input('Press any key to continue...')
|
||||||
|
|
||||||
|
controller.movec_hax(config.R_MIN, 0, config.Z_MIN+0.3)
|
||||||
|
print 'Middle.'
|
||||||
|
time.sleep(1)
|
||||||
|
dummy = raw_input('Press any key to continue...')
|
||||||
|
|
||||||
|
# NOTE: current R_MIN+0.1=0.7 is where the tooltip is at the edge
|
||||||
|
controller.movec_hax(config.R_MIN+0.1, config.TABLE_EDGE_LEFT, config.Z_MIN+0.1)
|
||||||
|
print 'Left edge.'
|
||||||
|
time.sleep(1)
|
||||||
|
dummy = raw_input('Press any key to continue...')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
controller = None
|
controller = None
|
||||||
try:
|
try:
|
||||||
controller = DemoController(config)
|
controller = DemoController(config)
|
||||||
#check_edges(controller)
|
#check_edges(controller)
|
||||||
test_movec_hax(controller)
|
test_movec_hax2(controller)
|
||||||
|
|
||||||
|
# NEXT: test radial params and arbitrary paths.
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print e
|
print e
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user