-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSC_BasicConfig.yaml
79 lines (77 loc) · 2.84 KB
/
SC_BasicConfig.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
servo:
pin:
# ServoPin
# Core1 PortA X:22,Y:21 PortC X:16,Y:17
# Core2 PortA X:33,Y:32 PortC X:13,Y:14
# CoreS3 PortA X:2, Y:1 PortB X:9, Y:8 PortC X:17, Y:18
# Stack-chanPCB Core1 X:5,Y:2 Core2 X:19,Y27
# When using SCS0009 or Dynamixel XL330, x:RX, y:TX (not used)
# RT Version: x:6 y:7
x: 17
y: 18
offset:
# Specified by +- from 90 degree during servo initialization
x: 0
y: 0
center:
# サーボの初期位置
# SG90: x:90 y:90
# SCS0009: x:150, y:150
# Dynamixel XL330: x:180, y:270
# RT Version X:180 Y:5
x: 90
y: 90
lower_limit:
# 可動範囲の下限(下限と言っても取り付け方により逆の場合あり, 値の小さい方を指定。)
# SG90: x:0, y:60
# SCS0009: x:0, y:120
# Dynamixel XL330: x:0, y:220
# RT Version X:90 Y:-5
x: 0
y: 60
upper_limit:
# 可動範囲の上限(上限と言っても取り付け方により逆の場合もあり, 値の大きい方を指定。)
# SG90: x:180, y:90
# SCS0009: x:300, y:150
# Dynamixel XL330: x:360, y:270
# Dynamixel RTVersion X:270 Y:15
x: 180
y: 90
speed:
normal_mode:
interval_min: 3000
interval_max: 6000
move_min: 500
move_max: 1500
sing_mode:
interval_min: 500
interval_max: 1000
move_min: 500
move_max: 1000
takao_base: false # Whether to use takaobase to feed power from the rear connector.(Stack-chan_Takao_Base https://ssci.to/8905)
servo_type: "PWM" # "PWM": SG90PWMServo, "SCS": Feetech SCS0009 "DYN_XL330": Dynamixel XL330, "RT_DYN_XL330": RTVersion
### 以下はアプリケーションによって設定が変わります。
bluetooth:
device_name: "M5StackBTSPK"
starting_state: false
start_volume: 100
auto_power_off_time: 0 # Core2 Only. time(msec) of auto power off(0 is disable.)
balloon:
font_language: "CN" # "JA or CN or Default"
lyrics: # A maximum of 10 can be specified.
- "こんにちは"
- "Hello"
- "Bonjour"
- "你好"
- "私はスタックチャン"
- "我是Stack-chan"
- "I'm Stack-chan"
- "Je suis Stack-chan"
led_lr: 0 # 0:stereo, 1:left_only, 2:right_only
led_pin: 15 # GoBottom1:15 GoBottom2:25
# 下記は拡張用の設定ファイルを使用する場合に設定します。(初期値はありません。)
extend_config_filename: "" # "/yaml/SC_ExConfig.yaml" # Configuration file for the application.
extend_config_filesize: 0 # 2048 # Buffer size for feature extensions
secret_config_filename: "" # "/yaml/SC_SecConfig.yaml" # Configuration file for the File for personal information.
secret_config_filesize: 0 # 2048 # Buffer size for personal information.
secret_info_show: true # Whether personal information is output to the log or not.