Moving Files from UR-Sim to a real Robot

Hello everyone,

maybe some of you have already experienced this issue and can help me out. It is also possible that I simply did something wrong, but unfortunately I don’t know what it could be, as I have been struggling with this problem for quite a while and have already tried many different things.

My problem is that I cannot load and execute the program I created in a VM using UR-Sim on the real robot. More specifically, the installation file cannot be found. I always receive the message “No Installation File found.”

To transfer my program to the robot, I am using a USB stick, which I previously formatted as FAT32. I plug it into the VM, open it, and copy my .urp and .installation files onto the USB stick. Then I insert the stick into the teach pendant of my UR10. There, I open the USB stick via the top menu and copy my files from the stick into the home directory, where the default.installation file is also located.

After that, I load my program and receive the error message mentioned above.

Could this be related to the fact that I am using PolyScope version 5.25.2 in UR-Sim, while my robot is still running PolyScope 5.25.0?

I have also already unpacked the .installation file on my computer and examined the XML code to check whether anything might be corrupted. Apart from the fact that a different directory path is specified there compared to the robot’s default.installation, I could not identify any obvious differences.

You may have better luck "Save As"ing the program on your simulator and point the save destination to the USB drive. The URP programs have a weird link to their installation files. Otherwise, what is the name of the installation file you’re trying to copy? And are you able to just directly open that Installation from the flashdrive on the real robot?

Hello, thank you for your response. Unfortunately, I am unable to save my installation file directly onto my USB drive, as it does not appear as a directory to select for saving. The name of my program is SolderingRobot, and the files associated with it are SolderingRobot.urp and SolderingRobot.installation. On the actual robot, my USB drive was recognized, but attempting to select either the program or installation file resulted in the same error.

I have since continued my attempts and set up a shared folder in my VM so that I can directly copy files from my PC if the USB stick proves problematic. Using SSH, I then transferred the files directly onto the robot. Initially, I only copied the .urp and .installation files and tested the setup, then subsequently transferred the remaining files such as the .variables file. Unfortunately, this did not resolve the issue, as the error message “No Installation File” persisted.

Following this, I opened the .installation file with 7zip and modified a file within it. I changed the following line but still experienced no success:

In this instance, I altered the directory to match that of the robot, as indicated above, since the directory specified belonged to the VM. After making this adjustment, I once again zipped the file back into the .installation file and tested it, yet the issue remained unresolved.

Note:
Based on my previous post, you’ll notice a modification in the file name. I made this change when I generated a duplicate of the original file and renamed it with exclusively lowercase letters, changing ‘SolderingRobot’ to ‘solder_test.’

It definitely could be the mismatched versions of Polyscope between your Sim and the real robot, especially since the real robot is BEHIND the simulator. What robot type is your simulator set for? Does it match your actual robot?

I apologize for the delayed response; I was occupied with other tasks, and thus this issue remained unattended for a couple of days.


What robot type is your simulator set for? Does it match your actual robot?

Yes, my physical robot and its corresponding simulator are well-matched: both are configured for the UR10 model.

Unfortunately, I haven’t had the chance to update the robot’s PolyScope version to a more recent release; therefore, I opted for a workaround for the time being. Currently, I have created a new program and a new installation file under the name of my project on the robot. Through the SSH connection, I replaced the .urp, .variables, .script, and .txt files related to the project.

While this solution isn’t entirely free of errors, it allows the robot to operate. Due to replacing the .urp file on the robot, the system now notifies me during file loading that it cannot locate the installation file at the specified path. It then prompts me to confirm use of the currently active installation. Although this occurs each time the file is loaded, even after a restart, I can manage with this arrangement for now.

Once I have updated and tested PolyScope on my robot to the same version as the simulator, I will report here back. This might take a few days, as I have some other tasks to work on this week.

After it prompts you to use the current installation and you say Yes, you should be able to just hit the Save All button to save that new installation path to the program.