Is Luos for me? 🤔

State API

The State container can handles a sensor (Button board for example), or an actuator (Power Switch board for example). Generally, this type of containers allows to manage bi-state elements such as on/off, pushed/release, 0/1, ...

Its type has access to all common capabilities.


Function name and parametersActionComment
control(self)Displays container type graphical interfaceOnly available using Jupyter notebook


Variable nameActionType
stateSets or reads the container stateread / write: Boolean (True or False)


Event nameTrigger
changedAny state modification pressed or released
pressedState modification from True to False
releasedState modification from False to True

ROS topics

Topic nameMessage type