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
fromto fully-qualified form, compare exact, substitute the (also expanded)toof the first matching rule; no match → the expanded source name. A rule whosefrom/tofails to expand is skipped (never masks the name expansion itself).
Type Aliases§
- Resolved
Name - Owned storage for a resolved (fully-qualified) entity name.