07-18-2022, 06:08 PM
(03-22-2019, 02:20 PM)Albert Wrote:Hi Robin,
Thank you for your feedback. We'll open a command so you can trigger a PRM update through Python. It will take 2 weeks or so.
For now, you can connect 2 targets or 2 programs through the API. For example, if you want to connect Target1 and Target2 creating a program called SafeMove you can do:
Code:status = RDK.PluginCommand("CollisionFreePlanner", "Join", "Target1|Target2|SafeMove")
I was unable to reproduce the AddFile issue. You should make sure RoboDK is not busy updating the PRM map or connecting 2 targets, otherwise you may see a timeout issue.
其他有限公司mmands would you need?
We are currently preparing more material to support this feature.
Albert
Hey Albert,
I am trying to run this command in my python script:
Code:
mbox('before')
status = RDK.PluginCommand("CollisionFreePlanner", "Join", "Target 1|Target 2|Path")
mbox('after')
I can see `before` message, then it simulates the motion from Target 1 to Target 2. But I never see `after` message. Am I loosing control flow somehow?
Thanks in advance,
Yury