ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
752 stars 911 forks source link

roslaunch's rosparam loading is not additive anymore #2268

Closed rhaschke closed 2 years ago

rhaschke commented 2 years ago

rosparam doc states:

The load command is considered additive: if you declare a dictionary or namespace of parameters, those parameters will be added to any other parameters declared for that namespace. Similarly, load commands can override parameters previously declared.

However, this doesn't seem to be the case (anymore) and renders loading of a complex dictionary hierarchy from several sources impossible.

rhaschke commented 2 years ago

My fault. I was actually setting a list, not a dictionary. Looks like, for lists we never had additivity.