CoppeliaSim pick and place tutorial | V2

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 63

  • @teetanrobotics5363
    @teetanrobotics5363 3 года назад

    Amazing tutorial. More please

  • @ojedavargaspabloojedq1895
    @ojedavargaspabloojedq1895 3 месяца назад

    great content ninja, helping me a lot with the career

  • @luk45ful
    @luk45ful 8 месяцев назад +1

    Does the code work for any other robot? I want to use the mirabot Wlkata for this

  • @ansonpaul2538
    @ansonpaul2538 3 года назад +2

    Can you provide complete vrep tutorial either paid or free it's hard to find good tutorials on vrep

  • @rutujadeshmukh2852
    @rutujadeshmukh2852 3 года назад +1

    Can you please share this scene which built on coppeliasim

  • @KhanhNguyen-hq1cb
    @KhanhNguyen-hq1cb 8 месяцев назад

    hi, i cant custom the conveyor with that error :" [string "/conveyorSystem@customizationScript"]:32: 'end' expected (to close 'function' at line 13) near " and the line 13:'' function sysCall_init()" can you tell me why thanks :3

  • @shashankphansikar7094
    @shashankphansikar7094 3 года назад +1

    can I download this project as a whole from somewhere, please reply

  • @harilakshman7434
    @harilakshman7434 3 года назад +1

    how to do path planning in coppelia sim 4.2 ?

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад +1

      I don't know exactly what you want to do. If you want to follow a path, I recommend that you take a look at 'movingAlongAPath.ttt' . It illustrates various examples. You will find it in:
      C:\Program Files\CoppeliaRobotics\CoppeliaSimEdu\scenes

  • @dharmendurout1881
    @dharmendurout1881 Год назад

    sir, can we design haptic gloves virtually instead of using hardware in this simulator

  • @omkarbharambe8673
    @omkarbharambe8673 Год назад

    I downloaded The “dispaly_dummy_Pose MNinja.ttm" from the link provided, but the format is different and it isn't working on CoppeliaSim. Please guide me regarding the same.

  • @jeromediaz5809
    @jeromediaz5809 Год назад

    hi, im super glad that i watched this video, and i can use this as a reference to my project. but my problem is when a helmet got drop in the pails, the helmet just go through the pails. pls tell me what to do with it

    • @mechatronicsninja3806
      @mechatronicsninja3806  Год назад

      Hi, here is the answer to your question:
      drive.google.com/file/d/1H2ie0ZMYoFvUi54-5dGQG7RXh4yfl0yw/view?usp=sharing

  • @dimastrisaptaji4641
    @dimastrisaptaji4641 3 года назад +1

    hi, i just want to know how do I adjust the speed of the robot arm, can the speed of the robot's movement be accelerated or decelerated? thankyou master ninjaaasss, I really hope you can answer my question

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад

      Hi Dimas, at minute 22:50, the parameter 'vel' will allow you to increase or decrease the robot speed. I hope I answered your question.

    • @dimastrisaptaji4641
      @dimastrisaptaji4641 3 года назад +1

      @@mechatronicsninja3806 thanks for your answer master. is it possible to keep the conveyor running without having to stop? pls answer my question master

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад

      You are welcome . Yes you can.

  • @pro100vova6
    @pro100vova6 7 месяцев назад

    good day! can you upload the full project to disk and drop the link?

  • @micasa7845
    @micasa7845 2 года назад

    Hi, can you please kindly share the scripts you have used in this (create boxes script, conveyor script, and main script) thank u!

  • @germanmiguelsalazar3404
    @germanmiguelsalazar3404 3 года назад

    Greetings, I would like to access the robot's programming

  • @jaisonjoseph9691
    @jaisonjoseph9691 3 года назад

    Hi. Can please tell me how to fake gripper through MATLAB

  • @PriyaGupta-vm8pj
    @PriyaGupta-vm8pj 3 года назад +1

    hey Your Tutorial is very good and helpful.. Thank you very much...But I have one problem at 11:54 when I am trying to run Simulation helmet is getting stuck its not going with Conveyor what should I do now plzz..help me

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад +1

      Hi, I think this is because you forget to set the Helmet to non-static:
      sim.setObjectInt32Parameter(shapeHandle,sim.shapeintparam_static, 0)

    • @PriyaGupta-vm8pj
      @PriyaGupta-vm8pj 3 года назад +1

      @@mechatronicsninja3806 yes did same as you did in video..but still not working
      I have sim.setObjectInt32Param(shapeHandle,sim.shapeintparam_static,0)

    • @PriyaGupta-vm8pj
      @PriyaGupta-vm8pj 3 года назад +1

      And yes 1 more change is there now
      In sim.setObjectInt32Param(shapeHandle,sim.shapeintparam_static,0)
      Now Parameter is now "Param"

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад +1

      @Priya Gupta this is the script I wrote. It works for me. Try it as it is and tell me :
      drive.google.com/file/d/1t8zMbWdlvvdTsHqkLaGUwHoQHRzD2o03/view?usp=sharing

    • @PriyaGupta-vm8pj
      @PriyaGupta-vm8pj 3 года назад +2

      @@mechatronicsninja3806 Yes...Now its Working Thxxx..And Thank you so much For fast Reply really Thank you....And plz make more video like this..❤❤👍

  • @user-ew3mu6no5c
    @user-ew3mu6no5c 2 года назад

    I have a problem in [string "create_boxes@childScript"]:9: in function 'sysCall_actuation' what could it be?Help plz)

    • @mechatronicsninja3806
      @mechatronicsninja3806  2 года назад

      Can you please show me all the error messages plz.

    • @user-ew3mu6no5c
      @user-ew3mu6no5c 2 года назад

      @@mechatronicsninja3806 [create_boxes@childScript:error] 32: File not found. (in function 'sim.importShape')
      stack traceback:
      [C]: in function 'simImportShape'
      [string "create_boxes@childScript"]:32: in function 'coroutineMain'
      stack traceback:
      [C]: in function 'error'
      [string "create_boxes@childScript"]:9: in function 'sysCall_actuation'

    • @mechatronicsninja3806
      @mechatronicsninja3806  2 года назад

      @@user-ew3mu6no5c did you select the helmet STL file and get the error?
      After
      pathAndName = sim.fileDialog(sim.filedlg_type_load,'choose an object','','','','stl')
      try to debug display what the pathAndName, add : print('pathAndName ='..pathAndName )

  • @rutujadeshmukh2852
    @rutujadeshmukh2852 3 года назад

    Can i connect it to matlab for that what changes I have to do

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад +1

      to connect Matlab to CoppeliaSim , you can refer to : ruclips.net/video/7Z01cRw_i5E/видео.html
      If you are using a newer version of coppeliaSim like 4.2.0, please verify on the official website if there were any changes made.
      You can transfer your code to MatLab, but please note that there are some functions missing, like the RMLmove functions that command the robot in IK mode

  • @arduinobot932
    @arduinobot932 2 года назад

    sir the sim.setObjectInt32Param() not working how to fix that

    • @mechatronicsninja3806
      @mechatronicsninja3806  2 года назад

      it's sim.setObjectParent() and not sim.setObjectIntParam()
      www.coppeliarobotics.com/helpFiles/en/regularApi/simSetObjectParent.htm

    • @arduinobot932
      @arduinobot932 2 года назад

      @@mechatronicsninja3806 sorry sir its my mistake, i mean sim.setobjectint32param(), my version is 4.2, it always says could not set parameter

    • @mechatronicsninja3806
      @mechatronicsninja3806  2 года назад

      Ah OK, so your problem is at 10:47 when setting the helmet proprieties. I don't know exactly where is your problem and maybe what you are missing, but here is a plan B if you didn't find the solution, add a single helmet to the scene, modify manually its proprieties using the 'Shape dynamics properties':
      www.coppeliarobotics.com/helpFiles/en/shapeDynamicsProperties.htm
      , and then copy it and paste it using this function:
      www.coppeliarobotics.com/helpFiles/en/regularApi/simCopyPasteObjects.htm

  • @arvindk718
    @arvindk718 2 года назад

    Sir i am not sure how to use the sim.moveToPose can you please help??

    • @arvindk718
      @arvindk718 2 года назад

      And what version are you using in your tutorial?

    • @mechatronicsninja3806
      @mechatronicsninja3806  2 года назад

      It's the 4.2.0

    • @arvindk718
      @arvindk718 2 года назад

      @@mechatronicsninja3806 The static parameter is not applying what might be the problem?

  • @MoiseRazvan
    @MoiseRazvan 3 года назад

    Hello! Can you please tell me from where can I download the Conveyor? Thank you!

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад

      this type of conveyor exists in version 4.2.0 and newer.
      If you have an older version, you can use the customizable conveyor like this (at minute 3.55) :
      ruclips.net/video/CVoV08T0Aqo/видео.html&ab_channel=mechatronicsNinja

    • @MoiseRazvan
      @MoiseRazvan 3 года назад

      @@mechatronicsninja3806 Thank you so much for your response. Please, don't hate me for this but please, if you can help me :
      :
      "while pathAndName == nil do
      pathAndName = sim.fileDialog(sim.filedlg_type_load, 'choose an object','','','','stl')
      end

      while sim.getSimulationState() ~= sim.simulation_advancing_abouttostop do
      pos=math.random(1,3)
      color = {0,0,0}
      color[pos] = 1
      shapeHandle = sim.importShape (0,pathAndName,32+16+1,0,1)

      sim.setObjectPosition(shapeHandle,conveyorSystem__ctrlPt,{0,0.1,0.2})
      sim.setShapeColor(shapeHandle,nil,sim.colorcomponent_ambient,color)
      sim.setObjectInt32Param(shapeHandle,sim.shapeintparam_static,0)
      sim.setObjectInt32Param(shapeHandle,3004,1)

      sim.setObjectSpecialProperty(shapeHandle, sim.objectspecialproperty_collidable+sim.objectspecialproperty_measurable+sim.objectspecialproperty_detectable_all)

      sim.wait(30)
      end" --this is my code, for the create_boxes dummy.
      And this is the error:
      "33: One of the function's argument type is not correct. (in function 'sim.setObjectPosition')
      stack traceback:
      [C]: in function 'sim.setObjectPosition'
      [string "create_boxes@childScript"]:33: in function 'coroutineMain'
      stack traceback:
      [C]: in function 'error'
      [string "create_boxes@childScript"]:9: in function 'sysCall_actuation'"
      Please if you can give me at least an idea about what is going on here becoase I really don't understant what is wrong. Thank you so soooo much.

    • @MoiseRazvan
      @MoiseRazvan 3 года назад

      @@mechatronicsninja3806 please if you can help me I really don't know how to pass this and complete the tutorial

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад

      @@MoiseRazvan send me you file so that I can check, error in line 33? I don't Know which one ?

    • @MoiseRazvan
      @MoiseRazvan 3 года назад +1

      @@mechatronicsninja3806 of course, thank you so much, but on e-mail or where do you want me to send it? Anyway, line 33 is this one: sim.setObjectPosition(shapeHandle,conveyorSystem__ctrlPt,{0,0.1,0.2}).
      I really don't understand what is wrong and I checked a 10000 times...thank you again for your response.

  • @Hamzakhan1o
    @Hamzakhan1o 3 года назад

    i cant find this robot

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад

      Yes because it's a personal model. You can use any other robot you want.

  • @manishkamble6336
    @manishkamble6336 3 года назад

    Hello Ninja I need some help in my dissertation Human Robert Collaboration, will you help me. Please let me know..

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад +1

      Hi, Tell me , maybe I can help

    • @manishkamble6336
      @manishkamble6336 3 года назад

      @@mechatronicsninja3806 My dissertation title is Investigation of Safety In Human Robot Collaboration in Manufacturing Environment... in that I have to perform an operation in which human and robot 🤖 are working together with I have to consider safety of human during collaborative work with robot.. So can you suggest me model which i can perform a simple task of like pick and place by using coppeliasim.. it will be grateful for me for performing the experiment, I will mention your reference in my Dissertation report also..
      many thanks
      Regards
      Manish

    • @mechatronicsninja3806
      @mechatronicsninja3806  3 года назад +1

      First, there are in general 5 types of Human robot collaboration:
      1. Co-existence :
      2. Direct collaboration : like the hand guiding application
      3. Indirect collaboration : where the robot and the human share the same workspace but work with different products
      4. Physical assistance systems :
      5. Physical assistance systems that are directly implemented on the human body like exoskeletons
      Safety for collaborative robots:
      - The general rule for collaborative robot: The speed must not exceed 250 mm/s witch.
      - Sharp edges are not applicable in human robot collaboration.
      - IS0 10218-1 and the IS0 10218-2: I think that the 10218-1 is related to the robot constructor and the other is for the integrator.
      - ISO 15066: which limits the robot speed depending on the pressure that it can force to the body.
      Can you suggest me a model?:
      - You need to choose first what type of humain robot collaboration you what to do.
      - I suggest you do an application like the picture in this link :
      www.sick.com/fi/en/industries/automotive-and-parts-suppliers/powertrain/motor-component-production/safe-human-robot-collaboration-in-the-production-of-electric-motors/c/p488545
      In this application, you can add LIDAR sensor for the robot range speed monitoring.

    • @manishkamble6336
      @manishkamble6336 3 года назад +1

      @@mechatronicsninja3806 very well said sir👏👏 I understood, what I have to do in experiment.. Thank you so much for guiding me..I will keep updating you of my dissertation progress...🙏🙏☺️☺️

  • @pro100vova6
    @pro100vova6 7 месяцев назад

    good day! can you upload the full project to disk and drop the link?