Skip to main content

Module names

Module names 

Source
Expand description

ROS 2 name expansion + launch remap resolution (issue 0255 / phase-306 W3).

The ONE resolution seam both entry-codegen twins funnel through: the Rust ExecutorSink (nros node_runtime) and the C-ABI registration paths (nros-c / nros-cpp via the executor-side remap table) call these functions so the two languages can never drift on name semantics.

Scope: basic name remapping only — a rule matches when its expanded from equals the expanded source name (exact FQN comparison, no wildcards, no node-name prefixes). First matching rule wins.

Constants§

MAX_RESOLVED_NAME_LEN
Maximum bytes in a fully-qualified resolved entity name. Matches nros::node_metadata::METADATA_STRING_CAPACITY (the source-name bound entering the resolution seam).

Functions§

expand_name
Expand a source-level ROS name to its fully-qualified form (ROS 2 name expansion rules):
resolve_name
Resolve a source-level entity name through launch remap rules: expand the source name AND each rule’s from to fully-qualified form, compare exact, substitute the (also expanded) to of the first matching rule; no match → the expanded source name. A rule whose from/to fails to expand is skipped (never masks the name expansion itself).

Type Aliases§

ResolvedName
Owned storage for a resolved (fully-qualified) entity name.