All moveable and pickupable objects will be removed from the scene if they are not specified.
controller.step(
action='SetObjectPoses',
objectPoses=[
{
"objectName": "Alarm_Clock_19",
"rotation": {
"y": 270,
"x": 0,
"z": 0
},
"position": {
"y": 0.8197357,
"x": 2.45610785,
"z": 0.054755792
}
},
{...},
{
"objectName": "Alarm_Clock_19",
"rotation": {
"y": 270,
"x": 0,
"z": 0
},
"position": {
"y": 0.8197357,
"x": 2.64169645,
"z": -0.134690791
}
}
]
)
List of object names and their poses. This information can be dumped from the metadata of a prior episode. Each pose must contain keys for
The unique identifier of a
The new object's mass, in kilograms. Must be greater than .
The new drag coefficient of the object, which determines its resistance when it is in motion. Higher values slow the object down more. Must be greater than .
The new angular drag coefficient of the object, which determines its resistance when it is in rotational motion. Higher values make it harder to rotate the object. Must be greater than .
controller.step(
action="SetRoomTempDecayTimeForType",
objectType="Bread",
TimeUntilRoomTemp=20.0
)
The object type to change the decay timer of. See a full list of Object Types on the Object Types page.
The amount of time it will take for an object to decay from Hot/Cold to Room Temp.
controller.step(
action="SetGlobalRoomTempDecayTime",
TimeUntilRoomTemp=20.0
)
The amount of time it will take for an object to decay from Hot/Cold to Room Temp.
controller.step(
action='SetDecayTemperatureBool',
allowDecayTemperature=False
)
Set to allow object Temperatures to decay over time.
Hiding an object may cause unintended interactions with other objects after an object is disabled. For example, a table with a Plate and Apple resting on top of it will cause both the Plate and Apple to fall to the floor if the table object supporting them is disabled.
controller.step(
action="RemoveFromScene",
objectId="Mug|+0.25|-0.27|+1.05"
)
The unique identifier of the object in the scene.
controller.step(
action="DisableObject",
objectId="DiningTable|+1.0|+1.0|+1.0"
)
The string id of the sim object to disable. Note that this may cause unintended interactions with other objects after an object is disabled. For example, a table with a Plate and Apple resting on top of it will cause both the Plate and Apple to fall to the floor if the table object supporting them is disabled.
controller.step(
action="EnableObject",
objectId="DiningTable|+1.0|+1.0|+1.0"
)
The string id of the sim object to reactivate. Note that this may cause unintended interactions with other objects after an object is reactivated. Enabled objects will return to their original location, which may cause clipping or weird collision with other objects if another sim object or the agent has moved into the area where the enabled object is.