Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rclrs/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,12 @@ impl NodeState {
self.parameter.declare(name.into())
}

/// Access to this node's parameter interface, for the parameter implementation itself.
#[cfg(test)]
pub(crate) fn parameter_interface(&self) -> &ParameterInterface {
&self.parameter
}

/// Enables usage of undeclared parameters for this node.
///
/// Returns a [`Parameters`] struct that can be used to get and set all parameters.
Expand Down
Loading
Loading