Ask Your Question

Revision history [back]

Create a custom message corresponding to the data you'd like to publish, then populate it with your ndarray, and publish. Or serialize it into a string field, but that's pretty hacky.

You cannot easily publish a numpy.ndarray by itself.