Page 1 of 1

How to smooth the path in V-rep

Posted: 29 Oct 2019, 10:40
by scut_whg
Image
Image
I used OMPL to do a motion planning.The generated path curve is not bad at first glance, but you can zoom in on some local areas to know that it is not very smooth. Maybe you can slow down the robot's movement speed.
So how to smooth the path?

Re: How to smooth the path in V-rep

Posted: 30 Oct 2019, 09:10
by fferri
Path smoothing (while maintaining path validity) can only be performed by OMPL via PathSimplifier::smoothBSpline which currently not integrated in the plugin but you could try to modify the plugin code (v_repExtOMPL/plugin.cpp), calling the function PathSimplifier::smoothBSpline in void simplifyPath() after the call to pathSimplifier->simplify and see how that works for you.