sim2bot.RoomDeviceInfo¶
Experimental API
This surface is still being validated and may change before the public beta.
RoomDeviceInfo
dataclass
¶
Metadata for a door or window announced by the current scene.
Room-device control is experimental while browser-side actuation is being revised. Discovery is safe to use, but do not build critical workflows around opening behavior yet.
Attributes:
-
id(str) –Scene-unique device identity used by
set_room_opening(). -
name(str) –Human-readable device name.
-
kind(str) –Authored type, normally
"door"or"window". -
motion(str) –Mechanism type, for example hinged, sliding, or fixed.
-
wall(str) –ID of the wall that owns the opening.
-
max_open_deg(float) –Maximum authored hinge travel in degrees when applicable.
Source code in sim2bot/client.py
Practical examples¶
Examples use objects discovered from the current scene rather than hard-coded robot metadata.
Inspect mechanism metadata
Select a device by ID
Guidance¶
Important behavior
Discovery metadata is available, but room actuation remains experimental.