micro-ROS / system_modes

System modes for ROS 2 and micro-ROS
Apache License 2.0
43 stars 9 forks source link

Segfault when using namespaces #76

Open norro opened 3 years ago

norro commented 3 years ago

Mode manager raises a segfault when working with nodes that live in namespaces. The error happened when trying to prepend a namespace (e.g., in the example for one of the nodes) and prepending it to the node definition in the SMH file.

norro commented 3 years ago

The problem is not directly related to namespaces. Namespaces not correctly declared for every instance of the particular part in the YAML file lead to a faulty vector access. If namespaces are properly and consistently declared in the SMH yaml file, no segfault occurs.