Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.98 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.98 KB

Resources

Contains files used to initialize each environment and execute programs in them. Their contents are.

Class name equivalence (class_name_equivalence.json)

This file contains a dictionary mapping from names occurring in scripts to "equivalent" names (class_name) found in Unity scenes. For example,

"fruit": ["watermelon", "apple", "banana"]

means that for

[Find] <fruit> (1)

executor will choose between objects named fruit, watermelon, apple, or banana.

Note that adding keys to value list is not necessary (i.e., "fridge": ["fridge"] or "fruit": ["fruit", "watermelon", "apple", "banana"]) since this is done automatically.

Object properties (properties_data.json)

This file contains a dictionary mapping from object names to their properties, see ../simulation/README.md enum class for a list of all supported properties. Example:

"oven": ["CAN_OPEN", HAS_SWITCH", CONTAINERS", HAS_PLUG"]

This enumerates properties for objects in the evolving graph simulator.

Object properties unity (properties_data_unity.json)

Similar to properties data, but enumerates properties according to the Unity Simulator. This file will be updated as we improve the simulator.

Object states (object_states.json)

This file contains a dictionary mapping from object names to states they can have, see ../simulation/README.md enum class for a list of all supported states.

Object placing (object_script_placing.json)

This file contains a dictionary from object names to a list of their possible placings. A placing is defined as a dictionary with keys

  • destination: specifies a destination object
  • relation: either "ON" or "INSIDE"
  • room: room name where the desination object must occur (or null for object in any room)

Example

{
	"juice": [{
		"destination": "kitchen_counter",
		"relation": "ON",
		"room": null
	},
	{
		"destination": "table",
		"relation": "ON",
		"room": "kitchen"
	}]
}