c# - Smoothing function for PRM output -


i've implemented probabilistic roadmap method function, works , executes correctly. problem output of prm not smooth example, if hand needs rotate 30 100 degrees, steps might 30,55,42,66,99,100, wat able smoothen transition betwen 30 , 100 degree. know problem related tp smoothing of signal yet dont know type of smoothing might able job. no sophisticated method needed. implementation in c#, if possible wish let such job done library. there such library? can give array of integers , likewise produce array of smoothed values.

i think need simple curve fitting algorithm. quick google search give lots of example code. , if want have strictly increasing curve, need sort values before curve fitting.

if interested in reaching target, can drop values in between , linear interpolation start end or similar.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -