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.
 
 
 
 
 

1051 lines
27 KiB

{
"scene_type": "distance_barrier_rb_problem",
"max_iterations": 1000,
"timestep": 0.01,
"distance_barrier_constraint": {
"initial_barrier_activation_distance": 0.01,
"detection_method": "hash_grid"
},
"homotopy_solver": {
"e_b": 1e-06,
"m": 1,
"t_init": 100,
"t_inc": 100,
"c": 0.1,
"inner_solver": "newton_solver"
},
"rigid_body_problem": {
"gravity": [
0,
0
],
"coefficient_restitution": -1,
"rigid_bodies": [{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
0.505
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
1.0150000000000001
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
1.5250000000000001
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
2.035
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
2.545
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
3.0549999999999997
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
3.5649999999999995
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
4.074999999999999
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
4.584999999999999
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
],
"polygons": [
[
[
5.0,
0.01
],
[
-5.0,
0.01
],
[
-5.0,
-0.01
],
[
5.0,
-0.01
]
]
],
"density": 5.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
5.094999999999999
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
0
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
0.5,
0.5
],
[
-0.5,
0.5
],
[
-0.5,
-0.5
],
[
0.5,
-0.5
]
],
"polygons": [
[
[
0.5,
0.5
],
[
-0.5,
0.5
],
[
-0.5,
-0.5
],
[
0.5,
-0.5
]
]
],
"density": 100.0,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"position": [
0,
15.094999999999999
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"rotation": [
10
],
"linear_velocity": [
0,
-100
],
"angular_velocity": [
0
]
},
{
"vertices": [
[
5.5,
0.0
],
[
-5.5,
0.0
],
[
-5.5,
17.095
],
[
5.5,
17.095
],
[
5.6,
17.195
],
[
-5.6,
17.195
],
[
-5.6,
-0.1
],
[
5.6,
-0.1
]
],
"polygons": [
[
[
5.6,
17.195
],
[
-5.6,
17.195
],
[
-5.5,
17.095
],
[
5.5,
17.095
]
],
[
[
-5.6,
17.195
],
[
-5.6,
-0.1
],
[
-5.5,
0.0
],
[
-5.5,
17.095
]
],
[
[
-5.6,
-0.1
],
[
5.6,
-0.1
],
[
5.5,
0.0
],
[
-5.5,
0.0
]
],
[
[
5.6,
-0.1
],
[
5.6,
17.195
],
[
5.5,
17.095
],
[
5.5,
0.0
]
]
],
"oriented": true,
"is_dof_fixed": [
true,
true,
true
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
4
]
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
}
]
}
}