You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***getAll()** or **getAllComponentPrivate()** Attempt to get all properties of this component (and its sub-services)
33
+
*`getAll()` or `getAllComponentPrivate()` Attempt to get all properties of this component (and its sub-services)
34
34
from the ROS parameter server in the **COMPONENT** namespace.
35
-
***getAllRelative()** Attempt to get all properties of this component (and its sub-services)
35
+
*`getAllRelative()` Attempt to get all properties of this component (and its sub-services)
36
36
from the ROS parameter server in the relative namespace.
37
-
***getAllAbsolute()** Attempt to get all properties of this component (and its sub-services)
37
+
*`getAllAbsolute()` Attempt to get all properties of this component (and its sub-services)
38
38
from the ROS parameter server in the absolute namespace.
39
-
***getAllPrivate()** Attempt to get all properties of this component (and its sub-services)
39
+
*`getAllPrivate()` Attempt to get all properties of this component (and its sub-services)
40
40
from the ROS parameter server in the node's private namespace.
41
41
42
42
##### Operations for setting all properties
43
-
***setAll()** or **setAllComponentPrivate()** Stores all properties of this component (and its sub-services)
43
+
*`setAll()` or `setAllComponentPrivate()` Stores all properties of this component (and its sub-services)
44
44
on the ROS parameter server from the similarly-named property in the **COMPONENT**'s private namespace.
45
-
***setAllRelative()** Stores all properties of this component (and its sub-services)
45
+
*`setAllRelative()` Stores all properties of this component (and its sub-services)
46
46
on the ROS parameter server from the similarly-named property in the relative namespace.
47
-
***setAllAbsolute()** Stores all properties of this component (and its sub-services)
47
+
*`setAllAbsolute()` Stores all properties of this component (and its sub-services)
48
48
on the ROS parameter server from the similarly-named property in the absolute namespace.
49
-
***setAllPrivate()** Stores all properties of this component (and its sub-services)
49
+
*`setAllPrivate()` Stores all properties of this component (and its sub-services)
50
50
on the ROS parameter server from the similarly-named property in the node's private namespace.
51
51
52
52
53
53
##### Operations for getting single properties
54
54
55
-
***getParam(ros_name, rtt_name)** Get the ROS param **ros_name** and store it in the RTT property **rtt_name**. Use leaders like `~` and `/` for private and absolute resolution.
56
-
***get(name ,policy)** Attempt to get the property named **name** (or populates the properties of a named RTT sub-service)
57
-
from the ROS parameter namespace specified by **policy**.
58
-
***getRelative(name)**
59
-
***getAbsolute(name)**
60
-
***getPrivate(name)**
61
-
***getComponentPrivate(name)**
55
+
*`getParam(ros_name, rtt_name)` Get the ROS param `ros_name` and store it in the RTT property `rtt_name`. Use leaders like `~` and `/` for private and absolute resolution.
56
+
*`get(name ,policy)` Attempt to get the property named `name` (or populates the properties of a named RTT sub-service)
57
+
from the ROS parameter namespace specified by `policy`.
58
+
*`getRelative(name)`
59
+
*`getAbsolute(name)`
60
+
*`getPrivate(name)`
61
+
*`getComponentPrivate(name)`
62
62
63
63
##### Operations for setting single properties
64
64
65
-
***setParam(ros_name, rtt_name)** Set the ROS param **ros_name** from the value in the RTT property **rtt_name**. Use leaders like `~` and `/` for private and absolute resolution.
66
-
***set(name, policy)** Attempt to set the property named **name** (or stores the properties of a named RTT sub-service)
67
-
in the ROS parameter namespace specified by **policy**.
68
-
***setRelative(name)**
69
-
***setAbsolute(name)**
70
-
***setPrivate(name)**
71
-
***setComponentPrivate(name)**
65
+
*`setParam(ros_name, rtt_name)` Set the ROS param `ros_name` from the value in the RTT property `rtt_name`*. Use leaders like `~` and `/` for private and absolute resolution.
66
+
*`set(name, policy)` Attempt to set the property named `name` (or stores the properties of a named RTT sub-service)
67
+
in the ROS parameter namespace specified by `policy`.
68
+
*`setRelative(name)`
69
+
*`setAbsolute(name)`
70
+
*`setPrivate(name)`
71
+
*`setComponentPrivate(name)`
72
+
73
+
##### Operations to create properties linked to a ROS param
74
+
75
+
The following operations of the `rosparam` service can be used to create properties
76
+
in the owner component that link to ROS parameters. When the properties are
77
+
`evaluate()`-d through `get()` or `set()`, the ROS parameter server is queried.
78
+
79
+
**IMPORTANT** Setting or getting the value of a ROS parameter through a
80
+
property is a non real-time safe operation and therefore it shouldn't be used
81
+
from within a real-time component.
82
+
83
+
*`addRosParamProperty_type_(name)` Adds a property of type `_type_` with name `name` to the owning task context which is linked to the ROS parameter with the same name in a `Relative` namespace resolution context.
84
+
*`addRosParamProperty_type_Relative(name)` Adds a property of type `_type_` with name `name` to the owning task context which is linked to the ROS parameter with the same name in a `Relative` namespace resolution context.
85
+
*`addRosParamProperty_type_Absolute(name)` Adds a property of type `_type_` with name `name` to the owning task context which is linked to the ROS parameter with the same name in a `Absolute` namespace resolution context.
86
+
*`addRosParamProperty_type_Private(name)` Adds a property of type `_type_` with name `name` to the owning task context which is linked to the ROS parameter with the same name in a `Private` namespace resolution context.
87
+
*`addRosParamProperty_type_ComponentPrivate(name)` Adds a property of type `_type_` with name `name` to the owning task context which is linked to the ROS parameter with the same name in a `ComponentPrivate` namespace resolution context.
88
+
*`addRosParamProperty_type_ComponentAbsolute(name)` Adds a property of type `_type_` with name `name` to the owning task context which is linked to the ROS parameter with the same name in a `ComponentAbsolute` namespace resolution context.
89
+
*`addRosParamProperty_type_ComponentRelative(name)` Adds a property of type `_type_` with name `name` to the owning task context which is linked to the ROS parameter with the same name in a `ComponentRelative` namespace resolution context.
0 commit comments