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
Copy file name to clipboardExpand all lines: source/Releases/Release-Humble-Hawksbill.rst
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -284,6 +284,13 @@ See https://github.com/ros2/ros2cli/pull/642 for more details.
284
284
285
285
ros2 param dump /my_node_name > my_node_name.yaml
286
286
287
+
``ros2 param set`` now accepts more YAML syntax
288
+
"""""""""""""""""""""""""""""""""""""""""""""""
289
+
290
+
Previously, attempting to set a string like "off" to a parameter that was of string type did not work.
291
+
That's because ``ros2 param set`` interprets the command-line arguments as YAML, and YAML considers "off" to be a boolean type.
292
+
As of https://github.com/ros2/ros2cli/pull/684 , ``ros2 param set`` now accepts the YAML escape sequence of "!!str off" to ensure that the value is considered a string.
0 commit comments