You are browsing as a guest. Sign up (or log in) to start making projects!

7h 37m 4s logged

Robotic Arm progress - a complete 2D simulation

Below you can preview the model I have been working on recently to understand 2D inverse kinematics.

  • The model below has a fixed configuration - whilst it is as simple in the code as adding a link, the mathematics of the system cannot be automated as it is hand derived and hard coded.

  • You can see in the recording that the target can be moved around with its two coordinate sliders - and the “analytical” solver can approximate a solution for the system. As the system contains redundant components (having more links and joints than it needs in 2D space, the system has infinite solutions to coordinates that it can reach. This means in order to find a solution, we must constrain the system further. I have a crude approach (visible in the mathematics showing how no arm can be “d” units away from any other arm, and so this entails an “arc” like configuration)

  • The numerical solver attempts to find this value of “d” by searching for a value of d that minimises the error (or difference) between the target and the end effector of the system. It does so in “steps” and which can be edited by the slider. The error capacity slider limits how many solutions can be pushed to the solutions array and so naturally the smaller this value gets fewer solutions are appended to this array, yet they are more precise, as shown in the recording.

As for the application itself - it was written in Rust with Egui - a popular graphics framework that I picked out for this portion of the project.

Thanks for your time!

0
77

Comments 0

No comments yet. Be the first!