Python DiagnosedPublisher crashes on publishing headerless topic #308
Labels
enhancement
This tackles a new feature of the code (and not a bug)
PR welcome 💞
This issue has no PR that tries to implement it. Please create one!
ros2
PR tackling a ROS2 branch
When publishing a headerless topic the node crashes with an AttributeError.
This is because:
The issue is within the following lines:
diagnostics/diagnostic_updater/diagnostic_updater/_publisher.py
Lines 116 to 147 in c8941bb
See below a redacted example of the traceback when publishing a String message:
I experienced this issue using the library in ROS 1, but the same situation is evidently present in the ROS 2 code.
The text was updated successfully, but these errors were encountered: