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
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
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.
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
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 thanks for your answer master. is it possible to keep the conveyor running without having to stop? pls answer my question master
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
@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
@@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'
@@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 )
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
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
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
@@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.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.
@@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.
@@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
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.
@@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...🙏🙏☺️☺️
Amazing tutorial. More please
glad to hear that, thank you :)
any suggestions ?
@@mechatronicsninja3806 If possible, maybe UR5 arm in CoppeliaSim interfaced through ROS.
This a good idea, but I have never used ROS before. I will do some researches on this subject.
great content ninja, helping me a lot with the career
Does the code work for any other robot? I want to use the mirabot Wlkata for this
Can you provide complete vrep tutorial either paid or free it's hard to find good tutorials on vrep
Can you please share this scene which built on coppeliasim
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
can I download this project as a whole from somewhere, please reply
how to do path planning in coppelia sim 4.2 ?
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
sir, can we design haptic gloves virtually instead of using hardware in this simulator
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.
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
Hi, here is the answer to your question:
drive.google.com/file/d/1H2ie0ZMYoFvUi54-5dGQG7RXh4yfl0yw/view?usp=sharing
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
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.
@@mechatronicsninja3806 thanks for your answer master. is it possible to keep the conveyor running without having to stop? pls answer my question master
You are welcome . Yes you can.
good day! can you upload the full project to disk and drop the link?
Hi, can you please kindly share the scripts you have used in this (create boxes script, conveyor script, and main script) thank u!
Greetings, I would like to access the robot's programming
Hi. Can please tell me how to fake gripper through MATLAB
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
Hi, I think this is because you forget to set the Helmet to non-static:
sim.setObjectInt32Parameter(shapeHandle,sim.shapeintparam_static, 0)
@@mechatronicsninja3806 yes did same as you did in video..but still not working
I have sim.setObjectInt32Param(shapeHandle,sim.shapeintparam_static,0)
And yes 1 more change is there now
In sim.setObjectInt32Param(shapeHandle,sim.shapeintparam_static,0)
Now Parameter is now "Param"
@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
@@mechatronicsninja3806 Yes...Now its Working Thxxx..And Thank you so much For fast Reply really Thank you....And plz make more video like this..❤❤👍
I have a problem in [string "create_boxes@childScript"]:9: in function 'sysCall_actuation' what could it be?Help plz)
Can you please show me all the error messages plz.
@@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'
@@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 )
Can i connect it to matlab for that what changes I have to do
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
sir the sim.setObjectInt32Param() not working how to fix that
it's sim.setObjectParent() and not sim.setObjectIntParam()
www.coppeliarobotics.com/helpFiles/en/regularApi/simSetObjectParent.htm
@@mechatronicsninja3806 sorry sir its my mistake, i mean sim.setobjectint32param(), my version is 4.2, it always says could not set parameter
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
Sir i am not sure how to use the sim.moveToPose can you please help??
And what version are you using in your tutorial?
It's the 4.2.0
@@mechatronicsninja3806 The static parameter is not applying what might be the problem?
Hello! Can you please tell me from where can I download the Conveyor? Thank you!
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
@@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.
@@mechatronicsninja3806 please if you can help me I really don't know how to pass this and complete the tutorial
@@MoiseRazvan send me you file so that I can check, error in line 33? I don't Know which one ?
@@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.
i cant find this robot
Yes because it's a personal model. You can use any other robot you want.
Hello Ninja I need some help in my dissertation Human Robert Collaboration, will you help me. Please let me know..
Hi, Tell me , maybe I can help
@@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
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.
@@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...🙏🙏☺️☺️
good day! can you upload the full project to disk and drop the link?