Commit f29a4c68 authored by Jayant Khatkar's avatar Jayant Khatkar

first full run (#64)

parent 0cf1bb73
......@@ -4,19 +4,228 @@ Runnning for model Ernesto_Che_Guevara_in_style_Voronoi-ascii
----
Reading Gcode file
Running Dec-MCTS planner
FAILED TO COMPLETE DEC_MCTS ON MODEL Ernesto_Che_Guevara_in_style_Voronoi-ascii
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model Ernesto_Che_Guevara_in_style_Voronoi-ascii
Runnning for model 4WD_Shift_collar_-_Scaled-ascii
----
Reading Gcode file
Running Dec-MCTS planner
FAILED TO COMPLETE DEC_MCTS ON MODEL 4WD_Shift_collar_-_Scaled-ascii
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model Base_145x145mm_12holes-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model bp_FJ6309_BP23248_FMA52740_Ethmoid_fixed-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
FAILED TO COMPLETE GREEDY ON MODEL bp_FJ6309_BP23248_FMA52740_Ethmoid_fixed-ascii
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model entrapment2
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model finalraptornormaltail-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
FAILED TO COMPLETE GREEDY ON MODEL finalraptornormaltail-ascii
Running Zone Blocking planner
FAILED TO COMPLETE ZONE BLOCKING ON MODEL finalraptornormaltail-ascii
####################################
Runnning for model four_screws-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model ir_sensor_main-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model Kitchen_sponge_holder_small-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
FAILED TO COMPLETE GREEDY ON MODEL Ernesto_Che_Guevara_in_style_Voronoi-ascii
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model mano_derch_right_hand-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model NEW_CORNER-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model orb_half_2-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model plannet_X_3
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model prop_v2-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model repaird_version._if_given_instructions_give_errors_3D_printed_Marble_Machine_2-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model Skulptur_012-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model Top-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model V1_Front
----
Reading Gcode file
Running Dec-MCTS planner
FAILED TO COMPLETE DEC_MCTS ON MODEL V1_Front
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model wind_wheel
----
Reading Gcode file
Running Dec-MCTS planner
FAILED TO COMPLETE DEC_MCTS ON MODEL wind_wheel
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model zaa-ascii
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
####################################
Runnning for model flexirex
----
Reading Gcode file
Running Dec-MCTS planner
Dec-MCTS plan successfully created, saving plan and stats
Running Greedy planner
Greedy plan successfully created, saving plan and stats
Running Zone Blocking planner
Zone blocking plan successfully created, saving plan and stats
4WD_Shift_collar_-_Scaled-ascii:
every_nth_layer: 50
greedy:
planning_time: 248.04648566246033
print_time: '2136.9092555822976'
total_time: '2051.5132172082695'
zoneblocking:
planning_time: 0.003212451934814453
print_time: '0'
total_time: '0'
Base_145x145mm_12holes-ascii:
decmcts:
planning_time: 548.0587134361267
print_time: '2966.8706351401556'
total_time: '3363.827501695836'
every_nth_layer: 50
greedy:
planning_time: 120.92579364776611
print_time: '2966.8706351401565'
total_time: '2201.992079388948'
zoneblocking:
planning_time: 0.0038437843322753906
print_time: '0'
total_time: '0'
Ernesto_Che_Guevara_in_style_Voronoi-ascii:
decmcts:
planning_time: 526.853355884552
print_time: '2081.4001430572853'
total_time: '3583.6980511533625'
every_nth_layer: 20
planning_time: 527.0104742050171
print_time: '833.6113303658677'
total_time: '1071.2417581387417'
every_nth_layer: 50
greedy:
planning_time: 30.65012264251709
print_time: '833.6113303658678'
total_time: '619.4171475591089'
zoneblocking:
planning_time: 0.012465715408325195
print_time: '0'
total_time: '0'
Kitchen_sponge_holder_small-ascii:
decmcts:
planning_time: 236.77037978172302
print_time: '2104.703480845539'
total_time: '1424.9319627538457'
every_nth_layer: 50
greedy:
planning_time: 22.5665500164032
print_time: '2104.7034808455387'
total_time: '1215.5888389663821'
zoneblocking:
planning_time: 0.03427886962890625
print_time: '0'
total_time: '10'
NEW_CORNER-ascii:
decmcts:
planning_time: 167.83609342575073
print_time: '2233.381019803894'
total_time: '1638.843469361648'
every_nth_layer: 50
greedy:
planning_time: 90.48921990394592
print_time: '2233.381019803894'
total_time: '1552.5939874430694'
zoneblocking:
planning_time: 0.003814697265625
print_time: '0'
total_time: '0'
Skulptur_012-ascii:
decmcts:
planning_time: 42.90529799461365
print_time: '985.3570314532824'
total_time: '1002.147347413597'
every_nth_layer: 50
greedy:
planning_time: 11.972369194030762
print_time: '985.3570314532824'
total_time: '863.3641296420471'
zoneblocking:
planning_time: 0.0028841495513916016
print_time: '0'
total_time: '0'
Top-ascii:
decmcts:
planning_time: 891.8765835762024
print_time: '8813.311742799962'
total_time: '8809.754545722297'
every_nth_layer: 50
greedy:
planning_time: 1362.249165058136
print_time: '8813.31174279997'
total_time: '7916.28202146605'
zoneblocking:
planning_time: 0.007516384124755859
print_time: '0'
total_time: '0'
V1_Front:
every_nth_layer: 50
greedy:
planning_time: 90.4068763256073
print_time: '2344.1503161556925'
total_time: '1620.1571740712243'
zoneblocking:
planning_time: 0.00390934944152832
print_time: '0'
total_time: '0'
bp_FJ6309_BP23248_FMA52740_Ethmoid_fixed-ascii:
decmcts:
planning_time: 212.0136787891388
print_time: '2925.450465906622'
total_time: '2916.9510378911314'
every_nth_layer: 50
zoneblocking:
planning_time: 30.25228714942932
print_time: '576.2123974699655'
total_time: '587.4114876997073'
entrapment2:
decmcts:
planning_time: 168.0334358215332
print_time: '3378.7917379336404'
total_time: '3363.420773394101'
every_nth_layer: 50
greedy:
planning_time: 104.99572253227234
print_time: '3378.791737933641'
total_time: '3182.7980704020647'
zoneblocking:
planning_time: 0.0031876564025878906
print_time: '0'
total_time: '0'
finalraptornormaltail-ascii:
decmcts:
planning_time: 2933.117799282074
print_time: '1992.8125034954408'
total_time: '2447.053348017768'
every_nth_layer: 50
flexirex:
decmcts:
planning_time: 53.9430136680603
print_time: '37.47601253665581'
total_time: '283.19687529327655'
every_nth_layer: 50
greedy:
planning_time: 1.7581582069396973
print_time: '37.476012536655816'
total_time: '65.72601253665582'
zoneblocking:
planning_time: 0.0001842975616455078
print_time: '0'
total_time: '0'
four_screws-ascii:
decmcts:
planning_time: 117.03365349769592
print_time: '1831.6863341746734'
total_time: '1117.7038705612551'
every_nth_layer: 50
greedy:
planning_time: 16.286158561706543
print_time: '1831.6863341746734'
total_time: '1039.9559788119368'
zoneblocking:
planning_time: 0.002079010009765625
print_time: '0'
total_time: '0'
ir_sensor_main-ascii:
decmcts:
planning_time: 79.03400754928589
print_time: '518.5028907346898'
total_time: '598.8999752632523'
every_nth_layer: 50
greedy:
planning_time: 16.25504493713379
print_time: '518.5028907346897'
total_time: '448.2154426902397'
zoneblocking:
planning_time: 0.004309415817260742
print_time: '0'
total_time: '0'
mano_derch_right_hand-ascii:
decmcts:
planning_time: 88.75551390647888
print_time: '958.2469613347561'
total_time: '1191.717097001031'
every_nth_layer: 50
greedy:
planning_time: 24.48207449913025
print_time: '958.246961334756'
total_time: '904.2945788146496'
zoneblocking:
planning_time: 0.003360748291015625
print_time: '0'
total_time: '0'
orb_half_2-ascii:
decmcts:
planning_time: 126.77951121330261
print_time: '813.9754004625381'
total_time: '877.4578488117623'
every_nth_layer: 50
greedy:
planning_time: 19.499476194381714
print_time: '813.9754004625377'
total_time: '658.1790553842529'
zoneblocking:
planning_time: 0.0033457279205322266
print_time: '0'
total_time: '0'
plannet_X_3:
decmcts:
planning_time: 222.9321804046631
print_time: '3418.2151444390934'
total_time: '2847.2670296235856'
every_nth_layer: 50
greedy:
planning_time: 55.38108253479004
print_time: '3418.2151444390934'
total_time: '2796.8368568476335'
zoneblocking:
planning_time: 0.0030307769775390625
print_time: '0'
total_time: '0'
prop_v2-ascii:
decmcts:
planning_time: 42.42523384094238
print_time: '1267.0852092997638'
total_time: '1324.060866236847'
every_nth_layer: 50
greedy:
planning_time: 59.17121195793152
print_time: '1267.085209299764'
total_time: '1124.6786140474878'
zoneblocking:
planning_time: 0.001992940902709961
print_time: '0'
total_time: '0'
repaird_version._if_given_instructions_give_errors_3D_printed_Marble_Machine_2-ascii:
decmcts:
planning_time: 427.7868263721466
print_time: '3483.8261925645993'
total_time: '3409.186365297655'
every_nth_layer: 50
greedy:
planning_time: 418.75658798217773
print_time: '3483.826192564599'
total_time: '3345.9120293207325'
zoneblocking:
planning_time: 0.00764775276184082
print_time: '0'
total_time: '0'
wind_wheel:
every_nth_layer: 50
greedy:
planning_time: 15.675064086914062
print_time: '272.8295447311675'
total_time: '273.34183176233523'
zoneblocking:
planning_time: 0.0004963874816894531
print_time: '0'
total_time: '0'
zaa-ascii:
decmcts:
planning_time: 56.70115375518799
print_time: '356.03091192865287'
total_time: '468.734290845722'
every_nth_layer: 50
greedy:
planning_time: 7.776453256607056
print_time: '356.03091192865287'
total_time: '282.40230339583184'
zoneblocking:
planning_time: 7.67650032043457
print_time: '338.5545063351272'
total_time: '304.73688874073866'
planning_time: 0.0011951923370361328
print_time: '0'
total_time: '0'
......@@ -49,7 +49,8 @@ def batch_run(
plan = decmcts.decmcts(
env,
tracker,
nth_layer=nth_layer
nth_layer=nth_layer,
nodes_per_layer=mcts_nodes_per_layer
)
e_time = time.time()
......@@ -59,8 +60,10 @@ def batch_run(
stats[model]['decmcts'] = \
{'total_time': str(plan.len()),
'print_time': str(plan.extrusion_time()),
'planning_time': e_time - s_time}
'planning_time': e_time - s_time,
'status': 'SUCCESS'}
except:
stats[model]['decmcts'] = {'status': 'FAILED'}
notes.write("FAILED TO COMPLETE DEC_MCTS ON MODEL {}\n".format(model))
notes.write("Running Greedy planner\n")
......@@ -80,8 +83,10 @@ def batch_run(
stats[model]['greedy'] = \
{'total_time': str(plan.len()),
'print_time': str(plan.extrusion_time()),
'planning_time': e_time - s_time}
'planning_time': e_time - s_time,
'status': 'SUCCESS'}
except:
stats[model]['greedy'] = {'status': 'FAILED'}
notes.write("FAILED TO COMPLETE GREEDY ON MODEL {}\n".format(model))
notes.write("Running Zone Blocking planner\n")
......@@ -101,13 +106,12 @@ def batch_run(
stats[model]['zoneblocking'] = \
{'total_time': str(plan.len()),
'print_time': str(plan.extrusion_time()),
'planning_time': e_time - s_time}
'planning_time': e_time - s_time,
'status': 'SUCCESS'}
except:
stats[model]['zoneblocking'] = {'status': 'FAILED'}
notes.write("FAILED TO COMPLETE ZONE BLOCKING ON MODEL {}\n".format(model))
break
stat_file.write(yaml.dump(stats))
notes.close()
stat_file.close()
......@@ -128,5 +132,5 @@ if __name__ == '__main__':
'bulk.log',
'bulk.stats',
'plans',
20,
50,
2000)
......@@ -501,6 +501,7 @@ def decmcts(
tracker,
nth_layer=1,
layers=None,
nodes_per_layer=1000,
interactive=False):
"""
plan whole print with decmcts using decmcts_layer
......@@ -526,7 +527,7 @@ def decmcts(
sim_env,
plan=plan,
finish_home=fin_home,
mcts_nodes=1000
mcts_nodes=nodes_per_layer
)
if interactive:
......
......@@ -187,7 +187,7 @@ def greedy(sim_env, tracker, nth_layer=1, layers=None):
if __name__ == "__main__":
# Read gcode file
model = "CuteOcto_x2"
model = "finalraptornormaltail-ascii"
tracker = tu.get_tracker(model)
# 3arms simulation
......
Markdown is supported
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