Skip to content

sim2bot.RobotState.sensors

sensors: list[dict] = field(default_factory=list) class-attribute instance-attribute

Authored sensor readings associated with this robot telemetry packet.


Example

Read sensors

info = sim.describe()[0]
state = sim.state(robot=info.index)
if state is not None:
    print(state.sensors)

See also