Shop OBEX P1 Docs P2 Docs Learn Events
robotic arm BS/2 kinematics — Parallax Forums

robotic arm BS/2 kinematics

panagiotispanagiotis Posts: 14
edited 2006-01-26 20:27 in BASIC Stamp
Hello i have built a robotic arm. I use the bs/2. Does anyone knows how can i·write··the kinematics equations in the editor, in order to find the angles off the servos for a desired position in space;;i would appreciate any possible example or finished project in order to give me ideas. Thanks.

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-01-25 14:30
    panagiotis -

    Just a passing commnet - ALL CAPS is generally view as SHOUTING, and I doubt that was your intention. Unfortunately, some folks are offended when all caps are used for no reason. Personally, I sometimes use a single word or two in CAPS, just for empahsis.

    Since analog R/C servos offer no feedback information, you will need to use a servo controller board, which you might well need any way, depending on how articulated this arm is, and what other tasks will be going on concurrently with the operation of the arm. I believe the Parallax Servo Controllers (and perhaps others as well) offer positional feedback, but since I've never used one, I can't say much more than that. The Parallax Servo Controllers can be found here:
    http://www.parallax.com/detail.asp?product_id=28023

    Regards,

    Bruce Bates
  • neotericneoteric Posts: 144
    edited 2006-01-25 15:03
    Hey, could I see that arm?· Could you post a picture of it?· (sorry I cannot help with your question.)
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-01-25 16:07
    panagiotis,

    this is a cross posting- I attempted to help you in the thread you originally started, and you did not respond. I'm removing the other thread in lieu of this one.


    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • GotenGoten Posts: 70
    edited 2006-01-25 18:03
    turn.gif·What kind of THE KINEMATICS EQUATIONS, i really don't know how to use it on Pbasic, but i use the DENAVIT-HARTENBERG Algortihm, it's really good, but i use it just on paper.... Here 's an arm that i developed a few months ago 4 Goverment Xmas Party.

    ·if u want more pictures, just ask

    7.jpglab6.jpg··Dibujo12.jpg





    Best Regards from Santiago,Chile
    GoTeN
  • panagiotispanagiotis Posts: 14
    edited 2006-01-25 21:03
    thanks to all..i have a few more things to fix on the arm and i will post photos. GoTeN, it would be greate if you could send me a scanned example of the DENAVIT-HARTENBERG Algortihm. thanks.
  • GotenGoten Posts: 70
    edited 2006-01-25 21:28
    turn.gif·i attach a PDF file with an arm kinematic Denavit-Hartenberg Algorithm. (it's in spanish, i'm sorry, i guess you could translate it with a good software or maybe search on google D-H Algorihm)

    ·If you need some more information like the matrix and everything, just ask for it.


    For Chile
    Best Regards
    GoTeN
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-01-25 23:09
    Panagiotis,

    What is the specific problem you are having? Solving the matricies? Do you have a copy of Matlab?

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-01-25 23:42
    Goten -

    Since Denavit-Hartenberg algorithms appear to use matrix math, if you're asking if any of the PBASIC Stamp platforms can do matrix math, the answer is no. I have no experience with the Javelin Stamp, but I suspect the answer on that Stamp platform is no as well. As far as I am aware even the most advanced Parallax platform, the SX/B compiler, has no native matrix math features. Presuming the SX/B compiler supports a macro language (and I don't know that it does) one might be able to design a set of generalized, but limited, matrix math routines (Mat_Add, Mat_Sub, Mat_Mult, Mat_Sum, Mat_Trans, Mat_Sort, Mat_Ident, Mat_Invert, etc). Just remember that many matrix math functions are quite time consuming and memory storage intensive as well.

    There MAY be some math co-processors which can handle matrix math, but I've not used any that do, so I have no recommendations there. Here is a web site which offers some freeware macros for Microsoft Excel so that you can use it for matrix math calculations. I'm sorry it's an Italian web site, but I suspect BabelFish or one of the other web page translators might be quite helpful in translating the page if you don't read Italian. Here is that link:
    http://digilander.libero.it/foxes/

    As others have suggested, you might do well to do the matrix math on a PC (by MatLab or whatever means) and then just transmit the resolved parameters to the Basic Stamp for processsing.

    Regards,

    Bruce Bates

    Post Edited (Bruce Bates) : 1/25/2006 11:45:21 PM GMT
  • GotenGoten Posts: 70
    edited 2006-01-26 01:41
    yes, indeed.

    You're completely right Bruce, but anywahy D-H algorithm its a great exersise.·Then·could get practice with inverse kinematics.

    Robotics & Math goes together....·
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2006-01-26 02:27
    Is this a real cross-posting? The other post on inverse kinematics in the Robotics forum was from a different user, and was a bit more specific.
    Just wondering...

    Anybody interested in doing higher order math might want to check out an application called Ch, which is a C/C++ interpreter.
    It can do quite a bit, is extensible, and freely available for for commercial use (Standard version) or academic use (Professional version).
    You don't need to be a student/teacher to freely use the Pro version, if you are using it for personal education.

    Here is the url:

    www.softintegration.com
  • kelvin jameskelvin james Posts: 531
    edited 2006-01-26 18:36
    Just for interests sake and a laugh, i dug through some of my old notes and found an old program i used on my TRS80 to multiply matrices. Pretty crude and simple, but it worked, and sure beat trying to do it on paper. Anyway, as you can see the math is pretty basic. I scanned the sheet which was a little faded, most of it can be made out fairly easily. You may want to do the " save link target " thing.

    kelvin

    Post Edited (kelvin james) : 1/26/2006 6:39:43 PM GMT
    5072 x 6600 - 1M
  • panagiotispanagiotis Posts: 14
    edited 2006-01-26 20:27
    thanks all of you. every single answer has helped me. I ll try to consider what you have said and if i cannot come up with a solution i will contuct again..
Sign In or Register to comment.