VirtualRoboBench / tasks /C08 /grading /regions.json
cyx712's picture
Release VirtualRoboBench dataset
d41c51e
Raw History Blame Contribute Delete
21.7 kB
{
"rule": "stage_graph",
"sampling": {
"type": "authored"
},
"stages": [
{
"id": "source",
"label": "source",
"check": {
"type": "distance",
"regions": [
{
"name": "source_core",
"type": "box",
"size": [
0.053525234329181215,
0.04524029863097412,
0.03951140776399442
],
"world_pose": [
[
0.7700214932519135,
-0.0007150375637374307,
-0.6380175457237645,
4.001375280948106
],
[
-0.6380179385645074,
-0.0007062409471531108,
-0.7700211758735088,
-0.23356007426031342
],
[
9.999994983057078e-05,
0.9999994949723762,
-0.001000027501134427,
1.4552024504366137
],
[
0.0,
0.0,
0.0,
1.0
]
],
"source_names": [
"obj_g2",
"obj_g3",
"obj_g4",
"obj_g5",
"obj_g6",
"obj_g7",
"obj_g8",
"obj_g9",
"obj_g10",
"obj_g11",
"obj_g12",
"obj_g13",
"obj_g14",
"obj_g15",
"obj_g16",
"obj_g17"
]
}
],
"distance_scale_m": 0.01,
"hit_tolerance_m": 0.0
}
},
{
"id": "dispenser",
"label": "dispenser",
"dependencies": {
"all_of": [
"source"
],
"relation": "strictly_after"
},
"check": {
"type": "distance",
"regions": [
{
"name": "coffee_receiver_column",
"type": "convex_polytope",
"vertices_world": [
[
4.294182011473789,
-0.5278730156111167,
0.9500705079575941
],
[
4.420105928473782,
-0.5278730156111167,
0.9500705079575941
],
[
4.420105928473782,
-0.41723616059953894,
0.9500705079575941
],
[
4.294182011473789,
-0.41723616059953894,
0.9500705079575941
],
[
4.294182011473789,
-0.5278730156111167,
1.100070507957594
],
[
4.420105928473782,
-0.5278730156111167,
1.100070507957594
],
[
4.420105928473782,
-0.41723616059953894,
1.100070507957594
],
[
4.294182011473789,
-0.41723616059953894,
1.100070507957594
]
],
"halfspaces_world": [
[
0.0,
-1.0,
0.0,
-0.5278730156111167
],
[
0.0,
-1.0,
0.0,
-0.5278730156111167
],
[
-0.0,
-0.0,
-1.0,
0.9500705079575941
],
[
-0.0,
-0.0,
-1.0,
0.9500705079575941
],
[
1.0,
0.0,
0.0,
-4.420105928473782
],
[
1.0,
0.0,
0.0,
-4.420105928473782
],
[
-1.0,
0.0,
0.0,
4.294182011473789
],
[
-1.0,
0.0,
0.0,
4.294182011473789
],
[
0.0,
0.0,
1.0,
-1.100070507957594
],
[
0.0,
0.0,
1.0,
-1.100070507957594
],
[
0.0,
1.0,
0.0,
0.41723616059953894
],
[
0.0,
1.0,
0.0,
0.41723616059953894
]
],
"source_names": [
"coffee_machine_main_group_g30"
]
}
],
"distance_scale_m": 0.01,
"hit_tolerance_m": 0.0
}
},
{
"id": "start_button",
"label": "start_button",
"dependencies": {
"all_of": [
"dispenser"
],
"relation": "strictly_after"
},
"check": {
"type": "distance",
"regions": [
{
"name": "coffee_machine_main_group_g15_press_core",
"type": "convex_polytope",
"vertices_world": [
[
4.315683940062942,
-0.5031293156558143,
1.1800150039256794
],
[
4.340197559789666,
-0.5031293156558143,
1.1800150039256794
],
[
4.315683940062942,
-0.5141293156558143,
1.1800150039256794
],
[
4.340197559789666,
-0.5141293156558143,
1.1800150039256794
],
[
4.340197559789666,
-0.5031293156558143,
1.2045286112156113
],
[
4.315683940062942,
-0.5031293156558143,
1.2045286112156113
],
[
4.340197559789666,
-0.5141293156558143,
1.2045286112156113
],
[
4.315683940062942,
-0.5141293156558143,
1.2045286112156113
]
],
"halfspaces_world": [
[
-0.0,
1.0,
0.0,
0.5031293156558143
],
[
-0.0,
1.0,
0.0,
0.5031293156558143
],
[
0.0,
0.0,
-1.0,
1.1800150039256794
],
[
0.0,
0.0,
-1.0,
1.1800150039256794
],
[
-1.0,
0.0,
-0.0,
4.315683940062942
],
[
-1.0,
0.0,
-0.0,
4.315683940062942
],
[
1.0,
0.0,
0.0,
-4.340197559789666
],
[
1.0,
0.0,
0.0,
-4.340197559789666
],
[
0.0,
0.0,
1.0,
-1.2045286112156113
],
[
0.0,
0.0,
1.0,
-1.2045286112156113
],
[
0.0,
-1.0,
0.0,
-0.5141293156558143
],
[
0.0,
-1.0,
0.0,
-0.5141293156558143
]
],
"source_names": [
"coffee_machine_main_group_g15"
],
"contact_margin_m": 0.005
},
{
"name": "coffee_machine_main_group_g17_press_core",
"type": "convex_polytope",
"vertices_world": [
[
4.3746867003058085,
-0.5142042206719123,
1.1800150039256794
],
[
4.399200318255847,
-0.5142042206719123,
1.1800150039256794
],
[
4.3746867003058085,
-0.5032042206719123,
1.1800150039256794
],
[
4.399200318255847,
-0.5032042206719123,
1.1800150039256794
],
[
4.399200318255847,
-0.5142042206719123,
1.2045286112156113
],
[
4.3746867003058085,
-0.5142042206719123,
1.2045286112156113
],
[
4.399200318255847,
-0.5032042206719123,
1.2045286112156113
],
[
4.3746867003058085,
-0.5032042206719123,
1.2045286112156113
]
],
"halfspaces_world": [
[
0.0,
-1.0,
-0.0,
-0.5142042206719123
],
[
0.0,
-1.0,
-0.0,
-0.5142042206719123
],
[
-0.0,
-0.0,
-1.0,
1.1800150039256794
],
[
-0.0,
-0.0,
-1.0,
1.1800150039256794
],
[
-1.0,
-0.0,
-0.0,
4.3746867003058085
],
[
-1.0,
-0.0,
-0.0,
4.3746867003058085
],
[
1.0,
-0.0,
-0.0,
-4.399200318255847
],
[
1.0,
-0.0,
-0.0,
-4.399200318255847
],
[
-0.0,
-0.0,
1.0,
-1.2045286112156113
],
[
-0.0,
-0.0,
1.0,
-1.2045286112156113
],
[
-0.0,
1.0,
-0.0,
0.5032042206719123
],
[
-0.0,
1.0,
-0.0,
0.5032042206719123
]
],
"source_names": [
"coffee_machine_main_group_g17"
],
"contact_margin_m": 0.005
}
],
"distance_scale_m": 0.01,
"hit_tolerance_m": 0.0
}
}
],
"metadata": {
"task_id": "C08",
"instruction": "Pick the mug from the cabinet, place it under the coffee machine dispenser, and press the start button.",
"interaction_model": {
"actions": {
"source": {
"kind": "grasp"
},
"start_button": {
"kind": "operate",
"joint": {
"name": "coffee_machine_main_group_Button001_joint",
"axis": [
0.0,
1.0,
0.0
],
"pivot": [
4.327864819763283,
-0.5050560877923905,
1.1922432598050223
],
"sign": 1,
"type": "slide",
"min_motion_m": 0.0004769250985047091
},
"direction_policy": "contact_window"
},
"dispenser": {
"kind": "release",
"source": "source",
"alignment_xy": [
4.3571439699737855,
-0.4725545881053278
],
"alignment_radius_m": 0.039279607985552856,
"object_point_world": [
3.990555938060732,
-0.22458319880150734,
1.499169762804586
]
}
},
"gripper": [
{
"name": "gripper0_right_finger1_collision",
"closed_vertices": [
[
-0.02640338274436209,
0.010359962136709974,
-0.044445370682947995
],
[
-0.0025833050333084195,
0.010448622810767475,
-0.04445319875452792
],
[
-0.0025341828610670088,
-0.010387184115169572,
-0.044468304376713855
],
[
-0.01610156149106961,
-0.010479453063114506,
-0.025611833804045876
],
[
-0.02630941015569619,
-0.010401265907865258,
-0.04443348999400139
],
[
-0.025220269558860454,
-0.010388850202915436,
-0.02541238027041295
],
[
2.3525598819768012e-05,
-0.008730395503370833,
-0.008435153720394889
],
[
-0.025253410001419875,
0.010400470023448861,
-0.025563410860008323
],
[
-0.014274293472921556,
0.005839826267575968,
0.009203452079071568
],
[
-0.013988715670802482,
0.008616076211649257,
0.0067279140702746895
],
[
-0.015102642487985582,
0.010494819149013386,
-0.026164409821770186
],
[
0.0001326424365476718,
0.008692773688391761,
0.0055662260352610385
],
[
5.6801961409756047e-05,
-0.008622935832758409,
0.006352821880097094
],
[
9.112092594982732e-05,
-0.0054814167030336446,
0.00912471041803576
],
[
-0.014293111674082343,
-0.005277919755595982,
0.009249034365359586
],
[
-0.014218212187736542,
-0.00777837999147544,
0.007765920673803784
],
[
-0.013917580126684245,
-0.008841174399121037,
0.005989356017388778
],
[
2.060283080067629e-05,
0.00613801838694082,
0.00897762075446518
]
],
"open_translation": [
-0.039999999999999945,
7.641792645008318e-17,
2.405846738713429e-17
],
"pad": false
},
{
"name": "gripper0_right_finger1_pad_collision",
"closed_vertices": [
[
-0.007499999999999691,
0.008000000000000474,
-0.011599999999999697
],
[
-0.0074999999999997985,
0.0080000000000005,
0.004400000000000119
],
[
0.0005000000000004862,
0.008000000000000595,
-0.01159999999999988
],
[
0.0005000000000003682,
0.008000000000000552,
0.004400000000000148
],
[
-0.007499999999999667,
-0.00799999999999945,
-0.011599999999999736
],
[
-0.007499999999999778,
-0.007999999999999544,
0.0044000000000002735
],
[
0.0005000000000005209,
-0.007999999999999502,
-0.01159999999999974
],
[
0.0005000000000003994,
-0.007999999999999423,
0.004400000000000092
]
],
"open_translation": [
-0.039999999999999945,
7.641792645008318e-17,
2.405846738713429e-17
],
"pad": true
},
{
"name": "gripper0_right_finger2_collision",
"closed_vertices": [
[
0.026403382744363112,
-0.010359962136708813,
-0.044445370682947766
],
[
0.0025833050333090544,
-0.010448622810766294,
-0.0444531987545278
],
[
0.002534182861068178,
0.01038718411517079,
-0.04446830437671375
],
[
0.01610156149107073,
0.01047945306311563,
-0.0256118338040457
],
[
0.026309410155697138,
0.010401265907866449,
-0.044433489994001284
],
[
0.025220269558861173,
0.01038885020291654,
-0.025412380270412885
],
[
-2.3525598818914528e-05,
0.008730395503371974,
-0.00843515372039478
],
[
0.025253410001420926,
-0.010400470023447794,
-0.025563410860008413
],
[
0.01427429347292249,
-0.0058398262675748575,
0.009203452079071679
],
[
0.013988715670803637,
-0.00861607621164812,
0.006727914070274813
],
[
0.015102642487986418,
-0.010494819149012293,
-0.026164409821770124
],
[
-0.00013264243654687383,
-0.008692773688390724,
0.005566226035261106
],
[
-5.680196140925298e-05,
0.00862293583275955,
0.006352821880097243
],
[
-9.112092594864424e-05,
0.005481416703034748,
0.009124710418035769
],
[
0.014293111674083463,
0.005277919755597124,
0.00924903436535977
],
[
0.014218212187737559,
0.0077783799914766276,
0.007765920673803874
],
[
0.013917580126685567,
0.008841174399122166,
0.005989356017388741
],
[
-2.0602830799468924e-05,
-0.006138018386939718,
0.008977620754465081
]
],
"open_translation": [
0.039999999999999945,
-7.641792645008318e-17,
-2.405846738713429e-17
],
"pad": false
},
{
"name": "gripper0_right_finger2_pad_collision",
"closed_vertices": [
[
-0.0004999999999996153,
0.008000000000000496,
-0.011599999999999602
],
[
-0.0004999999999997333,
0.008000000000000576,
0.004400000000000232
],
[
0.007500000000000562,
0.008000000000000618,
-0.011599999999999784
],
[
0.007500000000000447,
0.008000000000000522,
0.004400000000000227
],
[
-0.000499999999999591,
-0.007999999999999428,
-0.01159999999999964
],
[
-0.0004999999999997055,
-0.007999999999999521,
0.00440000000000037
],
[
0.0075000000000005895,
-0.007999999999999478,
-0.011599999999999645
],
[
0.007500000000000472,
-0.0079999999999994,
0.0044000000000001885
]
],
"open_translation": [
0.039999999999999945,
-7.641792645008318e-17,
-2.405846738713429e-17
],
"pad": true
}
],
"part_centers": {
"gripper0_right_finger1_collision": [
-0.011659743539581593,
-0.0008554670444401455,
-0.012223916443948109
],
"gripper0_right_finger1_pad_collision": [
-0.003499999999999645,
5.2562121322097255e-16,
-0.003599999999999803
],
"gripper0_right_finger2_collision": [
0.011659743539582572,
0.000855467044441277,
-0.012223916443948026
],
"gripper0_right_finger2_pad_collision": [
0.003500000000000428,
5.483894588431681e-16,
-0.0035999999999997067
]
},
"jaw_travel_m": 0.04
}
}
}