How to obtain intermediate points from line strip marker in rviz?
Hi all!
This is a brief video about what I have:
As it can be seen, I highlight the resulting path between two points and I show a marker in each edge of the segments of the path. My question is if can I obtain the intermediate points of each line in order to create a marker in that points to simulate a continuous movement and not like jumps from one edge to other that is what I have now? I am using kinetic version and Python.
King regards and thank you so much for your help!!
You should be able to use linear interpolation to find the points along the line pretty easily. You could use three calls to numpy.interp to work out the positions in X, Y andZ respectively.