05-04-2025, 12:30 PM
(This post was last modified: 05-04-2025, 12:38 PM by gvanderhoorn.)
tl;dr: is there a way to make the urapi driver use a custom version of its progrobodk.script without having to put that file in %ROBODK_INSTALL_DIR%\Bin?
And ideally, could that be a station / RoboDK configuration setting?
(just like post-processors are a station setting)
---
I'm helping someone getting RoboDK to work with their CB2 UR5.
The controller runs Polyscope 1.8, which isn't supported properly by RoboDK by default. I've read several threads on this forum about this issue (such as UR CB2 connection to RoboDK, Connect to UR5, and Getting Inputs from UR10 to RoboDK), and believe I have a good idea of why the apiur driver doesn't work without changes.
In summary, I've got most things to work after:
(thank you Alex Silva for the post-processor sources)
I've so far only been able to make urapi use my patched progrobodk.script by placing a copy in %ROBODK_INSTALL_DIR%\Bin.
While this works, it makes urapi always use the patched version, even with CB3 and e-Series controllers. This is not needed and actually breaks compatibility with those newer controllers.
Is there a way to configure urapi to use a specific, custom version of progrobodk.script as a station setting, or perhaps even a configuration setting in RoboDK? That way no modifications to the RoboDK installation would be necessary when switching between robots.
I've tried looking for information in the available documentation and online, but haven't been able to find any information about custom progrobodk.scripts, hence my post here. If there is a documentation on this subject, please point me to it.
Using RoboDK 5.9.0 on Windows, educational license.
---
Edit: I'd be willing to share my changes to the post-processors and progrobodk.scripts, but I'm not sure what the best way to do that would be. Post-processor files are licensed Apache-2.0, but seeing as they are not shipped with RoboDK by default, putting them on GitHub is probably not the best way to go about it.
---
Edit 2: to avoid duplication of effort: this same question was sent to RoboDK support by email, but perhaps this forum is a better venue to discuss this issue.
And ideally, could that be a station / RoboDK configuration setting?
(just like post-processors are a station setting)
---
I'm helping someone getting RoboDK to work with their CB2 UR5.
The controller runs Polyscope 1.8, which isn't supported properly by RoboDK by default. I've read several threads on this forum about this issue (such as UR CB2 connection to RoboDK, Connect to UR5, and Getting Inputs from UR10 to RoboDK), and believe I have a good idea of why the apiur driver doesn't work without changes.
In summary, I've got most things to work after:
- updating the progrobodk.script that apiur sends to the CB2 upon connection, and
- patching the Universal_Robots.py post-processor (and others) to work with Polyscope 1.8
- setting CONTROLLER_VERSION=1 in %AppData%\RoboDK-Drivers\apiur.exe.ini (not sure this is still needed though)
(thank you Alex Silva for the post-processor sources)
I've so far only been able to make urapi use my patched progrobodk.script by placing a copy in %ROBODK_INSTALL_DIR%\Bin.
While this works, it makes urapi always use the patched version, even with CB3 and e-Series controllers. This is not needed and actually breaks compatibility with those newer controllers.
Is there a way to configure urapi to use a specific, custom version of progrobodk.script as a station setting, or perhaps even a configuration setting in RoboDK? That way no modifications to the RoboDK installation would be necessary when switching between robots.
I've tried looking for information in the available documentation and online, but haven't been able to find any information about custom progrobodk.scripts, hence my post here. If there is a documentation on this subject, please point me to it.
Using RoboDK 5.9.0 on Windows, educational license.
---
Edit: I'd be willing to share my changes to the post-processors and progrobodk.scripts, but I'm not sure what the best way to do that would be. Post-processor files are licensed Apache-2.0, but seeing as they are not shipped with RoboDK by default, putting them on GitHub is probably not the best way to go about it.
---
Edit 2: to avoid duplication of effort: this same question was sent to RoboDK support by email, but perhaps this forum is a better venue to discuss this issue.