Avoid loops when using `geometry_msgs/PoseArray.msg`
I am working on motion prediction based on a particle cloud from AMCL, but I have difficulties vectorizing the PoseArray from the particle cloud in MATLAB. Is there a fast way like arrayfun
to avoid loops for each particle in MATLAB/C++/Python? arrayfun
works well, but it is not super fast.