by Doxin · 6mo ago · 0 comments
needle_position = needle_position * 0.9 + desired_needle_position * 0.1
is very easy to implement, easier than linear if you ask me, and should give it a nice damped movement. The constants can be tuned to go as quick or as slow as you like of course.
No comments yet.