RobotLabLTH / skiros2

A skill-based platform for ROS v.2
Other
163 stars 20 forks source link

Fix: Copy namespace to avoid changing keys #56

Closed matthias-mayr closed 1 year ago

matthias-mayr commented 1 year ago

On ROS noetic with python3 and rdflib from pip, it gives this otherwise: "RuntimeError: dictionary keys changed during iteration"

This is a really ugly fix, but I guess since it only happens when initializing, the impact should not be too much. Feel free to comment.

matthias-mayr commented 1 year ago

Totally correct & fixed with the second commit.