Convert Float32MultiArray msg to numpy ndarray
Hello,
my node subscribes to a list with std_msgs/Float32MultiArray[] messages. The list has 3 elements. Each element is a Float32MultiArray[] and has a dimension of (512,512)
This never changes. I need to feed this message to another programm. But this programm requires numpy ndarrays as input as it uses the numpy.tobytes() function. Therefore I need to convert this Multiarray message to a numpy ndarray. What is the best way to do this?
Thanks
Can you check whether the packages/solutions mentioned in #q301200 work for you?
Were you able to resolve this?