How to use C++ subscribe to a custom msg array published by Python
I use python publish a msg like this:
InfoData.msg
int32 Num
string color
string name
InfoDataArray.msg
InfoData[] Infos
Now I want to use C++ subscribe the InfoDataArray.mag
and store in the Structure. how to do this ?
Please tell us what you've tried yourself already.
We're here to help, but not to write your code for you.
Susbcribers and publishers are language agnostic. It doesn't matter whether you "publish in Python" or "subscribe in C++". The data will arrive.