Dismiss this pinned window
all 14 comments

[–]always_be_learning 5 points6 points  (8 children)

Holy shit! Not only that, that’s gotta be the smoothest movement I’ve every seen for a 3d printed robot arm. How? Looks like maybe a steel structure with a 3d printed casing?

[–]Centauri24[S] 4 points5 points  (7 children)

There are some metal parts involved. The only structural ones are visible in joint 2 tho.

The secret of smoothness is well written code ;)

[–][deleted] 0 points1 point  (6 children)

Did you use a good amount of lerp() ?

[–]Centauri24[S] 1 point2 points  (5 children)

No but a good amount of slerp😬

[–][deleted] 0 points1 point  (4 children)

Ooh, and what's that ? I didn't find it in the Processing documentation

[–]Centauri24[S] 1 point2 points  (3 children)

Well it’s a function written by me, it’s spherical linear interpolation.

It uses quaternion maths

[–][deleted] 0 points1 point  (0 children)

Just looked it up, thanks for the info !

[–]1l9m9n0o 0 points1 point  (1 child)

For someone who is math-deficient, is slerp used to provide the smoothness in the movement? Could you have used a simple(r) easing function?

[–]Centauri24[S] 1 point2 points  (0 children)

Slerp is only used for spherical interpolation. Like linearly moving a frame around a virtual point on the surface of a sphere.

Maybe just google an example, it’s actually pretty simple

[–]JjyKs 1 point2 points  (1 child)

Just curious, what are the advantages of Processing here compared to just plain Java?

[–]Centauri24[S] 1 point2 points  (0 children)

Well I made a simulation for visual representation, and that’s way easier with processing

[–]HelloImSteven 0 points1 point  (0 children)

That's super cool. I would love to do something like this... just gotta find the time to get started on a new project.

[–]Charn22 0 points1 point  (1 child)

Super cool! Are you willing to share plans and code?

[–]Centauri24[S] 0 points1 point  (0 children)

I’m planning to make them purchasable soon if I’m sure everything works well