Python Project | Forward and Inverse Kinematics with 3 DOF Planar Robot

Sdílet
Vložit
  • čas přidán 6. 08. 2024
  • Hello Engineers! This is a 3 DOF Planar robot that I built to demonstrate both forward and inverse kinematics. Calculations were done using Python and the Dynamixel motors were controlled using the Arbotix micro-controller and the Arduino IDE. If you guys are building something similar feel free to leave a link in the comments below as I would love to see it!
    ☑️ Materials
    AX-12A Motors - amzn.to/2uzxxHx
    Whiteboard - amzn.to/2myJNDR
    Rubber Feet - amzn.to/2vyzW6b
    FTDI cable - amzn.to/2O4MGsj
    12V power supply - amzn.to/2zSTLtf
    Arbotix M Microcontroller - www.trossenrobotics.com/p/arbo...
    Bioloid Brackets - www.trossenrobotics.com/store/...
    ✅ Resources
    The code can be found on my GitHub page:
    github.com/cckieu/3-dof-planar
    ☑️ About QRbx
    Hi and welcome to my channel! My name is Aary Kieu and I have a B.S in Electrical Engineering. I enjoy working with robotics and will be showcasing some of my projects here. I will also be posting engineering-related tutorials (ones I wished were available when I was starting out in Robotics).
    ❔ Questions/Suggestions
    Feel free to let me know in the comments below. I will respond as soon as I can. Cheers!

