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
{{ message }}
This repository was archived by the owner on May 31, 2025. It is now read-only.
In my case, the subscriber receives an empty std_msgs/String.
The rationale in http://wiki.ros.org/CppStyleGuide is given as: "It is typical to develop software with assertion-checking enabled, in order to catch violations. When nearing software completion and when assertions are found to always be true in the face of extensive testing, you build with a flag that removes assertions from compilation, so they take up no space or time."
It is reasonable as all pub/sub relationships should be unit tested. However such testing is very non-trivial and tedious in some cases. Therefore I think that this particular check should not be skipped in release modes, which would facilitate the detection of such type erasure failures on published messages.