17.4.1 Quick connection of choosing avg module

The robot selection module avg implements the simplest logics for choosing the fastest robot based on the RCML statistical data.

First, the module starts populating the statistical data into the database so that each robot from the set of available robots performs the required function at least once.

After that, it will always choose the robot with the shortest average time of performing the required function by its (robot's) number of attempts to perform this function.

Enabling the avg module is standard: add the module property to section [choice_modules] of the RCML configuration file, and set it equal to avg in accordance with section "Installation and Configuration of RCML Compiler and Interpreter" of the RCML Manual.

No additional configuration of the avg module is required. However, RCML should be in the mode of writing statistical information, otherwise the module will prohibit invocation.