-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70d7e22
commit 5839c00
Showing
8 changed files
with
668 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
resources: | ||
- ../robots | ||
- ../worlds | ||
- ../objects | ||
|
||
worlds: | ||
bowling_simulation: | ||
rtf_desired: 1 | ||
table_simulation: | ||
rtf_desired: 1 | ||
table_with_bowling_simulation: | ||
rtf_desired: 1 | ||
|
||
simulations: | ||
table_with_bowling_simulation: | ||
simulator: mujoco | ||
multiverse_as_plugin: true | ||
world: | ||
name: world | ||
path: table_with_bowling/table_with_bowling_no_cursor.xml | ||
config: | ||
max_time_step: 0.01 | ||
min_time_step: 0.001 | ||
|
||
bowling_simulation: | ||
simulator: mujoco | ||
multiverse_as_plugin: true | ||
world: | ||
name: world | ||
path: table_with_bowling/bowling_no_cursor.xml | ||
config: | ||
max_time_step: 0.01 | ||
min_time_step: 0.001 | ||
|
||
table_simulation: | ||
simulator: mujoco | ||
multiverse_as_plugin: true | ||
world: | ||
name: world | ||
path: table_with_bowling/table_no_cursor.xml | ||
config: | ||
max_time_step: 0.01 | ||
min_time_step: 0.001 | ||
|
||
cube_simulation: | ||
simulator: mujoco | ||
multiverse_as_plugin: true | ||
world: | ||
name: world | ||
path: table_with_bowling/cube_no_cursor.xml | ||
config: | ||
max_time_step: 0.01 | ||
min_time_step: 0.001 | ||
|
||
multiverse_server: | ||
host: "tcp://127.0.0.1" | ||
port: 7000 | ||
|
||
multiverse_clients: | ||
table_with_bowling_simulation: | ||
port: 7501 | ||
send: | ||
bowling: ["force", "torque"] | ||
table: ["force", "torque"] | ||
receive: | ||
bowling: ["relative_velocity", "position", "quaternion"] | ||
table: ["relative_velocity", "position", "quaternion"] | ||
cube: ["position", "quaternion"] | ||
|
||
bowling_simulation: | ||
port: 7502 | ||
send: | ||
bowling: ["relative_velocity", "position", "quaternion"] | ||
receive: | ||
bowling: ["force", "torque"] | ||
|
||
table_simulation: | ||
port: 7503 | ||
send: | ||
table: ["relative_velocity", "position", "quaternion"] | ||
receive: | ||
table: ["force", "torque"] | ||
|
||
cube_simulation: | ||
port: 7504 | ||
send: | ||
cube: ["position", "quaternion"] |
13 changes: 13 additions & 0 deletions
13
multiverse/resources/worlds/table_with_bowling/bowling_no_cursor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<mujoco> | ||
<option timestep="0.001" integrator="RK4" gravity="0 0 -9.81"> | ||
<flag energy="enable" contact="disable" /> | ||
</option> | ||
<compiler angle="radian" /> | ||
|
||
<worldbody> | ||
<body name="bowling" pos=".0 .0 16" > | ||
<freejoint /> | ||
<geom type="sphere" size=".1 .1 .1" rgba="0 .9 0 1" mass="10" /> | ||
</body> | ||
</worldbody> | ||
</mujoco> |
16 changes: 16 additions & 0 deletions
16
multiverse/resources/worlds/table_with_bowling/cube_no_cursor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<mujoco> | ||
<option timestep="0.001" integrator="RK4" gravity="0 0 -9.81"> | ||
<flag energy="enable" contact="disable" /> | ||
</option> | ||
<compiler angle="radian" /> | ||
|
||
<worldbody> | ||
<body name="cube" pos="1.5 0 1" mocap="true"> | ||
<geom type="box" size=".1 .1 .1" rgba="0 0 .9 1" mass="10" /> | ||
</body> | ||
</worldbody> | ||
|
||
<visual> | ||
<global fovy="45" azimuth="225" elevation="-30" /> | ||
</visual> | ||
</mujoco> |
21 changes: 21 additions & 0 deletions
21
multiverse/resources/worlds/table_with_bowling/table_no_cursor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<mujoco> | ||
<option timestep="0.001" integrator="RK4" gravity="0 0 -9.81"> | ||
<flag energy="enable" contact="disable" /> | ||
</option> | ||
<compiler angle="radian" /> | ||
|
||
<worldbody> | ||
<body name="table" pos="0 0 8"> | ||
<freejoint /> | ||
<geom type="box" size=".5 .5 .05" rgba="0 0 .9 1" mass="6" /> | ||
<geom type="box" pos=".45 .45 -.25" size=".05 .05 .25" rgba="0 0 .9 1" mass="1" /> | ||
<geom type="box" pos=".45 -.45 -.25" size=".05 .05 .25" rgba="0 0 .9 1" mass="1" /> | ||
<geom type="box" pos="-.45 .45 -.25" size=".05 .05 .25" rgba="0 0 .9 1" mass="1" /> | ||
<geom type="box" pos="-.45 -.45 -.25" size=".05 .05 .25" rgba="0 0 .9 1" mass="1" /> | ||
</body> | ||
</worldbody> | ||
|
||
<visual> | ||
<global fovy="45" azimuth="225" elevation="-30" /> | ||
</visual> | ||
</mujoco> |
Oops, something went wrong.