Template Input Files

Template Input Files Passed to SIERRA

Examples of the structure/required content of the XML file passed to SIERRA via --template-input-file for each supported Platform are below.

For the purposes of illustration we will use --template-input-file=sample.argos and a controller MyController:

 <argos-configuration>
    ...
    <controllers>
       <__CONTROLLER__>
          ...
          <params>
             <task_alloc>
                <mymethod threshold="17"/>
             </task_alloc>
          </params>
       </__CONTROLLER__>
    </controllers>
    ...
<argos-configuration>

See XML Content Requirements for usage/description of the __CONTROLLER__ tag.

Post-Processed Template Input Files

SIERRA may insert additional XML tags and split the processed template input file into multiple template files, depending on the platform. The results of this processing are shown below for each supported Platform. No additional modifications beyond those necessary to use the platform with SIERRA are shown (i.e., no Batch Criteria modifications).

Any of the following may be inserted:

  • A new tag for the configured random seed.

  • A new tag for the configured experiment length in seconds.

  • A new tag for the configured # robots.

  • A new tag for the controller rate (ticks per second).

  • A new tag for the path to a second XML file containing all controller XML configuration.

<argos-configuration>
   ...
   <controllers>
      <MyController>
         ...
         <params>
            <task_alloc>
               <mymethod threshold="17"/>
            </task_alloc>
         </params>
      </MyController>
   </controllers>
   ...
<argos-configuration>

No tags are insert by SIERRA input the input .argos file.