module documentation

What is in scope, and how each type in it is rendered.

Every ROS2 type in SCOPE is classified in CLASSIFIED with one of four verdicts, and a CI job checks the record against a live ROS2 installation in both directions: an unclassified type fails the build, and so does a classification that no longer matches what the registry does. The check runs from the ROS2 side only, because most of what the framework resolves (device health, counters, identification, the state machines) has no ROS2 source.

  • WALK: the generic field-walk renders it.
  • CURATED: a shipped Projection renders it, because the walk would get it wrong.
  • KEYED: it repeats a message whose elements a client browses, so a ~opensmi.ros2.server.bindings.KeyedBinding makes them members of their own. The walk could also render it, as one array of a derived structure. A diagnostic id is a thing to subscribe to, and a waypoint is a value in a list.
  • EMPTY: it has no fields and renders nothing. std_msgs/msg/Empty is the request of every no-argument service, so refusing it would stop a Machine over a correct declaration.

The std_msgs multi-arrays and sensor_msgs/msg/PointCloud2 are KEYED even though their data suits a blob, because their layout/dim and fields are lists somebody wants to read one at a time. A deployment binds the bulk buffer with its own ~opensmi.ros2.server.recipes.Blob and excludes fields.

rcl_interfaces is absent on purpose. Its one type used here, ParameterValue, never reaches OPC UA: a ROS2-parameter declaration names one typed field of the union and gets a scalar (opensmi.ros2.server.parameters). Vendor packages are not listed either, since no shipped Projection covers a vendor type. The first one that does should bring its package into this record.

Constant CLASSIFIED Undocumented
Constant CORE The packages the completeness check refuses to run without.
Constant CURATED The verdict of a type this package curates because the walk would get it wrong.
Constant EMPTY The verdict of a message with no fields.
Constant KEYED The verdict of a type whose elements a client browses individually.
Constant SCOPE The interface packages whose message types must all be classified.
Constant WALK The verdict of a type the walk renders correctly.
CLASSIFIED: Mapping[str, str] =

Undocumented

Value
{'builtin_interfaces/msg/Duration': WALK,
 'builtin_interfaces/msg/Time': WALK,
 'std_msgs/msg/Bool': WALK,
 'std_msgs/msg/Byte': WALK,
 'std_msgs/msg/ByteMultiArray': KEYED,
 'std_msgs/msg/Char': WALK,
 'std_msgs/msg/ColorRGBA': WALK,
...
CORE: tuple[str, ...] =

The packages the completeness check refuses to run without.

Without this, an image with none of them would pass by checking nothing.

Value
('std_msgs', 'geometry_msgs', 'sensor_msgs', 'nav_msgs')
CURATED: str =

The verdict of a type this package curates because the walk would get it wrong.

Value
'a shipped Projection renders it'
EMPTY: str =

The verdict of a message with no fields.

Value
'it has no fields, so there is nothing to render'
KEYED: str =

The verdict of a type whose elements a client browses individually.

Value
'it repeats a message whose elements are nodes of their own'
SCOPE: tuple[str, ...] =

The interface packages whose message types must all be classified.

These are ros2/common_interfaces plus builtin_interfaces.

Value
('builtin_interfaces',
 'std_msgs',
 'geometry_msgs',
 'sensor_msgs',
 'nav_msgs',
 'diagnostic_msgs',
 'actionlib_msgs',
...
WALK: str =

The verdict of a type the walk renders correctly.

Value
'the generic field-walk renders it'