1# Copyright 2023 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Note: This is a sample file for reference only. Users should edit and use config.yml instead.
16TestBeds:
17  - Name: TEST_BED_TABLET_SCENES_INDEX_0  # Need 'tablet' in name for tablet scenes
18    Controllers:
19        AndroidDevice:
20          - serial: <device-id-0>  # quotes are needed if serial id is entirely numeric
21            label: dut
22          - serial: <tablet-id-0>  # quotes are needed if serial id is entirely numeric
23            label: tablet
24    TestParams:
25      brightness: 192
26      chart_distance: 22.0
27      debug_mode: "False"  # quotes are needed here
28      lighting_cntl: <controller-type>  # can be arduino or "None"
29      lighting_ch: <controller-channel-0>
30      camera: <camera-id>
31      scene: <scene-name>  # if <scene-name> runs all scenes
32      foldable_device: "False"  # "True" if testing a foldable device
33
34  - Name: TEST_BED_TABLET_SCENES_INDEX_1  # Need 'tablet' in name for tablet scenes
35    Controllers:
36        AndroidDevice:
37          - serial: <device-id-1>  # quotes needed if serial id entirely numeric
38            label: dut
39          - serial: <tablet-id-1>  # quotes needed if serial id entirely numeric
40            label: tablet
41    TestParams:
42      brightness: 192
43      chart_distance: 22.0
44      debug_mode: "False"  # quotes are needed here
45      lighting_cntl: <controller-type>  # can be arduino or "None"
46      lighting_ch: <controller-channel-1>
47      camera: <camera-id>
48      scene: <scene-name>  # if <scene-name> runs all scenes
49      foldable_device: "False"  # "True" if testing a foldable device
50
51  - Name: TEST_BED_TABLET_SCENES_INDEX_2  # Need 'tablet' in name for tablet scenes
52    Controllers:
53        AndroidDevice:
54          - serial: <device-id-2>  # quotes are needed if serial id is entirely numeric
55            label: dut
56          - serial: <tablet-id-2>  # quotes are needed if serial id is entirely numeric
57            label: tablet
58    TestParams:
59      brightness: 192
60      chart_distance: 22.0
61      debug_mode: "False"  # quotes are needed here
62      lighting_cntl: <controller-type>  # can be arduino or "None"
63      lighting_ch: <controller-channel-2>
64      camera: <camera-id>
65      scene: <scene-name>  # if <scene-name> runs all scenes
66      foldable_device: "False"  # "True" if testing a foldable device
67
68  # TEST_BED_SENSOR_FUSION represents testbed index 3
69  # Parallel sensor_fusion is currently unsupported due to Arduino requirements
70  - Name: TEST_BED_SENSOR_FUSION  # Need 'sensor_fusion' in name for SF tests
71    # Test configuration for sensor_fusion/test_sensor_fusion.py
72    Controllers:
73        AndroidDevice:
74          - serial: <device-id>  # quotes are needed if serial id is entirely numeric
75            label: dut
76    TestParams:
77      fps: 30
78      img_size: 640,480
79      test_length: 7
80      debug_mode: "False"  # quotes are needed here
81      chart_distance: 25
82      rotator_cntl: "arduino"  # Note: only sensor fusion supports manual
83      rotator_ch: <controller-channel>
84      camera: <camera-id>
85      foldable_device: "False"  # "True" if testing a foldable device
86      tablet_device: "False"  # "True" if testing a tablet device
87      lighting_cntl: <controller-type>  # can be arduino or "None"
88      lighting_ch: <controller-channel>
89      scene: "sensor_fusion"
90