class MonitoringBinding(AwaitedBinding):
A ROS2 topic read into Monitoring variables on the declaring Component.
| Method | __post |
Refuse a startup deadline nothing waits on, and a rate the server cannot keep. |
| Class Variable | kind |
Undocumented |
| Instance Variable | depth |
How many messages the subscription buffers. It is the slack a slow event loop gets before the oldest sample is dropped. |
| Instance Variable | exclude |
Field patterns removing fields, after include has narrowed. |
| Instance Variable | group |
The Machinery Monitoring sub-structure the Binding is filed in, one of Status, Health, Process and Consumption (OPC 40001-1), or None to sit directly in the Monitoring. With it the message browses as <group>/<name>/<field path>... |
| Instance Variable | include |
Field patterns narrowing the message; empty means every field. |
| Instance Variable | max |
The most messages per second written to the variables, in hertz, or None to mirror every message. The limit is per Binding, so one message's fields stay one snapshot. The first message after a quiet spell is written at once, then at most one per ... |
| Instance Variable | message |
The ROS2 type, package/Name or package/kind/Name, or None to take it from the graph. Declaring it gives the Binding its nodes at boot, so the address space does not depend on start-up timing. A type whose package is not installed is fatal at init... |
| Instance Variable | name |
The Binding's name. The message is one complex Variable of that name, and a field browses below it as <name>/<field path>. Status, Health, Process and Consumption are reserved for the Machinery Monitoring sub-structures (OPC 40001-1). |
| Instance Variable | path |
The ROS2 topic. |
| Instance Variable | qos |
The QoS profile to request, or None to discover one: the most permissive request compatible with every current publisher, re-resolved once if the topic was empty when the Binding opened, and relaxed when the middleware reports a publisher it cannot accept... |
| Instance Variable | rename |
New browse names by field path, such as {"pose/position/x": "East"}. A name is taken as is and must already follow the naming rule; a path that is not rendered is refused at init. Fixes a name collision without a Projection. |
| Instance Variable | required |
Whether the StartupSkill waits for a publisher on this topic before Running. Presence only, never first data. |
| Instance Variable | startup |
Seconds that wait lasts, or None for ~opensmi.ros2.server.config.ROS2Config.startup_timeout. Refused when the Binding is constructed without required. |
| Property | needs |
Return whether this Binding learns its shape only by watching the ROS2 graph. |
| Property | selection |
Return this Binding's field selection. |
Refuse a startup deadline nothing waits on, and a rate the server cannot keep.
| Raises | |
RequiredDeclarationError | When startup_timeout is declared without required, or is not positive. |
DeclarationError | When max_rate is not above zero and at most the publisher's ceiling, the name is one the Machinery Monitoring reserves, or group is not one of its four. |
How many messages the subscription buffers. It is the slack a slow event loop gets before the oldest sample is dropped.
The Machinery Monitoring sub-structure the Binding is filed in, one of Status, Health, Process and Consumption (OPC 40001-1), or None to sit directly in the Monitoring. With it the message browses as <group>/<name>/<field path>, in a FolderType Object the Component's Bindings share.
The most messages per second written to the variables, in hertz, or None to
mirror every message. The limit is per Binding, so one message's fields stay one snapshot. The
first message after a quiet spell is written at once, then at most one per 1 / max_rate (the
newest), and a message still waiting when the topic stops is written at the end of its window.
Unwritten messages are not decoded. Above zero and at most
~opensmi.ros2.server.publisher.MAXIMUM_RATE.
The ROS2 type, package/Name or package/kind/Name, or None to take it from the graph. Declaring it gives the Binding its nodes at boot, so the address space does not depend on start-up timing. A type whose package is not installed is fatal at init. Leaving it out is the graph-driven case: no nodes until the topic appears, and the only kind that makes the Machine poll the graph.
The Binding's name. The message is one complex Variable of that name, and a field browses below it as <name>/<field path>. Status, Health, Process and Consumption are reserved for the Machinery Monitoring sub-structures (OPC 40001-1).
The QoS profile to request, or None to discover one: the most permissive request compatible with every current publisher, re-resolved once if the topic was empty when the Binding opened, and relaxed when the middleware reports a publisher it cannot accept. Declared, it is honoured exactly and never adapted. Neither is fatal or blocks startup.
New browse names by field path, such as {"pose/position/x": "East"}. A name is taken as is and must already follow the naming rule; a path that is not rendered is refused at init. Fixes a name collision without a Projection.
Whether the StartupSkill waits for a publisher on this topic before Running. Presence only, never first data.
Seconds that wait lasts, or None for
~opensmi.ros2.server.config.ROS2Config.startup_timeout. Refused when the Binding is
constructed without required.