Polynomial Curve as Marker (Similar to visualization msgs) in rviz

asked 2019-08-18 08:05:48 -0600

vignesh gravatar image

I have a polynomial curve fitted (pink colored) between two lanes in the image as given below. I have the world coordinates of the curve but there is no way to visualize it in RVIZ since the visualization msgs does not support curved shapes. Marker type Line Strip can do that to an extent but does not replicate the curve accuratelyimage description.

Is there any other ROS package which has curvature support or any other way that I can develop on the lines of visualization msgs indigenously?

Thanks in advance.

edit retag flag offensive close merge delete

Comments

1

LineStrip with enough points would be my first suggestion. Any other way of doing this (writing a new RVIZ) plugin will be a lot of work for a minimal return. Is there a reason you can't simply enough enough points that it appears like a curve?

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2019-08-18 09:54:11 -0600 )edit

Line Strip will do but it won't be smoother as actual curve though. I looking to obtain the curve as an input for the autonomous navigation system not just for visualization. That's the reason.

vignesh gravatar image vignesh  ( 2019-08-18 15:54:49 -0600 )edit