You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

314 lines
13 KiB

2 years ago
{
"scene_type": "distance_barrier_rb_problem",
"max_iterations": 1000,
"timestep": 0.01,
"distance_barrier_constraint": {
"initial_barrier_activation_distance": 0.01
},
"rigid_body_problem": {
"gravity": [0, -9.81],
"coefficient_restitution": -1,
"rigid_bodies": [{
"vertices": [
[0.5, 0.0],
[0.3535533905932738, 0.35355339059327373],
[3.061616997868383e-17, 0.5],
[-0.35355339059327373, 0.3535533905932738],
[-0.5, 6.123233995736766e-17],
[-0.35355339059327384, -0.35355339059327373],
[-9.184850993605148e-17, -0.5],
[0.35355339059327373, -0.35355339059327384]
],
"polygons": [
[
[0.5, 0.0],
[0.3535533905932738, 0.35355339059327373],
[3.061616997868383e-17, 0.5],
[-0.35355339059327373, 0.3535533905932738],
[-0.5, 6.123233995736766e-17],
[-0.35355339059327384, -0.35355339059327373],
[-9.184850993605148e-17, -0.5],
[0.35355339059327373, -0.35355339059327384]
]
],
"oriented": true,
"is_dof_fixed": [true, true, true],
"edges": [
[0, 1],
[1, 2],
[2, 3],
[3, 4],
[4, 5],
[5, 6],
[6, 7],
[7, 0]
],
"rotation": [22.5],
"linear_velocity": [0.0, 0.0],
"angular_velocity": [0.0]
}, {
"vertices": [
[0.968583161128631, -0.24868988716485535],
[0.8763066800438631, -0.4817536741017161],
[0.7289686274214113, -0.684547105928689],
[0.5358267949789967, -0.8443279255020151],
[0.30901699437494723, -0.9510565162951536],
[0.06279051952931283, -0.9980267284282716],
[-0.18738131458572463, -0.9822872507286887],
[-0.42577929156507216, -0.9048270524660198],
[-0.6374239897486896, -0.7705132427757894],
[-0.8090169943749478, -0.5877852522924727],
[-0.9297764858882515, -0.3681245526846779],
[-0.9921147013144779, -0.1253332335643043],
[-0.9921147013144778, 0.12533323356430454],
[-0.9297764858882513, 0.36812455268467814],
[-0.8090169943749473, 0.5877852522924732],
[-0.6374239897486896, 0.7705132427757893],
[-0.42577929156507277, 0.9048270524660195],
[-0.1873813145857246, 0.9822872507286887],
[0.06279051952931351, 0.9980267284282716],
[0.30901699437494745, 0.9510565162951535],
[0.5358267949789967, 0.8443279255020151],
[0.7289686274214116, 0.6845471059286886],
[0.8763066800438636, 0.4817536741017153],
[0.9685831611286311, 0.2486898871648548],
[1.0, 0.0],
[2.0, 0.0],
[1.9371663222572622, 0.4973797743297096],
[1.7526133600877272, 0.9635073482034306],
[1.457937254842823, 1.3690942118573772],
[1.0716535899579933, 1.6886558510040302],
[0.6180339887498949, 1.902113032590307],
[0.12558103905862703, 1.9960534568565431],
[-0.3747626291714492, 1.9645745014573774],
[-0.8515585831301455, 1.809654104932039],
[-1.2748479794973793, 1.5410264855515785],
[-1.6180339887498947, 1.1755705045849465],
[-1.8595529717765027, 0.7362491053693563],
[-1.9842294026289555, 0.25066646712860907],
[-1.9842294026289558, -0.2506664671286086],
[-1.859552971776503, -0.7362491053693558],
[-1.6180339887498956, -1.1755705045849454],
[-1.2748479794973793, -1.5410264855515787],
[-0.8515585831301443, -1.8096541049320396],
[-0.37476262917144926, -1.9645745014573774],
[0.12558103905862567, -1.9960534568565431],
[0.6180339887498945, -1.9021130325903073],
[1.0716535899579933, -1.6886558510040302],
[1.4579372548428227, -1.369094211857378],
[1.7526133600877263, -0.9635073482034322],
[1.937166322257262, -0.4973797743297107]
],
"polygons": [
[
[0.968583161128631, -0.24868988716485535],
[0.8763066800438631, -0.4817536741017161],
[1.7526133600877263, -0.9635073482034322],
[1.937166322257262, -0.4973797743297107]
],
[
[0.8763066800438631, -0.4817536741017161],
[0.7289686274214113, -0.684547105928689],
[1.4579372548428227, -1.369094211857378],
[1.7526133600877263, -0.9635073482034322]
],
[
[0.7289686274214113, -0.684547105928689],
[0.5358267949789967, -0.8443279255020151],
[1.0716535899579933, -1.6886558510040302],
[1.4579372548428227, -1.369094211857378]
],
[
[0.5358267949789967, -0.8443279255020151],
[0.30901699437494723, -0.9510565162951536],
[0.6180339887498945, -1.9021130325903073],
[1.0716535899579933, -1.6886558510040302]
],
[
[0.30901699437494723, -0.9510565162951536],
[0.06279051952931283, -0.9980267284282716],
[0.12558103905862567, -1.9960534568565431],
[0.6180339887498945, -1.9021130325903073]
],
[
[0.06279051952931283, -0.9980267284282716],
[-0.18738131458572463, -0.9822872507286887],
[-0.37476262917144926, -1.9645745014573774],
[0.12558103905862567, -1.9960534568565431]
],
[
[-0.18738131458572463, -0.9822872507286887],
[-0.42577929156507216, -0.9048270524660198],
[-0.8515585831301443, -1.8096541049320396],
[-0.37476262917144926, -1.9645745014573774]
],
[
[-0.42577929156507216, -0.9048270524660198],
[-0.6374239897486896, -0.7705132427757894],
[-1.2748479794973793, -1.5410264855515787],
[-0.8515585831301443, -1.8096541049320396]
],
[
[-0.6374239897486896, -0.7705132427757894],
[-0.8090169943749478, -0.5877852522924727],
[-1.6180339887498956, -1.1755705045849454],
[-1.2748479794973793, -1.5410264855515787]
],
[
[-0.8090169943749478, -0.5877852522924727],
[-0.9297764858882515, -0.3681245526846779],
[-1.859552971776503, -0.7362491053693558],
[-1.6180339887498956, -1.1755705045849454]
],
[
[-0.9297764858882515, -0.3681245526846779],
[-0.9921147013144779, -0.1253332335643043],
[-1.9842294026289558, -0.2506664671286086],
[-1.859552971776503, -0.7362491053693558]
],
[
[-0.9921147013144779, -0.1253332335643043],
[-0.9921147013144778, 0.12533323356430454],
[-1.9842294026289555, 0.25066646712860907],
[-1.9842294026289558, -0.2506664671286086]
],
[
[-0.9921147013144778, 0.12533323356430454],
[-0.9297764858882513, 0.36812455268467814],
[-1.8595529717765027, 0.7362491053693563],
[-1.9842294026289555, 0.25066646712860907]
],
[
[-0.9297764858882513, 0.36812455268467814],
[-0.8090169943749473, 0.5877852522924732],
[-1.6180339887498947, 1.1755705045849465],
[-1.8595529717765027, 0.7362491053693563]
],
[
[-0.8090169943749473, 0.5877852522924732],
[-0.6374239897486896, 0.7705132427757893],
[-1.2748479794973793, 1.5410264855515785],
[-1.6180339887498947, 1.1755705045849465]
],
[
[-0.6374239897486896, 0.7705132427757893],
[-0.42577929156507277, 0.9048270524660195],
[-0.8515585831301455, 1.809654104932039],
[-1.2748479794973793, 1.5410264855515785]
],
[
[-0.42577929156507277, 0.9048270524660195],
[-0.1873813145857246, 0.9822872507286887],
[-0.3747626291714492, 1.9645745014573774],
[-0.8515585831301455, 1.809654104932039]
],
[
[-0.1873813145857246, 0.9822872507286887],
[0.06279051952931351, 0.9980267284282716],
[0.12558103905862703, 1.9960534568565431],
[-0.3747626291714492, 1.9645745014573774]
],
[
[0.06279051952931351, 0.9980267284282716],
[0.30901699437494745, 0.9510565162951535],
[0.6180339887498949, 1.902113032590307],
[0.12558103905862703, 1.9960534568565431]
],
[
[0.30901699437494745, 0.9510565162951535],
[0.5358267949789967, 0.8443279255020151],
[1.0716535899579933, 1.6886558510040302],
[0.6180339887498949, 1.902113032590307]
],
[
[0.5358267949789967, 0.8443279255020151],
[0.7289686274214116, 0.6845471059286886],
[1.457937254842823, 1.3690942118573772],
[1.0716535899579933, 1.6886558510040302]
],
[
[0.7289686274214116, 0.6845471059286886],
[0.8763066800438636, 0.4817536741017153],
[1.7526133600877272, 0.9635073482034306],
[1.457937254842823, 1.3690942118573772]
],
[
[0.8763066800438636, 0.4817536741017153],
[0.9685831611286311, 0.2486898871648548],
[1.9371663222572622, 0.4973797743297096],
[1.7526133600877272, 0.9635073482034306]
],
[
[0.9685831611286311, 0.2486898871648548],
[1.0, 0.0],
[2.0, 0.0],
[1.9371663222572622, 0.4973797743297096]
],
[
[1.0, 0.0],
[0.968583161128631, -0.24868988716485535],
[1.937166322257262, -0.4973797743297107],
[2.0, 0.0]
]
],
"oriented": true,
"density": 10.722859289002587,
"is_dof_fixed": [false, false, false],
"edges": [
[0, 1],
[1, 2],
[2, 3],
[3, 4],
[4, 5],
[5, 6],
[6, 7],
[7, 8],
[8, 9],
[9, 10],
[10, 11],
[11, 12],
[12, 13],
[13, 14],
[14, 15],
[15, 16],
[16, 17],
[17, 18],
[18, 19],
[19, 20],
[20, 21],
[21, 22],
[22, 23],
[23, 24],
[24, 0],
[25, 26],
[26, 27],
[27, 28],
[28, 29],
[29, 30],
[30, 31],
[31, 32],
[32, 33],
[33, 34],
[34, 35],
[35, 36],
[36, 37],
[37, 38],
[38, 39],
[39, 40],
[40, 41],
[41, 42],
[42, 43],
[43, 44],
[44, 45],
[45, 46],
[46, 47],
[47, 48],
[48, 49],
[49, 25]
],
"linear_velocity": [0.0, 0.0],
"angular_velocity": [31.41592653589793],
"torque": [1e5]
}]
}
}