Polyscope X: URCapX management through its "debug" API or preferably Robot API

Summary

Allow uploading and downloading URCaps through an API on real robots.

What is it?

The URCap REST API available in the PolyScope X simulator should also exist and be accessible on real robots.

Even better, URCap management should be part of the regular Robot API.

At minimum, the API should allow:

  • Downloading installed .urcapx files
  • Uploading .urcapx files and triggering their installation

Why is it needed?

During development, it would be much more convenient to deploy a URCap directly from the development system to a test robot.

More generally, URCaps could be pushed to or retrieved from a robot through the API, instead of copying files to a USB stick and manually carrying them between a PC and the robot. This also easens backup and redeploy of Robot Installations.