Sub Modules

With Robpod Studio you can use DRL scripts as common python modules and use the import statment to make code in one module available in another.

This way, you don’t have to put all your code into a single script—you can organize your robot application using libraries.

In order to setup a project with multiple modules:

  1. Put your module files in the project folder.

  2. Use the import statement to load the code of a module inside another.

  3. Synchronize all the module files.

  4. Inside task editor add a Robpod Script command and in its properties specify the main entry point of the application.

Last updated