Skip to content

Commit bf425d8

Browse files
committed
change param descriptor key name to ros__parameter_descriptors
Signed-off-by: Brian Wilcox <[email protected]>
1 parent e12a2b3 commit bf425d8

7 files changed

+9
-9
lines changed

rcl_yaml_param_parser/src/impl/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C"
2828
#endif
2929

3030
#define PARAMS_KEY "ros__parameters"
31-
#define PARAMS_DESCRIPTORS_KEY "parameter__descriptors"
31+
#define PARAMS_DESCRIPTORS_KEY "ros__parameter_descriptors"
3232
#define NODE_NS_SEPERATOR "/"
3333
#define PARAMETER_NS_SEPERATOR "."
3434

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node1:
2-
parameter__descriptors:
2+
ros__parameter_descriptors:
33
bar: 42
44
foo:
55
read_only: true

rcl_yaml_param_parser/test/correct_param_descriptors.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
node_ns:
55
node1:
6-
parameter__descriptors:
6+
ros__parameter_descriptors:
77
param1:
88
type: 2
99
min_value: 5
@@ -23,7 +23,7 @@ node_ns:
2323
foo:
2424
bar: 10
2525
baz: "hello"
26-
parameter__descriptors:
26+
ros__parameter_descriptors:
2727
foo:
2828
bar:
2929
description: "namespaced parameter"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node1:
2-
parameter__descriptors:
2+
ros__parameter_descriptors:
33
foo:
44
read_only: true
55
invalid_description: "This is an invalid descriptor key"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node1:
2-
parameter__descriptors:
2+
ros__parameter_descriptors:
33
foo:
44
min_value: "5"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node1:
2-
parameter__descriptors:
2+
ros__parameter_descriptors:
33
foo:
44
description:

rcl_yaml_param_parser/test/overlay_descriptors.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
node_ns:
22
node1:
3-
parameter__descriptors:
3+
ros__parameter_descriptors:
44
param1:
55
max_value: 200
66
param2:
77
min_value: -2.0
88
node2:
9-
parameter__descriptors:
9+
ros__parameter_descriptors:
1010
foo:
1111
bar:
1212
read_only: true

0 commit comments

Comments
 (0)