SettingFiles - PartnerRobotChallengeVirtual/interactive-cleanup-unity GitHub Wiki
A list of the settings file is as follows:
- SIGVerseConfig / InteractiveCleanup / InteractiveCleanupConfig.json
- SIGVerseConfig / InteractiveCleanup / InteractiveCleanupScore.txt
- SIGVerseConfig / InteractiveCleanup / EnvironmentInfoXX.json
- SIGVerseConfig / InteractiveCleanup / AvatarMotionXX.dat
- SIGVerseConfig / InteractiveCleanup / PlaybackXX.dat
For configuration files of SIGVerse please refer to following website.
https://github.com/PartnerRobotChallengeVirtual/common-unity/wiki/SettingFiles
InteractiveCleanupConfig.json is a dedicated Interactive Cleanup settings file.
No | Name | Type | Example | Description |
---|---|---|---|---|
1 | teamName | string | Inter@ctive Cleanup | Team Name |
2 | sessionTimeLimit | int | 360 | Time limit of each session |
3 | maxNumberOfTrials | int | 15 | Max number of the trials |
4 | isScoreFileRead | bool | false | Read InteractiveCleanupScore.txt or not. It is for recovery in case of some failure. true: Start from the continuation of the score file. false: Normal mode. |
5 | executionMode | int | 0 | 0: For the competition This mode uses EnvironmentInfoXX.json and AvatarMotionXX.dat. 1: For data generation This mode generates EnvironmentInfoXX.json and AvatarMotionXX.dat. |
6 | isAlwaysGoNext | bool | false | It is for debugging. true: Even if it failed, it goes to the next step. false: Normal mode. |
7 | playbackType | int | 1 | Playback mode 1: Record motions of scene objects. 2: Play the recorded motions. It is debug mode. |
8 | bgmVolume | float | 0.01 | BGM Volume. (between 0 and 1) |
InteractiveCleanupScore.txt is a file recording the score output by the Interactive Cleanup program.
This file records the score for the first task on the first line and the score for the second task on the second line.
An example of the InteractiveCleanupScore.txt is as follows.
70
100
60
20
The InteractiveCleanupScore.txt file is fundamentally output to record the score, but a file already including scores can be used to start the next competitive task if isScoreFileUsed is true in InteractiveCleanupConfig.json.
EnvironmentInfoXX.json is a file recording information about relocatable objects output by the Interactive Cleanup program.
The names of objects to grasp as well as the position and orientation of the graspable objects, the position and orientation of objects for cleanup and other information are saved in the JSON format.
XX in the file name is the attempt number of the task. EnvironmentInfo01.json would be the name of the file for the first attempt of a task.
This file is generated if the execution mode (executionMode) is the data generation mode. (Described in Various Execution Methods)
The items in the file are as follows.
No | Item | Description |
---|---|---|
1 | taskMessage | Task information |
2 | environmentName | Environment name |
3 | graspingTargetName | Target object name |
4 | destinationName | Destination object name |
5 | graspablesPositions | Position of the graspable objects |
6 | destinationsPositions | Position of the destinations |
AvatarMotionXX.dat is a file recording the time-series motion data of the human avatar output by the Interactive Cleanup program.
XX in the file name is the attempt number of the task. AvatarMotion01.dat would be the name of the file for the first attempt of a task.
This file is generated if the execution mode (executionMode) is the data generation mode. (Described in Various Execution Methods)
PlaybackXX.dat is the file recording the movement of objects during the competitive task output by the Interactive Cleanup program.
This is a time-series data file that primarily records the position and orientation of objects that can be moved (robot, graspable objects, non-kinematic objects, etc.).
This file is used to replay and confirm the movements of the robot that have been recorded.
XX in the file name is the attempt number of the task. Playback01.dat would be the name of the file for the first attempt of a task.
This file is output if playbackType in InteractiveCleanupConfig.json is 1.
If playbackType is 2 in InteractiveCleanupConfig.json, the program loads Playback00.dat to play back the robot and movement of the objects in the scene that have been recorded.
Therefore, if you would like to replay attempt 12 of a task, rename Playback12.dat in which the information has been recorded as Playback00.dat to use that file for playback.