1# Copyright 2020 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
15TestBeds:
16  - Name: TEST_BED_TABLET_SCENES  # Need 'tablet' in name for tablet scenes
17    # Use TEST_BED_MANUAL for manual testing and remove below lines:
18    #     - serial <tablet_id>
19    #       label: tablet
20    # Test configuration for scenes[0:4, 6, _change]
21    Controllers:
22        AndroidDevice:
23          - serial: <device_id>
24            label: dut
25          - serial: <tablet_id>
26            label: tablet
27    TestParams:
28      brightness: 96
29      chart_distance: 31.0
30      debug_mode: "False"  # quotes are needed here
31      chart_loc_arg: ""
32      camera: <camera-id>
33      scene: <scene-name>  # if <scene-name> left as-is runs all scenes
34
35  - Name: TEST_BED_SENSOR_FUSION  # Need 'sensor_fusion' in name for SF tests
36    # Test configuration for sensor_fusion/test_sensor_fusion.py
37    Controllers:
38        AndroidDevice:
39          - serial: <device-id>
40            label: dut
41    TestParams:
42      fps: 30
43      img_size: 640,480
44      test_length: 7
45      debug_mode: "False"  # quotes are needed here
46      chart_distance: 25
47      rotator_cntl: <controller-type>  # can be arduino or canakit
48      rotator_ch: <controller-channel>
49      camera: <camera-id>
50
51