RoboDK Forum
Regarding Simulation Event instruction- Printable Version

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//m.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Regarding Simulation Event instruction (/Thread-Regarding-Simulation-Event-instruction)



Regarding Simulation Event instruction-Timothychew-05-14-2020

Hi, I would like to ask if anyone has this issue the situation is I would like to pick up a Test tube using a gripper from point A to point B. As I would be doing a Decap step at point B at such that at point A my Test Tube is being split into two parts the body and the cap. but however, when using the simulation event instruction I tried to select both objects but I want not able to simulate the gripping of both the Test tube body and cap.

would like to ask for help regarding this, thank you so much!


RE: Regarding Simulation Event instruction-Albert-05-15-2020

It may be better if you attach the 2 parts of your tube in one object (the one you pick). Alternatively, you may need to create 2 events to attach both sides of the tube.

如果哟u can share your RDK file we can better help you.


RE: Regarding Simulation Event instruction-Timothychew-05-17-2020

HiAlbert,

currently, I am using call "Attach" twice as such that I am able to pick up the cap and the body at the same time. I am unsure if that the correct way of doing.

and I am currently having another issue, for my code to check for part present using a sensor, i am having this error and i am not sure why am i having this issue which the program was working fine before.

I have shared my RDk file, thank you once again

Timothy Chew


RE: Regarding Simulation Event instruction-Albert-05-18-2020

Hi Timothy,

It looks like the variable IO_VALUE is not defined. You should do this instead:

Code:
IO_VALUE = 1
RDK.setParam(IO_NAME, IO_VALUE)

Albert