Thanks for your answer!!
If i flatten it, how can i get the previous shape on the subscriber site?
So far i got no experience with creating a custom message. Could you maybe give me an example on how i could do this? I couldn‘t figure out how it works on the [tutorial](https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Custom-ROS2-Interfaces.html) for numpy arrays.
I also tried to convert it to a string which is deprecated and converts it direct to bytes. But also sending this message with bytes didn’t work.
The data i collect is Sensordata. The purpose of sending this data is, that i have a AI which is predicting something based on the Sensordata.
The AI is a LSTM-Network, thats why the data has to be in that shape. Maybe there is a better way of getting the data to my AI node?
↧