Skip to content
Snippets Groups Projects
Commit a4f55661 authored by Jayant Khatkar's avatar Jayant Khatkar
Browse files

first print of 2x octopuses complete (implement #19)

parent 52e63588
No related merge requests found
......@@ -662,14 +662,14 @@ class KeyboardController(Controller):
if __name__=="__main__":
con = KeyboardController(disableExtruder=True)
#con = KeyboardController(disableExtruder=True)
#con = KeyboardController()
#con1 = KeyboardController(robot=1)
#con2 = KeyboardController(robot=1, disableExtruder=True)
con1 = KeyboardController(robot=1)
con2 = KeyboardController(robot=2, disableExtruder=True)
print('Collecting configrations...')
configuations = con.prompt_configurations()
#configuations = con1.prompt_configurations()
#configuations = con2.prompt_configurations()
#configuations = con.prompt_configurations()
configuations = con1.prompt_configurations()
configuations = con2.prompt_configurations()
print('Your configurations:')
print(configuations)
......@@ -83,7 +83,7 @@ def execute_plan(plan,
if __name__ == '__main__':
plan1 = load_plan('origin')
calibration_test = load_plan('r1_cal_test')
calibration_test = load_plan('r2_cal_test')
plan2, flexirex_contours = load_plan('flexirex', contours=True)
# Printing
......
......@@ -116,9 +116,9 @@ def execute_plan(plan,
if __name__ == '__main__':
plan2arms = load_plan('octox2')
plan2arms, octo_contours = load_plan('octox2', contours=True)
r1_con = Controller(disable_extruder=True, robot=1)
r2_con = Controller(disable_extruder=True, robot=2)
r1_con = Controller(robot=1)
r2_con = Controller(robot=2)
execute_plan(plan2arms, r1_con, r2_con, move_speed=0.5)
execute_plan(plan2arms, r1_con, r2_con, move_speed=0.25, contours=octo_contours)
This diff is collapsed.
No preview for this file type
No preview for this file type
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment