Skip to content

Read me if you don't want to use reflection

varun7654 edited this page Nov 18, 2022 · 7 revisions

Why are we using reflection

The scripting part of the app uses reflection in order to discover and invoke methods without having to do any configuration. This allows you to implement the robot side of the code and "forget it." You don't need manually add methods to be able to execute them. In the GUI you can simply type the class name and the method, and you can the requested method will be executed on the robot with no additional configuration.

The ability to not use reflection is not currently possible in the current implementation of the robot side library!

The ability to execute code without using reflection is planned to return in the future!

What can I do if I don't want to use reflection?

  1. Open your config
  2. Add all the methods that you want to use to the config
  3. Disable reflection