Komentáře • 52

  • @muhammadsyazwan4974
    @muhammadsyazwan4974 Před 2 lety +3

    Super cool project! Complicated topics but it was done in a very simple and fun way!

  • @chaitanyasutar4252
    @chaitanyasutar4252 Před 3 lety +2

    Wow.! Thank you man...This I always wanted..This is the Most fundamental practical demonstration for understanding

  • @darkrasen
    @darkrasen Před 3 lety +1

    Awesome project, thank you so much for sharing the code!

  • @GaryMcKinnonUFO
    @GaryMcKinnonUFO Před 2 lety

    Very cool indeed, thanks for sharing.

  • @kotai2003
    @kotai2003 Před 3 lety

    Very nice instruction. Thanks a lot.

  • @5621346
    @5621346 Před 3 lety

    nice project!

  • @user-rx7iz5om2j
    @user-rx7iz5om2j Před rokem

    It's very very helpful. Thank you sir.

  • @user-ym7fr7cu2w
    @user-ym7fr7cu2w Před 4 lety +1

    I am a Korean developer.
    Your video was very helpful.

  • @navidam4003
    @navidam4003 Před 3 lety +2

    Can you please explain how you calculated wx = px - a4*cos(phi)
    wy = py - a4*sin(phi) equations....will be very much helpful if you explain the equation part

  • @kaylaschuchalter5788
    @kaylaschuchalter5788 Před 2 lety

    great project! what is the differance in equations of inverse kinimatics if i want elbow up??

  • @aubbdulhannanthanamas3173

    How much should be included in the configuration corner? thank you.

  • @hassanismail6120
    @hassanismail6120 Před 4 lety

    Hello, I want to make 6 DOF robotic arm. can't we run the motors directly from python? From where i get the 6 DOF robotic arm ik equations?

  • @robonxt
    @robonxt Před 4 lety

    Nice! Is there an code for the Arduino for 3 DOF? It's not in the github repo, and I'm not sure how to modify your 2 DOF program. Thanks!

  • @mysticalsoulqc
    @mysticalsoulqc Před 3 lety

    Thank you for intro, i would like to connect my gt2560 prussa that i converted in a robotic arm to blender. would you be kind and share a script for that. i am new at this. thank you, i will open source what i do also. thank you

  • @songtingyu626
    @songtingyu626 Před rokem

    hello, im doing a project on a 4 dof robotic arm but i dont really know how to use inverse kinematics to control my arm to move to a specific location can you help me with it? appreciate it.

  • @cengiztezel4576
    @cengiztezel4576 Před 4 lety

    its looking amazing! can you add PID control on python ?

    • @QRobotix
      @QRobotix  Před 4 lety

      Yeah you can if you want to.

  • @harisshs3461
    @harisshs3461 Před 3 lety

    Can anyone say, how to calculate inverse kinematics for robotic arm (3dof) L1 =4.8inch , L2=4.8inch , L3=5inch?
    How do I determine the value of phi ?

  • @user-dw4vu8je1d
    @user-dw4vu8je1d Před 3 měsíci

    Hello, I'm a student studying robotics. If you look at the video, the Arduino code has A, B, C, and D, does it work only with A code?

  • @Game.of.thrones.714
    @Game.of.thrones.714 Před 2 lety +1

    i liked the vid. but i have some doubts where can i get the solution?
    could you please help me in it?

  • @benjaminmclaws3477
    @benjaminmclaws3477 Před 4 lety

    What method do you use for inverse kinematics? Or does your program just use trigonometry to solve for the motors positions?

    • @QRobotix
      @QRobotix  Před 4 lety +1

      Yes the inverse kinematics is derived from trigonometry

  • @CooperDuper3000
    @CooperDuper3000 Před 3 lety +1

    i just want to inform you that you have a little mistake in your arduino code. For Example @04:59 you can see that you have specified pos_two = 86.4 but you declared pos_two as an int that means you can not store float values inside of an int variable. What you will get instead is that 86.4 will mit truncated to just 86 and stored as an int variable inside pos_two. If you do that a lot inside your project you will get a heck lot of inperfektions of your positioning. Solution: Use float or double instead of int for any floatingpoint number you want to store inside an variable. *Cheers*

  • @kestans
    @kestans Před 3 lety +2

    Orders whiteboard, ends up drawing coords himself :) just print lines on paper and glue on paper on a mounting surface :)

  • @GM-sn2vg
    @GM-sn2vg Před rokem +1

    why do you have 6 lengths values for your forward kinematics???

    • @jadenbenton4472
      @jadenbenton4472 Před rokem

      ong

    • @jadenbenton4472
      @jadenbenton4472 Před rokem +1

      I figured it out. Think of the original 3 distances you have as the hypoteneuse of a triangle. These three distances must be broken down into their x and y components respectively, sqrt(x^2+y^2) = h( one of your original lengths). Robotics 1 U1 (Kinematics) S5 (HTM) P2 (HTM by Denavit Hartenberg) explains it best in my opinion.

  • @ayeleyorr6609
    @ayeleyorr6609 Před 2 lety

    plz can i get the arduno code

  • @kridsadahaengphit8514
    @kridsadahaengphit8514 Před 2 lety

    if we need control degree by gui. how to write code interrup?

    • @QRobotix
      @QRobotix  Před 2 lety

      Maybe use pythons tkinter library?

  • @ngocsangao5536
    @ngocsangao5536 Před 3 lety

    Love your project. Can you send me ardruino code and your connecting from robot to ardruino

    • @QRobotix
      @QRobotix  Před 3 lety

      Hi the code is in the description. You can check out my dxl playlist for connections

  • @nttn_mare
    @nttn_mare Před 3 lety

    I built a 5 Dof Robotic Arm and I need your help. Can I sent you a picture of it? I dont know how to calculate the inverse kinematic of it

    • @QRobotix
      @QRobotix  Před 3 lety

      Do you have a video? Share me the link

    • @nttn_mare
      @nttn_mare Před 3 lety

      @@QRobotix czcams.com/video/-cm-rkKHva4/video.html

    • @nttn_mare
      @nttn_mare Před 3 lety

      @@QRobotix Are you able to help me? Would appreciate it :) I am only 18 and i tried to code the inverse kinematics for the robotic arm. But I failed.

  • @erentekin227
    @erentekin227 Před 2 lety

    hello sir, I am designing a 4 axis robot arm for my university project. What is required of me in my project is to move my robot arm lineary in x,y,z axes with 3 potentiometers. I need your help with software. I would be very happy if you could help.

  • @himanshkumarsahu6473
    @himanshkumarsahu6473 Před měsícem

    arduino code plzz

  • @max.s_tech
    @max.s_tech Před rokem

    Could somebody translate this python code to c++ code? Please it would be sooo helpfull

  • @varunwalimbe3468
    @varunwalimbe3468 Před 4 lety

    I am making a 3DOF Robotic Arm that can pick and place objects. I am not able to figure out inverse kinematics equations by myself as there are no resources at all. Yours Is the only video which is practical and I have understood so far. Can you please make a video on inverse kinematics including Z axis also ? This is because for pick and place robotic arm Height is not fixed.. So Z axis will change.will you please make it? I am really confused how to figure out that phi angle

    • @QRobotix
      @QRobotix  Před 4 lety

      So you are building an RRR articulate robot?

    • @varunwalimbe3468
      @varunwalimbe3468 Před 4 lety

      Yes... Can i send you the picture of my robot on your email if you don't mind? Can you just take a look at it?

    • @QRobotix
      @QRobotix  Před 4 lety

      @@varunwalimbe3468 yup I'll take a look at it

    • @varunwalimbe3468
      @varunwalimbe3468 Před 4 lety

      @@QRobotixcan i get the email id on which it is to be sent?

    • @varunwalimbe3468
      @varunwalimbe3468 Před 4 lety

      @@QRobotix I have emailed you