Create a Robotic Arm Using Forward Kinematics – Active Premium
Tutorial Details
- Difficulty: Advanced
- Platform: Flash (Flash Player 10.1)
- Language: AS3
- Software used: FlashDevelop with Flex SDK (Flash Pro used to draw the assets, but not needed)
- Estimated Completion Time: 60 minutes
Download Source Files
- Learn About Linear Kinematics
- Create a Mechanical Snake With Inverse Kinematics
- Create a Robotic Arm Using Forward Kinematics – Active Premium
Premium members, rejoice! It’s time for another Activetuts+ Premium tutorial. This time, you’ll learn how to use forward kinematics to create a robotic arm – in this case, the example is for an excavator, but you can use the techniques you’ll learn in all sorts of situations. It follows on nicely from our previous tutorials on linear kinematics and inverse kinematics. Read on to see what you’ll learn…
Forward Kinematics (FK) is a positioning algorithm. It’s not as complicated as it sounds if you associate it to sequence of actions from an excavator operator’s point of view. Beginning with the node closest to it, the operator configures the orientation of each node in the hope that the scoop will reach the location intended. Often, several attempts are made before achieving success. FK is an algorithm to perform such task.
In this tutorial, we shall attempt the implementation of FK and apply it onto an excavator from a 2D side view. Having understood this algorithm, one can easily adapt it to a 3D environment. Enjoy!
Preview
Let’s take a look at the final result we will be working towards:
Press the space key to scroll through nodes (the current one is marked by a red bracket). While you are at it, press the arrow keys to change the angle.
This tutorial covers the following:
- Explanation for FK’s Mathematical background.
- Hard-coded implementation of the FK.
- Object-oriented class to implement FK algorithm.
- Demonstration of FK class used in a project.
- Graphics (as seen above) applied to the demonstration.
Active Premium Membership
We run a Premium membership system which periodically gives members access to extra tutorials, like this one! You’ll also get access to Psd Premium, Vector Premium, Audio Premium, Net Premium, Ae Premium, Cg Premium, Photo Premium, and the new Mobile Premium too. If you’re a Premium member, you can log in and download the tutorial. If you’re not a member, you can of course join today!
Also, don’t forget to follow @envatoactive on twitter and grab the Activetuts+ RSS Feed to stay up to date with the latest tutorials and articles.


Discussion 0 Comments
No comments yet, be the first.