File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1560,7 +1560,7 @@ class Node : public std::enable_shared_from_this<Node>
1560
1560
* has an additional sub-namespace (short for subordinate namespace)
1561
1561
* associated with it.
1562
1562
* A subordinate node and an instance of this class share all the node interfaces
1563
- * such as `rclcpp::node_interfaces::NodeParameterInterface `.
1563
+ * such as `rclcpp::node_interfaces::NodeParametersInterface `.
1564
1564
* Subordinate nodes are primarily used to organize namespaces and provide a
1565
1565
* hierarchical structure, but they are not meant to be completely independent nodes.
1566
1566
* The sub-namespace will extend the node's namespace for the purpose of
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ TEST_F(TestNode, subnode_parameter_operation) {
313
313
314
314
auto value = subnode->declare_parameter (" param" , 5 );
315
315
EXPECT_EQ (value, 5 );
316
- // node and sub-node shares NodeParameterInterface , so expecting the exception.
316
+ // node and sub-node shares NodeParametersInterface , so expecting the exception.
317
317
EXPECT_THROW (
318
318
node->declare_parameter (" param" , 0 ),
319
319
rclcpp::exceptions::ParameterAlreadyDeclaredException);
You can’t perform that action at this time.
0 commit comments