smartpi 1.1.3__py3-none-any.whl → 1.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- smartpi/__init__.py +1 -1
- smartpi/__init__.pyc +0 -0
- smartpi/_gui.pyc +0 -0
- smartpi/ai_asr.pyc +0 -0
- smartpi/ai_llm.pyc +0 -0
- smartpi/ai_tts.pyc +0 -0
- smartpi/ai_vad.pyc +0 -0
- smartpi/audio.pyc +0 -0
- smartpi/base_driver.pyc +0 -0
- smartpi/camera.pyc +0 -0
- smartpi/color_sensor.py +1 -1
- smartpi/color_sensor.pyc +0 -0
- smartpi/cw2015.pyc +0 -0
- smartpi/flash.pyc +0 -0
- smartpi/humidity.pyc +0 -0
- smartpi/led.py +1 -1
- smartpi/led.pyc +0 -0
- smartpi/light_sensor.py +5 -5
- smartpi/light_sensor.pyc +0 -0
- smartpi/local_model.pyc +0 -0
- smartpi/mcp_client.pyc +0 -0
- smartpi/mcp_fastmcp.pyc +0 -0
- smartpi/mcp_intent_recognizer.pyc +0 -0
- smartpi/models/__init__.pyc +0 -0
- smartpi/models/snakers4_silero-vad/__init__.pyc +0 -0
- smartpi/models/snakers4_silero-vad/hubconf.pyc +0 -0
- smartpi/motor.py +9 -9
- smartpi/motor.pyc +0 -0
- smartpi/move.pyc +0 -0
- smartpi/onnx_hand_workflow.pyc +0 -0
- smartpi/onnx_image_workflow.pyc +0 -0
- smartpi/onnx_pose_workflow.pyc +0 -0
- smartpi/onnx_text_workflow.pyc +0 -0
- smartpi/onnx_voice_workflow.pyc +0 -0
- smartpi/posemodel/__init__.pyc +0 -0
- smartpi/posenet_utils.pyc +0 -0
- smartpi/rknn_hand_workflow.pyc +0 -0
- smartpi/rknn_image_workflow.pyc +0 -0
- smartpi/rknn_pose_workflow.pyc +0 -0
- smartpi/rknn_text_workflow.pyc +0 -0
- smartpi/rknn_voice_workflow.pyc +0 -0
- smartpi/servo.py +11 -11
- smartpi/servo.pyc +0 -0
- smartpi/temperature.py +1 -1
- smartpi/temperature.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/__init__.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/asr/__init__.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/asr/flash_recognizer.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/asr/speech_recognizer.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/common/__init__.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/common/credential.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/common/log.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/common/utils.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/soe/__init__.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/soe/speaking_assessment.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/tts/__init__.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/tts/flowing_speech_synthesizer.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer_ws.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/vc/__init__.pyc +0 -0
- smartpi/tencentcloud-speech-sdk-python/vc/speech_convertor_ws.pyc +0 -0
- smartpi/text_gte_model/__init__.pyc +0 -0
- smartpi/text_gte_model/config/__init__.pyc +0 -0
- smartpi/text_gte_model/gte/__init__.pyc +0 -0
- smartpi/touch_sensor.py +1 -1
- smartpi/touch_sensor.pyc +0 -0
- smartpi/trace.pyc +0 -0
- smartpi/ultrasonic.py +1 -1
- smartpi/ultrasonic.pyc +0 -0
- {smartpi-1.1.3.dist-info → smartpi-1.1.5.dist-info}/METADATA +3 -2
- smartpi-1.1.5.dist-info/RECORD +137 -0
- smartpi-1.1.3.dist-info/RECORD +0 -77
- {smartpi-1.1.3.dist-info → smartpi-1.1.5.dist-info}/WHEEL +0 -0
- {smartpi-1.1.3.dist-info → smartpi-1.1.5.dist-info}/top_level.txt +0 -0
smartpi/__init__.py
CHANGED
|
@@ -4,5 +4,5 @@ from .base_driver import P1, P2, P3, P4, P5, P6, M1, M2, M3, M4, M5, M6
|
|
|
4
4
|
__all__ = ["base_driver","gui","audio","ultrasonic","touch_sensor","temperature","humidity","light_sensor","color_sensor","motor","servo","led","flash",
|
|
5
5
|
"trace","move","local_model","P1", "P2", "P3", "P4", "P5", "P6", "M1", "M2", "M3", "M4", "M5", "M6"]
|
|
6
6
|
|
|
7
|
-
__version__ = "1.1.
|
|
7
|
+
__version__ = "1.1.5"
|
|
8
8
|
|
smartpi/__init__.pyc
ADDED
|
Binary file
|
smartpi/_gui.pyc
ADDED
|
Binary file
|
smartpi/ai_asr.pyc
ADDED
|
Binary file
|
smartpi/ai_llm.pyc
ADDED
|
Binary file
|
smartpi/ai_tts.pyc
ADDED
|
Binary file
|
smartpi/ai_vad.pyc
ADDED
|
Binary file
|
smartpi/audio.pyc
ADDED
|
Binary file
|
smartpi/base_driver.pyc
ADDED
|
Binary file
|
smartpi/camera.pyc
ADDED
|
Binary file
|
smartpi/color_sensor.py
CHANGED
|
@@ -3,7 +3,7 @@ import time
|
|
|
3
3
|
from typing import List, Optional
|
|
4
4
|
from smartpi import base_driver
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
#颜色读取 正常返回值:1-红色;2-绿色;3-蓝色;4-黄色;5-黑色;6-白色; 读取错误:-1
|
|
7
7
|
def get_value(port:bytes) -> Optional[bytes]:
|
|
8
8
|
color_str=[0xA0, 0x04, 0x00, 0xBE]
|
|
9
9
|
color_str[0]=0XA0+port
|
smartpi/color_sensor.pyc
ADDED
|
Binary file
|
smartpi/cw2015.pyc
ADDED
|
Binary file
|
smartpi/flash.pyc
ADDED
|
Binary file
|
smartpi/humidity.pyc
ADDED
|
Binary file
|
smartpi/led.py
CHANGED
|
@@ -4,7 +4,7 @@ from typing import List, Optional
|
|
|
4
4
|
from smartpi import base_driver
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
#彩灯控制 port:连接P端口;command:0:关灯;1:红;2:绿;3:蓝;4:黄;5:紫;6:青;7:白; 正常返回:0; 读取错误:-1
|
|
8
8
|
def set_color(port:bytes,command:bytes) -> Optional[bytes]:
|
|
9
9
|
color_lamp_str=[0xA0, 0x05, 0x00, 0xBE]
|
|
10
10
|
color_lamp_str[0]=0XA0+port
|
smartpi/led.pyc
ADDED
|
Binary file
|
smartpi/light_sensor.py
CHANGED
|
@@ -3,7 +3,7 @@ import time
|
|
|
3
3
|
from typing import List, Optional
|
|
4
4
|
from smartpi import base_driver
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
#光电光值读取 port:连接P端口; 正常返回:光值数据; 读取错误:-1
|
|
7
7
|
def turn_off(port:bytes) -> Optional[bytes]:
|
|
8
8
|
light_str=[0xA0, 0x02, 0x00, 0xBE]
|
|
9
9
|
light_str[0]=0XA0+port
|
|
@@ -15,7 +15,7 @@ def turn_off(port:bytes) -> Optional[bytes]:
|
|
|
15
15
|
# else:
|
|
16
16
|
return 0
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
#光电光值读取 port:连接P端口; 正常返回:光值数据; 读取错误:-1
|
|
19
19
|
def get_value(port:bytes) -> Optional[bytes]:
|
|
20
20
|
light_str=[0xA0, 0x02, 0x00, 0xBE]
|
|
21
21
|
light_str[0]=0XA0+port
|
|
@@ -29,7 +29,7 @@ def get_value(port:bytes) -> Optional[bytes]:
|
|
|
29
29
|
light_num=int.from_bytes(light_data, byteorder='big', signed=True)
|
|
30
30
|
return light_num
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
#光电阈值设置 port:连接P端口; threshold:设置的阈值0~4000
|
|
33
33
|
def set_threshold(port:bytes,threshold:int) -> Optional[bytes]:
|
|
34
34
|
light_str=[0xA0, 0x02, 0x00, 0x81, 0x00, 0x00, 0xBE]
|
|
35
35
|
light_str[0]=0XA0+port
|
|
@@ -44,7 +44,7 @@ def set_threshold(port:bytes,threshold:int) -> Optional[bytes]:
|
|
|
44
44
|
# else:
|
|
45
45
|
return 0
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
#光电阈值读取 port:连接P端口;
|
|
48
48
|
def get_threshold(port:bytes) -> Optional[bytes]:
|
|
49
49
|
light_str=[0xA0, 0x02, 0x00, 0xBE]
|
|
50
50
|
light_str[0]=0XA0+port
|
|
@@ -58,7 +58,7 @@ def get_threshold(port:bytes) -> Optional[bytes]:
|
|
|
58
58
|
light_num=int.from_bytes(light_data, byteorder='big', signed=True)
|
|
59
59
|
return light_num
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
#光电读取当前值和设定阈值比较后的bool值 port:连接P端口;
|
|
62
62
|
def get_bool_data(port:bytes) -> Optional[bytes]:
|
|
63
63
|
light_str=[0xA0, 0x02, 0x00, 0xBE]
|
|
64
64
|
light_str[0]=0XA0+port
|
smartpi/light_sensor.pyc
ADDED
|
Binary file
|
smartpi/local_model.pyc
ADDED
|
Binary file
|
smartpi/mcp_client.pyc
ADDED
|
Binary file
|
smartpi/mcp_fastmcp.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
smartpi/motor.py
CHANGED
|
@@ -5,7 +5,7 @@ from typing import List, Optional
|
|
|
5
5
|
from smartpi import base_driver
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
#马达编码读取 port:连接M端口;
|
|
9
9
|
def get_motor_encoder(port:bytes) -> Optional[bytes]:
|
|
10
10
|
motor_str=[0xA0, 0x01, 0x01, 0xBE]
|
|
11
11
|
motor_str[0]=0XA0+port
|
|
@@ -18,7 +18,7 @@ def get_motor_encoder(port:bytes) -> Optional[bytes]:
|
|
|
18
18
|
code_num=int.from_bytes(code_data, byteorder='big', signed=True)
|
|
19
19
|
return code_num
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
#马达编码置零 port:连接M端口;
|
|
22
22
|
def reset_motor_encoder(port:bytes) -> Optional[bytes]:
|
|
23
23
|
motor_str=[0xA0, 0x01, 0x03, 0xBE]
|
|
24
24
|
motor_str[0]=0XA0+port
|
|
@@ -30,7 +30,7 @@ def reset_motor_encoder(port:bytes) -> Optional[bytes]:
|
|
|
30
30
|
# else:
|
|
31
31
|
return 0
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
#马达方向控制 port:连接M端口;dir:0或1
|
|
34
34
|
def set_motor_direction(port:bytes,direc:bytes) -> Optional[bytes]:
|
|
35
35
|
motor_str=[0xA0, 0x01, 0x06, 0x71, 0x00, 0xBE]
|
|
36
36
|
motor_str[0]=0XA0+port
|
|
@@ -43,7 +43,7 @@ def set_motor_direction(port:bytes,direc:bytes) -> Optional[bytes]:
|
|
|
43
43
|
# else:
|
|
44
44
|
return 0
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
#马达速度转动 port:连接M端口;speed:-100~100
|
|
47
47
|
def set_motor(port:bytes,speed:int) -> Optional[bytes]:
|
|
48
48
|
motor_str=[0xA0, 0x01, 0x02, 0x71, 0x00, 0xBE]
|
|
49
49
|
motor_str[0]=0XA0+port
|
|
@@ -66,7 +66,7 @@ def set_motor(port:bytes,speed:int) -> Optional[bytes]:
|
|
|
66
66
|
# else:
|
|
67
67
|
return 0
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
#马达停止 port:连接M端口;
|
|
70
70
|
def set_motor_stop(port:bytes) -> Optional[bytes]:
|
|
71
71
|
motor_str=[0xA0, 0x01, 0x0B, 0xBE]
|
|
72
72
|
motor_str[0]=0XA0+port
|
|
@@ -78,7 +78,7 @@ def set_motor_stop(port:bytes) -> Optional[bytes]:
|
|
|
78
78
|
# else:
|
|
79
79
|
return 0
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
#马达角度控制 port:连接M端口;speed:-100~100;degree:0~65535
|
|
82
82
|
def set_motor_angle(port:bytes,speed:int,degree:int) -> Optional[bytes]:
|
|
83
83
|
motor_str=[0xA0, 0x01, 0x04, 0x81, 0x00, 0x81, 0x00, 0x00, 0xBE]
|
|
84
84
|
motor_str[0]=0XA0+port
|
|
@@ -103,7 +103,7 @@ def set_motor_angle(port:bytes,speed:int,degree:int) -> Optional[bytes]:
|
|
|
103
103
|
# else:
|
|
104
104
|
return 0
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
#马达定时转动 port:连接M端口;speed:-100~100;second:1~256
|
|
107
107
|
def set_motor_second(port:bytes,speed:int,second:float) -> Optional[bytes]:
|
|
108
108
|
motor_str=[0xA0, 0x01, 0x08, 0x81, 0x00, 0x82, 0x00, 0x00, 0x00, 0x00, 0xBE]
|
|
109
109
|
motor_str[0]=0XA0+port
|
|
@@ -135,7 +135,7 @@ def set_motor_second(port:bytes,speed:int,second:float) -> Optional[bytes]:
|
|
|
135
135
|
# else:
|
|
136
136
|
return 0
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
#马达定速转动 port:连接M端口;speed:-100~100
|
|
139
139
|
def set_motor_constspeed(port:bytes,speed:int) -> Optional[bytes]:
|
|
140
140
|
motor_str=[0xA0, 0x01, 0x09, 0x71, 0x00, 0xBE]
|
|
141
141
|
motor_str[0]=0XA0+port
|
|
@@ -159,7 +159,7 @@ def set_motor_constspeed(port:bytes,speed:int) -> Optional[bytes]:
|
|
|
159
159
|
# else:
|
|
160
160
|
return 0
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
#马达速度读取 port:连接M端口;
|
|
163
163
|
def get_motor_speed(port:bytes) -> Optional[bytes]:
|
|
164
164
|
motor_str=[0xA0, 0x01, 0x10, 0xBE]
|
|
165
165
|
motor_str[0]=0XA0+port
|
smartpi/motor.pyc
ADDED
|
Binary file
|
smartpi/move.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
smartpi/servo.py
CHANGED
|
@@ -3,7 +3,7 @@ import time
|
|
|
3
3
|
from typing import List, Optional
|
|
4
4
|
from smartpi import base_driver
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
#小舵机控制 port:连接P端口;angle:角度0~270;
|
|
7
7
|
def steer_angle(port:bytes,angle:bytes) -> Optional[bytes]:
|
|
8
8
|
servo_str=[0xA0, 0x0E, 0x01, 0x71, 0x00, 0xBE]
|
|
9
9
|
servo_str[0]=0XA0+port
|
|
@@ -16,7 +16,7 @@ def steer_angle(port:bytes,angle:bytes) -> Optional[bytes]:
|
|
|
16
16
|
# else:
|
|
17
17
|
return 0
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
#小舵机延时控制 port:连接P端口;angle:角度0~270;second:1~256
|
|
20
20
|
def steer_angle_delay(port:bytes,angle:bytes,second:bytes) -> Optional[bytes]:
|
|
21
21
|
servo_str=[0xA0, 0x10, 0x01, 0x81, 0x00, 0x00, 0x81, 0x00, 0xBE]
|
|
22
22
|
servo_str[0]=0XA0+port
|
|
@@ -31,7 +31,7 @@ def steer_angle_delay(port:bytes,angle:bytes,second:bytes) -> Optional[bytes]:
|
|
|
31
31
|
# else:
|
|
32
32
|
return 0
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
#数字舵机设置转动方向(绝对角度) port:连接P端口;dir:0:不跨越0°;1:最短距离旋转;2:顺时针旋转;3:逆时针旋转
|
|
35
35
|
def set_dir(port:bytes,dir:bytes) -> Optional[bytes]:
|
|
36
36
|
servo_str=[0xA0, 0x24, 0x01, 0x71, 0x00, 0xBE]
|
|
37
37
|
servo_str[0]=0XA0+port
|
|
@@ -44,7 +44,7 @@ def set_dir(port:bytes,dir:bytes) -> Optional[bytes]:
|
|
|
44
44
|
# else:
|
|
45
45
|
return 0
|
|
46
46
|
|
|
47
|
-
#BE-9528
|
|
47
|
+
#BE-9528数字舵机以速度转至角度 port:连接P端口;angle:角度(0~360);speed:速度(0~100);
|
|
48
48
|
def set_angle_speed(port:bytes,angle:bytes,speed:bytes) -> Optional[bytes]:
|
|
49
49
|
servo_str=[0xA0, 0x0D, 0x01, 0x81, 0x00, 0x00, 0x81, 0x00, 0xBE]
|
|
50
50
|
servo_str[0]=0XA0+port
|
|
@@ -59,7 +59,7 @@ def set_angle_speed(port:bytes,angle:bytes,speed:bytes) -> Optional[bytes]:
|
|
|
59
59
|
# else:
|
|
60
60
|
return 0
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
#数字舵机转动到角度延时时间 port:连接P端口;angle:角度(0~360);ms:延时时间(0~65535);
|
|
63
63
|
def set_angle_ms(port:bytes,angle:bytes,ms:int) -> Optional[bytes]:
|
|
64
64
|
servo_str=[0xA0, 0x11, 0x01, 0x81, 0x00, 0x00, 0x81, 0x00, 0x00, 0xBE]
|
|
65
65
|
servo_str[0]=0XA0+port
|
|
@@ -75,7 +75,7 @@ def set_angle_ms(port:bytes,angle:bytes,ms:int) -> Optional[bytes]:
|
|
|
75
75
|
# else:
|
|
76
76
|
return 0
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
#数字舵机复位 port:连接P端口;
|
|
79
79
|
def set_init(port:bytes) -> Optional[bytes]:
|
|
80
80
|
servo_str=[0xA0, 0x12, 0x01, 0xBE]
|
|
81
81
|
servo_str[0]=0XA0+port
|
|
@@ -87,7 +87,7 @@ def set_init(port:bytes) -> Optional[bytes]:
|
|
|
87
87
|
# else:
|
|
88
88
|
return 0
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
#获取数字舵机角度 port:连接P端口;
|
|
91
91
|
def get_angle(port:bytes) -> Optional[bytes]:
|
|
92
92
|
servo_str=[0xA0, 0x13, 0x01, 0xBE]
|
|
93
93
|
servo_str[0]=0XA0+port
|
|
@@ -100,7 +100,7 @@ def get_angle(port:bytes) -> Optional[bytes]:
|
|
|
100
100
|
angle_num=int.from_bytes(angle_data, byteorder='big', signed=True)
|
|
101
101
|
return angle_num
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
#数字舵机速度转动 port:连接P端口;
|
|
104
104
|
def set_speed(port:bytes,speed:int) -> Optional[bytes]:
|
|
105
105
|
servo_str=[0xA0, 0x14, 0x01, 0x71, 0x00, 0xBE]
|
|
106
106
|
servo_str[0]=0XA0+port
|
|
@@ -122,7 +122,7 @@ def set_speed(port:bytes,speed:int) -> Optional[bytes]:
|
|
|
122
122
|
# else:
|
|
123
123
|
return 0
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
#数字舵机编码转动 port:连接P端口;code:编码(0~65535);speed:速度(-100~100);
|
|
126
126
|
def set_code_speed(port:bytes,code:int,speed:int) -> Optional[bytes]:
|
|
127
127
|
servo_str=[0xA0, 0x15, 0x01, 0x81, 0x00, 0x00, 0x71, 0x00, 0xBE]
|
|
128
128
|
servo_str[0]=0XA0+port
|
|
@@ -148,7 +148,7 @@ def set_code_speed(port:bytes,code:int,speed:int) -> Optional[bytes]:
|
|
|
148
148
|
# else:
|
|
149
149
|
return 0
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
#数字舵机编码值清零 port:连接P端口;
|
|
152
152
|
def reset_encode(port:bytes) -> Optional[bytes]:
|
|
153
153
|
servo_str=[0xA0, 0x16, 0x01, 0xBE]
|
|
154
154
|
servo_str[0]=0XA0+port
|
|
@@ -160,7 +160,7 @@ def reset_encode(port:bytes) -> Optional[bytes]:
|
|
|
160
160
|
# else:
|
|
161
161
|
return 0
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
#获取数字舵机编码值 port:连接P端口;
|
|
164
164
|
def get_encoder(port:bytes) -> Optional[bytes]:
|
|
165
165
|
servo_str=[0xA0, 0x17, 0x01, 0xBE]
|
|
166
166
|
servo_str[0]=0XA0+port
|
smartpi/servo.pyc
ADDED
|
Binary file
|
smartpi/temperature.py
CHANGED
|
@@ -4,7 +4,7 @@ from typing import List, Optional
|
|
|
4
4
|
from smartpi import base_driver
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
#温度读取 port:连接P端口;正常返回:温度数据; 读取错误:-1
|
|
8
8
|
def get_value(port:bytes) -> Optional[bytes]:
|
|
9
9
|
temp_str=[0XA0, 0X0C, 0X01, 0X71, 0X00, 0XBE]
|
|
10
10
|
temp_str[0]=0XA0+port
|
smartpi/temperature.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
smartpi/touch_sensor.py
CHANGED
|
@@ -3,7 +3,7 @@ import time
|
|
|
3
3
|
from typing import List, Optional
|
|
4
4
|
from smartpi import base_driver
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
#触碰传感器 port:连接P端口 正常返回:1、0; 读取错误:-1
|
|
7
7
|
def get_value(port:bytes) -> Optional[bytes]:
|
|
8
8
|
read_sw_str=[0xA0, 0x03, 0x01, 0xBE]
|
|
9
9
|
read_sw_str[0]=0XA0+port
|
smartpi/touch_sensor.pyc
ADDED
|
Binary file
|
smartpi/trace.pyc
ADDED
|
Binary file
|
smartpi/ultrasonic.py
CHANGED
|
@@ -3,7 +3,7 @@ import time
|
|
|
3
3
|
from typing import List, Optional
|
|
4
4
|
from smartpi import base_driver
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
#超声波测距传感器 port:连接P端口 正常返回:测距数据; 读取错误:-1
|
|
7
7
|
def get_value(port:bytes) -> Optional[bytes]:
|
|
8
8
|
ultrasonic_str=[0xA0, 0x06, 0x00, 0xBE]
|
|
9
9
|
ultrasonic_str[0]=0XA0+port
|
smartpi/ultrasonic.pyc
ADDED
|
Binary file
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: smartpi
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
4
4
|
Summary: A library use for H2-RCU
|
|
5
5
|
Author: ZMROBO
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
7
7
|
Classifier: License :: OSI Approved :: MIT License
|
|
8
8
|
Classifier: Operating System :: OS Independent
|
|
9
|
-
Requires-Python: >=3.7
|
|
9
|
+
Requires-Python: >=3.7, <3.12
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: numpy >=1.19.0
|
|
11
12
|
|
|
12
13
|
灵芯派函数库
|
|
13
14
|
SmartPi library
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
smartpi/__init__.py,sha256=kkhsfSeW9bxVhzyp1KNaRjpRDbUsz0BHbtmBB-pZblw,392
|
|
2
|
+
smartpi/__init__.pyc,sha256=Letl5VfZFBD5e-UMNRNaROM1f6EisCBDWoKzg5up6K0,634
|
|
3
|
+
smartpi/_gui.py,sha256=tUHNamQSvXUrYFNgWI5GexjL9mTy_qeW0xbIExkTGoM,2290
|
|
4
|
+
smartpi/_gui.pyc,sha256=Z5Quht83gZFvU5JPS3Gu3S4HvvWuayYmY-VHRwyyl90,3210
|
|
5
|
+
smartpi/ai_asr.py,sha256=wxh_1Klh8vJottAt19jq3qpOmM_Cw4DHQEPKpsHGhmE,40063
|
|
6
|
+
smartpi/ai_asr.pyc,sha256=JHSHZO8fUiGEJKTdjrpXlms_68rH9dnLqqGiKuU4DW0,24932
|
|
7
|
+
smartpi/ai_llm.py,sha256=-khBK2PMwbYUDvbaCTRCktE4dFloqfai4mHI-V8GEXM,36751
|
|
8
|
+
smartpi/ai_llm.pyc,sha256=Bisqa8F-t5tKpYDP0dx3CiKI5CgD8FtMO6wraqMawzU,24655
|
|
9
|
+
smartpi/ai_tts.py,sha256=OjAJs3XOykiufXuEDiaD0coKsWjknPdhwRpRzGLDZKU,36061
|
|
10
|
+
smartpi/ai_tts.pyc,sha256=OZ3qSgse03goO0WdLxyla2XLYB5XXROOOWrbsNzjPzA,22843
|
|
11
|
+
smartpi/ai_vad.py,sha256=9J1xxuKF8GvojkL_JuXv7_xE8bQAo5D49Xasi8piKK8,3630
|
|
12
|
+
smartpi/ai_vad.pyc,sha256=0so9RoLdXYk61W7ebv4r1rNOh2No6MAGXZiA5_omEwM,2389
|
|
13
|
+
smartpi/audio.py,sha256=Ca5rs-MhKNyNjvwVDyh4hpG4ssYG-MSO_I99MRsh8t0,3475
|
|
14
|
+
smartpi/audio.pyc,sha256=11EaA6tFMqMjBR_nyt8W5YsFdlYMvtTX2R4Qy_syhlU,2702
|
|
15
|
+
smartpi/base_driver.py,sha256=BwqgcYbQ9Rg8KiBJV2xy--NMNsMIg_zL-nnsAilCHJk,22687
|
|
16
|
+
smartpi/base_driver.pyc,sha256=vJ2tDmUTgMrtSGBAQuFchZ2aOPpSTOwjB3HSgpjQy3c,11868
|
|
17
|
+
smartpi/camera.py,sha256=AVpZsMpW-24CP3BOfarjmRawMJdTOZY7Crq7FeLOqb4,3292
|
|
18
|
+
smartpi/camera.pyc,sha256=yd7sFrv_khv5SFhYWzcpJH6X3Ci6zz5xcZ3_pqPaNNA,2505
|
|
19
|
+
smartpi/color_sensor.py,sha256=-oJU9tI28VAwy8lcc3J7PFVgAc-_fECYZwCQ-Uhq2Oo,554
|
|
20
|
+
smartpi/color_sensor.pyc,sha256=CGg0iY9IY95-nMKRL2fU1P-oNsPWbBzXL1-jeP0weB4,555
|
|
21
|
+
smartpi/cw2015.py,sha256=1lAF-pi_ye_ya1AZQS1sjbgsDf7MThO5IAskKsNGBzA,5695
|
|
22
|
+
smartpi/cw2015.pyc,sha256=tchjrkbsNvfyplrrkWhdAic8tZuvheWFcV_MAVxd1kg,5202
|
|
23
|
+
smartpi/flash.py,sha256=-pUqg6FSVoBiLFKqrG9B4dFqn8lICnQsSPJr_MtZLIU,4132
|
|
24
|
+
smartpi/flash.pyc,sha256=g6V8tvqsdVK-3SlErds3SF67pbMZCAYsgjh3-wkfSzc,3398
|
|
25
|
+
smartpi/humidity.py,sha256=uoSFt5mAKr-dHz125uznHXAPeTN61ZR92_2nQmytQ5M,522
|
|
26
|
+
smartpi/humidity.pyc,sha256=-_B7NGwN9c2yOvA_jrNokcSDQ713c_SATpYgm2Pw-js,559
|
|
27
|
+
smartpi/led.py,sha256=BUUDznPatAZW7raLqgb8851OwyMmC_7DsOtprhaL7IE,653
|
|
28
|
+
smartpi/led.pyc,sha256=QKfypoQycErV5aYsGzN0ls82xRDAl2Lkz5NZ0k-q1Ig,524
|
|
29
|
+
smartpi/light_sensor.py,sha256=5bZrAyo2gjrwWvbgJ5MF__awNI8oV6ZOMMmEdLD42zE,2498
|
|
30
|
+
smartpi/light_sensor.pyc,sha256=TKRPYobqvLxSORjQd_JE7IQhufUDtDpPoXudvdAmm7A,1815
|
|
31
|
+
smartpi/local_model.py,sha256=3LB93ZhR4ANIv57EF5PWeVN_LNoAMKLUGmQnQSrMe5Q,18961
|
|
32
|
+
smartpi/local_model.pyc,sha256=0v8_uopfRzrUKYt4sJgtI6gHgaveH5UxElG9N7Hd3jE,11006
|
|
33
|
+
smartpi/mcp_client.py,sha256=tPgivztxbENEUBaBEnFHfTuCqicTsXIObEBlbrrXPE4,3332
|
|
34
|
+
smartpi/mcp_client.pyc,sha256=CqR0VHuFIVWeUU2stE96dKuPdFb0bEilJOSGbze_l3I,2434
|
|
35
|
+
smartpi/mcp_fastmcp.py,sha256=2MRIShc7snk99MGIpWnQflToyIUfKziLOhZhSNZifzE,13316
|
|
36
|
+
smartpi/mcp_fastmcp.pyc,sha256=7whLSrEDRrnZm0cN2uFrW_mEgqNtt_d6KScdeuHjNO0,6990
|
|
37
|
+
smartpi/mcp_intent_recognizer.py,sha256=FGPHDu1DiPJoWTGEIN_vlFEHEBKyCGNLZegjxFyUcEk,18846
|
|
38
|
+
smartpi/mcp_intent_recognizer.pyc,sha256=KbFPobzhC5Zc9aMvC7g2DHM1lyW4igNKZk9cOXSAZxA,8932
|
|
39
|
+
smartpi/motor.py,sha256=GC1WNDb0e8EMn72Z8D7ff5G-mgRz56vXxb6NRHx3diQ,5451
|
|
40
|
+
smartpi/motor.pyc,sha256=3-ZnTLHLnsTfnMW739FyBisCapvpzzg_QRWQM7E_QXw,3588
|
|
41
|
+
smartpi/move.py,sha256=s1ZnkFtp6SCBnxhBxp6qQjGbifdsY5hjVCwlarTsZto,6688
|
|
42
|
+
smartpi/move.pyc,sha256=WFdNAT7dnFY7R3TexYMY6KzYTrodUhbZsJ05kn5hWns,3925
|
|
43
|
+
smartpi/onnx_hand_workflow.py,sha256=ZCoaWC6GygZSrhM6jhsuB6qmQ6GiAFFrso6rKAGmue8,8157
|
|
44
|
+
smartpi/onnx_hand_workflow.pyc,sha256=c-zLdxzS2aMAsPzCryG8golknT3hAddYHePtA1w3lpE,5096
|
|
45
|
+
smartpi/onnx_image_workflow.py,sha256=-saM_NxR6yDz06xlWZOvHf6cq3zmtOCFhCyZTGqvuOk,6188
|
|
46
|
+
smartpi/onnx_image_workflow.pyc,sha256=85TJisROHhM7G9SK9e7zETDwsvwuW0bXEfsBRUV4LIY,4324
|
|
47
|
+
smartpi/onnx_pose_workflow.py,sha256=w0zGlXXBgIcxwjLF7eYHPEePqRw3KXvKQUqzVd_UrzQ,20966
|
|
48
|
+
smartpi/onnx_pose_workflow.pyc,sha256=7Dr8jncfayN5ffEmq_jpifU1zQPzWuX3wcd5lizedsY,12228
|
|
49
|
+
smartpi/onnx_text_workflow.py,sha256=6l9MTT2T1-rNye3_dSHLI2U749Z94aoRdkSe6CNXfHw,7191
|
|
50
|
+
smartpi/onnx_text_workflow.pyc,sha256=spnjtK69L-Uwey9krxsqt7cmppCpDTYquqylUKTDto0,5138
|
|
51
|
+
smartpi/onnx_voice_workflow.py,sha256=jkMFzy3RUnLo8LZAuCUfsS3YCJWSZzZuiE4RFoQ2HZw,17440
|
|
52
|
+
smartpi/onnx_voice_workflow.pyc,sha256=jN-0JWwOoBNFJB5kWAafFVp521c52he7BLIAKIeXoY8,11464
|
|
53
|
+
smartpi/posenet_utils.py,sha256=o3scK41Eqvftav4y4vp6_6HinQWNCLeLpArXAzqQ-7s,8983
|
|
54
|
+
smartpi/posenet_utils.pyc,sha256=6dY8bd3htgIVuPDXlA_juYUOVcv5Zet-nBI0yTIZ8MQ,7178
|
|
55
|
+
smartpi/rknn_hand_workflow.py,sha256=wsVN_PYP9M-1AFaN4yqrGksUBoamYfujW0nQq4nv3kU,10160
|
|
56
|
+
smartpi/rknn_hand_workflow.pyc,sha256=43OshAKVtd1K9RxsxlTwzhMoZG0m_-BAGq_sA3PxkSA,6337
|
|
57
|
+
smartpi/rknn_image_workflow.py,sha256=4lTtcdmQ9KN5WiEnHayvqAd-dA0tiap5YXIqAMn5SoI,18444
|
|
58
|
+
smartpi/rknn_image_workflow.pyc,sha256=hFcln0sC1g2ZNEyDFud-547vAhJDqOSaKp-CeF7jgsk,13471
|
|
59
|
+
smartpi/rknn_pose_workflow.py,sha256=T09F9vcQ6-QG3PlFRpCI4AuTPzEl_s0C38wfMD21Ujo,27836
|
|
60
|
+
smartpi/rknn_pose_workflow.pyc,sha256=j61x4iYy_Oxtsbi29-gjvvuSmv0Qiw2bB0E7f93cbQw,14788
|
|
61
|
+
smartpi/rknn_text_workflow.py,sha256=KNBSetj3tmlLxdZOm0yzbiDnjH8S5191fuxh5Mi-uCY,9632
|
|
62
|
+
smartpi/rknn_text_workflow.pyc,sha256=ay_4NNkUgRhvpMYddbqMr6Nl5nzPl4fpmKYh0aG5eQM,7045
|
|
63
|
+
smartpi/rknn_voice_workflow.py,sha256=T8iRQWPtJYXqoHIZH2FiT1WLxwN3HQg4D-mg-5KvYdA,16326
|
|
64
|
+
smartpi/rknn_voice_workflow.pyc,sha256=ZVZFzYu4UnqT36o9U6GAvZdtDtEYB0z1jfdcHwjd8eU,11263
|
|
65
|
+
smartpi/servo.py,sha256=m9jy9x_K8o51g86u7ve9tbuCS8ssInflFrFwbi_rKYY,5968
|
|
66
|
+
smartpi/servo.pyc,sha256=3_t_hiypSpCRDhY9cVUDeKVewfElB0H3wnjHRBb4ZCk,3939
|
|
67
|
+
smartpi/temperature.py,sha256=dWK4RBDIDewpdL82f-s3E1B4F4KqG4VAS0dHgjnlKGM,508
|
|
68
|
+
smartpi/temperature.pyc,sha256=Zc6q7GIHFDHsDV7MXEXljuo6JarSAL48nmEDUvm3Agc,562
|
|
69
|
+
smartpi/touch_sensor.py,sha256=iF3vtcGZKxrCzCjItr_MpmjoKAdV2vUGUeV6TNiwomc,483
|
|
70
|
+
smartpi/touch_sensor.pyc,sha256=hrStYjwjv6oSfV2ZQQYSLqJarhN4nuHRDdZbxDraWkc,547
|
|
71
|
+
smartpi/trace.py,sha256=EZhhWspxv6FsjKkWvSNnqXR2XKrfjntvAqQm2vn9bbE,4798
|
|
72
|
+
smartpi/trace.pyc,sha256=GBxc0cdEUgiqPkQMhxvnW3F16LI_brUrUpclERvrH1A,2961
|
|
73
|
+
smartpi/ultrasonic.py,sha256=GMN_ohaUxILsanRP8rnBIg6_cqJxwNNza8KEyMmjyVQ,673
|
|
74
|
+
smartpi/ultrasonic.pyc,sha256=mBE4oG45xFWWyFA7j0l0LlHQbXMjqlfj1RTH1TKB9nA,669
|
|
75
|
+
smartpi/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
76
|
+
smartpi/models/__init__.pyc,sha256=ScrypVMl-uYoHbSArKxRiR8j4SzOR9ecU3B-Jhza3o0,123
|
|
77
|
+
smartpi/models/snakers4_silero-vad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
78
|
+
smartpi/models/snakers4_silero-vad/__init__.pyc,sha256=fndZQRigLkQMQEs-3xvnBgmRJUpAea0hCg_8R7HfqIM,143
|
|
79
|
+
smartpi/models/snakers4_silero-vad/hubconf.py,sha256=lD99cUdVPWatwB6V4RNMayD2BWZcBPaTtcgmywqjTLs,1992
|
|
80
|
+
smartpi/models/snakers4_silero-vad/hubconf.pyc,sha256=RkQyV1rrxK0bD_gx_bdWFeEjh_EQbfBKp5h1uG-qlcU,1670
|
|
81
|
+
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad.jit,sha256=hcSOHw7LYE5dKiaPPM-5EtT36TWs3IavWj_FsK6nspo,2269612
|
|
82
|
+
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad.onnx,sha256=JiOilT9v89LB5hdAxs23FoEzR5smff7xFKSjzFvdeI8,2327524
|
|
83
|
+
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad_16k_op15.onnx,sha256=todaSbrPbVeCan4KVJ1aBddp7jRAXK3Mn_i0RCVEsfk,1289603
|
|
84
|
+
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad_half.onnx,sha256=HgsZWtSAZZXvRGb0GdFvyn5K_PxmabjAtfduqHVHx2k,1280395
|
|
85
|
+
smartpi/posemodel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
|
+
smartpi/posemodel/__init__.pyc,sha256=xhAVPqkOpW9Gq7yiJwnOG463wg_9wExKR8dz-7TCypI,126
|
|
87
|
+
smartpi/posemodel/posenet.tflite,sha256=KFcCnk1X5KvJrVC_c_PhL76pdvwL0hZvBdNqhzZ7J2I,1303152
|
|
88
|
+
smartpi/tencentcloud-speech-sdk-python/__init__.py,sha256=-yYBDkgMDSHYf_F_uX23wZsDSjrudhppJvm34su8_I4,23
|
|
89
|
+
smartpi/tencentcloud-speech-sdk-python/__init__.pyc,sha256=xTX2la2DsIp-IQgkLDjjJ5cs-p76eWCCRE794T8WcwI,147
|
|
90
|
+
smartpi/tencentcloud-speech-sdk-python/asr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
|
+
smartpi/tencentcloud-speech-sdk-python/asr/__init__.pyc,sha256=3jBL-z4zSRe6NUtiZcptmbn6Ei1NSS_gy2sfg90BwZY,151
|
|
92
|
+
smartpi/tencentcloud-speech-sdk-python/asr/flash_recognizer.py,sha256=FWJcVxkN6_KyeXmAhhlueoVvexs-dGnfzw3N7jPBPa8,5752
|
|
93
|
+
smartpi/tencentcloud-speech-sdk-python/asr/flash_recognizer.pyc,sha256=NAcy0jLpFqwiIPTxAvEq5OnWIISHnoaT3ZU8PcFes9M,6585
|
|
94
|
+
smartpi/tencentcloud-speech-sdk-python/asr/speech_recognizer.py,sha256=1X_5eSUEJGBDzffvKvIKFbwRgviXNGb7sTZqS7szyOc,9568
|
|
95
|
+
smartpi/tencentcloud-speech-sdk-python/asr/speech_recognizer.pyc,sha256=N7zXF7Rs1vjXlVGGXqdLwXfbWbJ2PlGgzmpAnFtduaY,9908
|
|
96
|
+
smartpi/tencentcloud-speech-sdk-python/common/__init__.py,sha256=CCIy8VClDV-BJWH-I2ntU0gcfShap6HEMWpdjSYGPKc,23
|
|
97
|
+
smartpi/tencentcloud-speech-sdk-python/common/__init__.pyc,sha256=D1SGcB2cCv4luACsBLrX7Ta720u_gzxNSeYOQH0rEBw,154
|
|
98
|
+
smartpi/tencentcloud-speech-sdk-python/common/credential.py,sha256=Igqg4FexZXidjj0W8MfqRJc-2gPrhIbm3w2re3QVBL0,198
|
|
99
|
+
smartpi/tencentcloud-speech-sdk-python/common/credential.pyc,sha256=ZPewv_SI4g8YMo-ELNak97T_R-AeonkUFZ5fVAEN8FI,495
|
|
100
|
+
smartpi/tencentcloud-speech-sdk-python/common/log.py,sha256=ekZVwv6USLyShxLTB-Mhog0g8w-qGkklOJjuAUtvQsk,536
|
|
101
|
+
smartpi/tencentcloud-speech-sdk-python/common/log.pyc,sha256=Q26j3AA8RuXwelhvDxSBTwxsWX_PZt1_OVMs1qWwGyE,616
|
|
102
|
+
smartpi/tencentcloud-speech-sdk-python/common/utils.py,sha256=baodAxaEpbGJQPmtvLQyyuav5K3ht_UBVq8s1yNH5Ww,116
|
|
103
|
+
smartpi/tencentcloud-speech-sdk-python/common/utils.pyc,sha256=dDV-2s4RQxML7rFHXjnK34o7mFKsNgWtuDuS-6SNhW4,301
|
|
104
|
+
smartpi/tencentcloud-speech-sdk-python/examples/tts/tts_text.txt,sha256=ufooughGwSPBnLxulH1BNwTFqsDSoLlvjRa2o-PJy1g,2669
|
|
105
|
+
smartpi/tencentcloud-speech-sdk-python/soe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
+
smartpi/tencentcloud-speech-sdk-python/soe/__init__.pyc,sha256=_XGNVUvnz8365EBzuAJ5VuoLtXGffVjo4fvVYQFXo3o,151
|
|
107
|
+
smartpi/tencentcloud-speech-sdk-python/soe/speaking_assessment.py,sha256=J4C2uAqRCVh9qICe6Ug-nJmnvmsJCfa2uylOXo6V-y8,8289
|
|
108
|
+
smartpi/tencentcloud-speech-sdk-python/soe/speaking_assessment.pyc,sha256=xrW6y5opvEVPlCigeLqyFC8W3nNinQjN22YE_7jD72M,8639
|
|
109
|
+
smartpi/tencentcloud-speech-sdk-python/tts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
|
+
smartpi/tencentcloud-speech-sdk-python/tts/__init__.pyc,sha256=3WltFBUIiYirnKsWtXTaoMxmcFwk3_REemWr_CrnzMs,151
|
|
111
|
+
smartpi/tencentcloud-speech-sdk-python/tts/flowing_speech_synthesizer.py,sha256=X20uhp-yfqtRBnwzpxnt6hBtTkvAGgzh4OzjnAgLGQs,9908
|
|
112
|
+
smartpi/tencentcloud-speech-sdk-python/tts/flowing_speech_synthesizer.pyc,sha256=1LqwSI8l5clheAzTONHHgwlW_sOgjUN45fySw5Nbv94,10745
|
|
113
|
+
smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer.py,sha256=8UltVigufuvIN_tYzUwsLsI4882MB7ZjAjelgyKDHjA,4216
|
|
114
|
+
smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer.pyc,sha256=ryImMA_D-ROaA9eBOob9AtYvgy-3jcUVJdOjGS4SzsI,4720
|
|
115
|
+
smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer_ws.py,sha256=G8Jc8S74Gekgsp_qFmgYN3IBRfeQWD8AtbwAl6NdMGE,7648
|
|
116
|
+
smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer_ws.pyc,sha256=1ULASF8xhAPwZ5a19Y4Wd_pTzDUEqeZ-3QzE_RBL3UU,8372
|
|
117
|
+
smartpi/tencentcloud-speech-sdk-python/vc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
118
|
+
smartpi/tencentcloud-speech-sdk-python/vc/__init__.pyc,sha256=NzwtDNyTktHwMdnKUe1v-7-l3A7G8MC4NwzDGJqdOCE,150
|
|
119
|
+
smartpi/tencentcloud-speech-sdk-python/vc/speech_convertor_ws.py,sha256=JKZhJlFy4RTDVrg9Vqyr3cenNgHkK-NtJoTboVeX-dU,7799
|
|
120
|
+
smartpi/tencentcloud-speech-sdk-python/vc/speech_convertor_ws.pyc,sha256=t8kvETKXsFe86rm7EenUgfILRQwZSfgcH9i93hfFwxA,8096
|
|
121
|
+
smartpi/text_gte_model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
122
|
+
smartpi/text_gte_model/__init__.pyc,sha256=ePtPBzFJ9hMRp4OM-W2-7Jlzzk7zaDkbFlpNZiwE5BE,131
|
|
123
|
+
smartpi/text_gte_model/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
124
|
+
smartpi/text_gte_model/config/__init__.pyc,sha256=n_q5SrCzuSwIOKo-K_V1NBHUkNKaJlUlfkClaJj7Y08,138
|
|
125
|
+
smartpi/text_gte_model/config/config.json,sha256=dkFw_GRLSEkp6VT2U92alaGUfCRRJBQysJYSbJYznLc,818
|
|
126
|
+
smartpi/text_gte_model/config/quantize_config.json,sha256=snZbw5kBj_FupAbcYazm_11wNRCbX2m468VBjl6svd4,703
|
|
127
|
+
smartpi/text_gte_model/config/special_tokens_map.json,sha256=PDUH823_V7zkNyI9s7MIHR4rUuw-Vu5VQ4GT7LLJTdY,132
|
|
128
|
+
smartpi/text_gte_model/config/tokenizer.json,sha256=BC58aSuzfzE-tNG0UDwcFfNT_mJOYFaLoVoOs_JBEjQ,312882
|
|
129
|
+
smartpi/text_gte_model/config/tokenizer_config.json,sha256=w5RiDifbeIYy6vyGX5v94vFmcko1TMItqnY0RfcBO1Q,639
|
|
130
|
+
smartpi/text_gte_model/config/vocab.txt,sha256=oi9hP3uz_8h8XoHNh6rgLnVdJbIEm75zKoSKM8HzsC8,84758
|
|
131
|
+
smartpi/text_gte_model/gte/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
132
|
+
smartpi/text_gte_model/gte/__init__.pyc,sha256=Xl2sRrcgq7V0Qcz9OhP99hyGo3DkuLUV7i4XcePsxQU,135
|
|
133
|
+
smartpi/text_gte_model/gte/gte_model.onnx,sha256=XXYg6TUhzOx1SqAhp6ePDU0QgeK6DQEqHATMuQQJCNE,30468366
|
|
134
|
+
smartpi-1.1.5.dist-info/METADATA,sha256=6c7JukrtxQDd8_h-2Vi6b1UYIROtkja3tFxBxF0oivU,752
|
|
135
|
+
smartpi-1.1.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
136
|
+
smartpi-1.1.5.dist-info/top_level.txt,sha256=PoLhUCmWAiQUg5UeN2fS-Y1iQyBbF2rdUlizXtpHGRQ,8
|
|
137
|
+
smartpi-1.1.5.dist-info/RECORD,,
|
smartpi-1.1.3.dist-info/RECORD
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
smartpi/__init__.py,sha256=Jv2ll1u6hdhhp34SlVWnVSY0KmWsQJRk1imHB0yS7IE,392
|
|
2
|
-
smartpi/_gui.py,sha256=tUHNamQSvXUrYFNgWI5GexjL9mTy_qeW0xbIExkTGoM,2290
|
|
3
|
-
smartpi/ai_asr.py,sha256=wxh_1Klh8vJottAt19jq3qpOmM_Cw4DHQEPKpsHGhmE,40063
|
|
4
|
-
smartpi/ai_llm.py,sha256=-khBK2PMwbYUDvbaCTRCktE4dFloqfai4mHI-V8GEXM,36751
|
|
5
|
-
smartpi/ai_tts.py,sha256=OjAJs3XOykiufXuEDiaD0coKsWjknPdhwRpRzGLDZKU,36061
|
|
6
|
-
smartpi/ai_vad.py,sha256=9J1xxuKF8GvojkL_JuXv7_xE8bQAo5D49Xasi8piKK8,3630
|
|
7
|
-
smartpi/audio.py,sha256=Ca5rs-MhKNyNjvwVDyh4hpG4ssYG-MSO_I99MRsh8t0,3475
|
|
8
|
-
smartpi/base_driver.py,sha256=BwqgcYbQ9Rg8KiBJV2xy--NMNsMIg_zL-nnsAilCHJk,22687
|
|
9
|
-
smartpi/camera.py,sha256=AVpZsMpW-24CP3BOfarjmRawMJdTOZY7Crq7FeLOqb4,3292
|
|
10
|
-
smartpi/color_sensor.py,sha256=ckIXD81YnqPo6nENAnipNp3gY12FJ235QKj0e8Cul9E,521
|
|
11
|
-
smartpi/cw2015.py,sha256=1lAF-pi_ye_ya1AZQS1sjbgsDf7MThO5IAskKsNGBzA,5695
|
|
12
|
-
smartpi/flash.py,sha256=-pUqg6FSVoBiLFKqrG9B4dFqn8lICnQsSPJr_MtZLIU,4132
|
|
13
|
-
smartpi/humidity.py,sha256=uoSFt5mAKr-dHz125uznHXAPeTN61ZR92_2nQmytQ5M,522
|
|
14
|
-
smartpi/led.py,sha256=6-y5MFGk0tN5N_WHclXbSRyP-anhCHhgXI3MdAQCKWM,617
|
|
15
|
-
smartpi/light_sensor.py,sha256=-ICMwQcWIZ6LGOz_A2WL5h5CL1v4opmlfacN35veMSE,2398
|
|
16
|
-
smartpi/local_model.py,sha256=3LB93ZhR4ANIv57EF5PWeVN_LNoAMKLUGmQnQSrMe5Q,18961
|
|
17
|
-
smartpi/mcp_client.py,sha256=tPgivztxbENEUBaBEnFHfTuCqicTsXIObEBlbrrXPE4,3332
|
|
18
|
-
smartpi/mcp_fastmcp.py,sha256=2MRIShc7snk99MGIpWnQflToyIUfKziLOhZhSNZifzE,13316
|
|
19
|
-
smartpi/mcp_intent_recognizer.py,sha256=FGPHDu1DiPJoWTGEIN_vlFEHEBKyCGNLZegjxFyUcEk,18846
|
|
20
|
-
smartpi/motor.py,sha256=DvFzREEzyRafGmSCagU6ASeoE8fnAsKYI4oYMrkXXJc,5351
|
|
21
|
-
smartpi/move.py,sha256=s1ZnkFtp6SCBnxhBxp6qQjGbifdsY5hjVCwlarTsZto,6688
|
|
22
|
-
smartpi/onnx_hand_workflow.py,sha256=ZCoaWC6GygZSrhM6jhsuB6qmQ6GiAFFrso6rKAGmue8,8157
|
|
23
|
-
smartpi/onnx_image_workflow.py,sha256=-saM_NxR6yDz06xlWZOvHf6cq3zmtOCFhCyZTGqvuOk,6188
|
|
24
|
-
smartpi/onnx_pose_workflow.py,sha256=w0zGlXXBgIcxwjLF7eYHPEePqRw3KXvKQUqzVd_UrzQ,20966
|
|
25
|
-
smartpi/onnx_text_workflow.py,sha256=6l9MTT2T1-rNye3_dSHLI2U749Z94aoRdkSe6CNXfHw,7191
|
|
26
|
-
smartpi/onnx_voice_workflow.py,sha256=jkMFzy3RUnLo8LZAuCUfsS3YCJWSZzZuiE4RFoQ2HZw,17440
|
|
27
|
-
smartpi/posenet_utils.py,sha256=o3scK41Eqvftav4y4vp6_6HinQWNCLeLpArXAzqQ-7s,8983
|
|
28
|
-
smartpi/rknn_hand_workflow.py,sha256=wsVN_PYP9M-1AFaN4yqrGksUBoamYfujW0nQq4nv3kU,10160
|
|
29
|
-
smartpi/rknn_image_workflow.py,sha256=4lTtcdmQ9KN5WiEnHayvqAd-dA0tiap5YXIqAMn5SoI,18444
|
|
30
|
-
smartpi/rknn_pose_workflow.py,sha256=T09F9vcQ6-QG3PlFRpCI4AuTPzEl_s0C38wfMD21Ujo,27836
|
|
31
|
-
smartpi/rknn_text_workflow.py,sha256=KNBSetj3tmlLxdZOm0yzbiDnjH8S5191fuxh5Mi-uCY,9632
|
|
32
|
-
smartpi/rknn_voice_workflow.py,sha256=T8iRQWPtJYXqoHIZH2FiT1WLxwN3HQg4D-mg-5KvYdA,16326
|
|
33
|
-
smartpi/servo.py,sha256=0p09Jk-IVk5nLXz2AqFvytiYSSe4sMxdy1FaNMQijoY,5770
|
|
34
|
-
smartpi/temperature.py,sha256=xfM9V5dvJ9M-3rqnE2AjaYXEH9jP5s1_Myo4GEwH3NY,485
|
|
35
|
-
smartpi/touch_sensor.py,sha256=Zp7z0qnaZ99cuamakqDwI2tFd2a3CnjQ1rngdn_mZlM,463
|
|
36
|
-
smartpi/trace.py,sha256=EZhhWspxv6FsjKkWvSNnqXR2XKrfjntvAqQm2vn9bbE,4798
|
|
37
|
-
smartpi/ultrasonic.py,sha256=qrGge3G9_1s3ZdKYZRJ_FP8l_VhbpYEe-anlShooMwA,647
|
|
38
|
-
smartpi/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
|
-
smartpi/models/snakers4_silero-vad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
|
-
smartpi/models/snakers4_silero-vad/hubconf.py,sha256=lD99cUdVPWatwB6V4RNMayD2BWZcBPaTtcgmywqjTLs,1992
|
|
41
|
-
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad.jit,sha256=hcSOHw7LYE5dKiaPPM-5EtT36TWs3IavWj_FsK6nspo,2269612
|
|
42
|
-
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad.onnx,sha256=JiOilT9v89LB5hdAxs23FoEzR5smff7xFKSjzFvdeI8,2327524
|
|
43
|
-
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad_16k_op15.onnx,sha256=todaSbrPbVeCan4KVJ1aBddp7jRAXK3Mn_i0RCVEsfk,1289603
|
|
44
|
-
smartpi/models/snakers4_silero-vad/src/silero_vad/data/silero_vad_half.onnx,sha256=HgsZWtSAZZXvRGb0GdFvyn5K_PxmabjAtfduqHVHx2k,1280395
|
|
45
|
-
smartpi/posemodel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
-
smartpi/posemodel/posenet.tflite,sha256=KFcCnk1X5KvJrVC_c_PhL76pdvwL0hZvBdNqhzZ7J2I,1303152
|
|
47
|
-
smartpi/tencentcloud-speech-sdk-python/__init__.py,sha256=-yYBDkgMDSHYf_F_uX23wZsDSjrudhppJvm34su8_I4,23
|
|
48
|
-
smartpi/tencentcloud-speech-sdk-python/asr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
-
smartpi/tencentcloud-speech-sdk-python/asr/flash_recognizer.py,sha256=FWJcVxkN6_KyeXmAhhlueoVvexs-dGnfzw3N7jPBPa8,5752
|
|
50
|
-
smartpi/tencentcloud-speech-sdk-python/asr/speech_recognizer.py,sha256=1X_5eSUEJGBDzffvKvIKFbwRgviXNGb7sTZqS7szyOc,9568
|
|
51
|
-
smartpi/tencentcloud-speech-sdk-python/common/__init__.py,sha256=CCIy8VClDV-BJWH-I2ntU0gcfShap6HEMWpdjSYGPKc,23
|
|
52
|
-
smartpi/tencentcloud-speech-sdk-python/common/credential.py,sha256=Igqg4FexZXidjj0W8MfqRJc-2gPrhIbm3w2re3QVBL0,198
|
|
53
|
-
smartpi/tencentcloud-speech-sdk-python/common/log.py,sha256=ekZVwv6USLyShxLTB-Mhog0g8w-qGkklOJjuAUtvQsk,536
|
|
54
|
-
smartpi/tencentcloud-speech-sdk-python/common/utils.py,sha256=baodAxaEpbGJQPmtvLQyyuav5K3ht_UBVq8s1yNH5Ww,116
|
|
55
|
-
smartpi/tencentcloud-speech-sdk-python/examples/tts/tts_text.txt,sha256=ufooughGwSPBnLxulH1BNwTFqsDSoLlvjRa2o-PJy1g,2669
|
|
56
|
-
smartpi/tencentcloud-speech-sdk-python/soe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
-
smartpi/tencentcloud-speech-sdk-python/soe/speaking_assessment.py,sha256=J4C2uAqRCVh9qICe6Ug-nJmnvmsJCfa2uylOXo6V-y8,8289
|
|
58
|
-
smartpi/tencentcloud-speech-sdk-python/tts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
|
-
smartpi/tencentcloud-speech-sdk-python/tts/flowing_speech_synthesizer.py,sha256=X20uhp-yfqtRBnwzpxnt6hBtTkvAGgzh4OzjnAgLGQs,9908
|
|
60
|
-
smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer.py,sha256=8UltVigufuvIN_tYzUwsLsI4882MB7ZjAjelgyKDHjA,4216
|
|
61
|
-
smartpi/tencentcloud-speech-sdk-python/tts/speech_synthesizer_ws.py,sha256=G8Jc8S74Gekgsp_qFmgYN3IBRfeQWD8AtbwAl6NdMGE,7648
|
|
62
|
-
smartpi/tencentcloud-speech-sdk-python/vc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
63
|
-
smartpi/tencentcloud-speech-sdk-python/vc/speech_convertor_ws.py,sha256=JKZhJlFy4RTDVrg9Vqyr3cenNgHkK-NtJoTboVeX-dU,7799
|
|
64
|
-
smartpi/text_gte_model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
|
-
smartpi/text_gte_model/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
66
|
-
smartpi/text_gte_model/config/config.json,sha256=dkFw_GRLSEkp6VT2U92alaGUfCRRJBQysJYSbJYznLc,818
|
|
67
|
-
smartpi/text_gte_model/config/quantize_config.json,sha256=snZbw5kBj_FupAbcYazm_11wNRCbX2m468VBjl6svd4,703
|
|
68
|
-
smartpi/text_gte_model/config/special_tokens_map.json,sha256=PDUH823_V7zkNyI9s7MIHR4rUuw-Vu5VQ4GT7LLJTdY,132
|
|
69
|
-
smartpi/text_gte_model/config/tokenizer.json,sha256=BC58aSuzfzE-tNG0UDwcFfNT_mJOYFaLoVoOs_JBEjQ,312882
|
|
70
|
-
smartpi/text_gte_model/config/tokenizer_config.json,sha256=w5RiDifbeIYy6vyGX5v94vFmcko1TMItqnY0RfcBO1Q,639
|
|
71
|
-
smartpi/text_gte_model/config/vocab.txt,sha256=oi9hP3uz_8h8XoHNh6rgLnVdJbIEm75zKoSKM8HzsC8,84758
|
|
72
|
-
smartpi/text_gte_model/gte/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
73
|
-
smartpi/text_gte_model/gte/gte_model.onnx,sha256=XXYg6TUhzOx1SqAhp6ePDU0QgeK6DQEqHATMuQQJCNE,30468366
|
|
74
|
-
smartpi-1.1.3.dist-info/METADATA,sha256=Kq3YHGd7bmFTW6Z7v1aLQLB2xXLLckdjDlsaAr-2Qg8,715
|
|
75
|
-
smartpi-1.1.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
76
|
-
smartpi-1.1.3.dist-info/top_level.txt,sha256=PoLhUCmWAiQUg5UeN2fS-Y1iQyBbF2rdUlizXtpHGRQ,8
|
|
77
|
-
smartpi-1.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|