This repository provides a simulation of 4-Room-World environment based on V-REP, and the virtual environments implemented in this repository share the same interfaces with OpenAi Gym.
There are in totall 4 Types of 4-Room-World Environment with various complexities implemented in this repository. For more detail information on these virtual environments, please refer to 4 Types of 4-Room-World Environment.
FourRoomScene folder contains files to create a scene using V-REP api(If you do not have V-REP, please download from V-REP).
-
4room_world_models: V-REP models used to create a scene
-
VrepRemoteApiBindings: V-REP dynamic lib and api-script
-
CSV files: specify position of loaded objects
* "wall_brick_location.csv": position of wall brick * "floor_tile_location.csv": position of wall floor tile * "hallway_location.csv": position of hallway * "goal_location.csv": position of goal * "standing_participant_location.csv": initial position of standing participant which is static.
-
Script to create a scene:
create_4room_world.py
-
V-REP scene created by script:
4_room_world.ttt
Figure 1. 4Room World Screenshots
Load scene pre-created or scene created by yourself into V-REP.
- FourRoomGridWorld & FourRoomContinuousWorld:
4_room_world.ttt
- FourRoomOverheadVisionWorld:
4_room_overhead_vision_world.ttt
- FourRoomFirstPersonVisionWorld:
4_room_first_person_vision_world.ttt
For detailed information on these virtual environments, please refer to 4 Types of 4-Room-World Environment.
- FourRoomGridWorld
- FourRoomContinuousWorld
- FourRoomOverheadVisionWorld
- FourRoomFirstPersonVisionWorld
Step 4: Use 4-Room-World Virtual Environment as You Using OpenAi Gym
Demo scripts on how to use these virtual environments can be found in:
interaction_participant_and_4room_grid_world_env.py
interaction_participant_and_4room_continuous_world_env.py