The Voltage container handles a sensor measuring voltage.
Its type has access to all common capabilities.
Function name and parameters | Action | Comment |
control(self) | Displays container type graphical interface | Only available using Jupyter notebook |
Variable name | Action | Type |
volt | Reads or writes voltage in V | read / write: Float |
threshold | Thresholds voltage variation before filter_changed event trigger. Default value 1.0 V. | read / write: Float |
Event name | Trigger |
changed | Any state modification falling or raising |
filter_changed | Voltage variation bigger than threshold |
Topic name | Message type |
/mod/variables/volt/read | std_msgs/msg/Float32 |
/mod/variables/volt/write | std_msgs/msg/Float32 |
/mod/variables/threshold/read | std_msgs/msg/Float32 |
/mod/variables/threshold/write | std_msgs/msg/Float32 |
/mod/events/changed | luos_msgs/msg/FloatChange |
/mod/events/filter_changed | luos_msgs/msg/FloatChange |