SettingFiles - FCSCinCyberSpace/icra2024-unity GitHub Wiki
This page describes the specifications of the configuration file for Interactive Customer Service.
A list of the settings file is as follows:
- SIGVerseConfig / InteractiveCustomerService / IcsConfig.json
- SIGVerseConfig / InteractiveCustomerService / IcsScore.txt
- SIGVerseConfig / InteractiveCustomerService / TaskInfoXX.json
- SIGVerseConfig / InteractiveCustomerService / TaskImageXX.jpg
For configuration files of SIGVerse please refer to following website.
https://github.com/RoboCupatHomeSim/common-unity/wiki/SettingFiles
Config file containing basic information about the competition.
No | Name | Type | Example | Description |
---|---|---|---|---|
1 | teamName | string | Inter@ctiveCustomerService | Team Name |
2 | sessionTimeLimit | int | 300 | Time limit of each session |
3 | maxNumberOfTrials | int | 15 | Max number of the trials |
4 | isScoreFileRead | bool | false | It is for recovery in case of some failure. true: Start from the continuation of the score file. false: Normal mode. |
5 | playbackType | int | 0 | 1: Record motions of scene objects. 2: Play the recorded motions. It is debug mode. |
6 | bgmVolume | float | 0.01 | BGM Volume. (between 0 and 1) |
IcsScore.txt is a file recording the score output by the Interactive Customer Service program.
This file records the score for the first session on the first line and the score for the second session on the second line.
An example of the IcsScore.txt is as follows.
20
18
0
8
If isScoreFileUsed in IcsConfig.json is true, this file is used to start subsequent tasks.
TaskInfoXX.json contains the contents of the task.
XX in the file name is the session number. The file name for the first session will be TaskInfo01.json.
The items in the file are as follows.
No | Item | Example | Description |
---|---|---|---|
1 | message | "Please get a chipstar." | Instruction message from the customer. |
2 | hasImage | true | True if an image will be sent when sending instruction message, or false if not. |
3 | targetName | "chipstar_consomme-2000" | A product that customer want. |
The image that the customer sends (shows) to the robot.
If hasImage in TaskInfoXX.json is true, an image must be prepared.
For example, if hasImage in TaskInfo02.json is true, then TaskImage02.jpg must be prepared.