702 B
702 B
#领域/未知
#复盘/0 #临时/备忘 #状态/待处理
20260307-备忘-主题名-文件内容
一句话描述
[________]
"""
30, 130, 140, 60
10, 130, 140, 80
30, 170, 100, 60
"""
from npython import *
step_list = [
[30, 130, 30, 120],
#[10, 130, 140, 80],
#[30, 170, 100, 60]
]
def move(p, a):
servos.write_angle(p, a)
def test(step_list):
for i in range(1):
for step in step_list:
a1, a2, a3, a4 = step
move(0, a1)
move(1, a2)
move(12, a3)
move(5, a4)
time.sleep(0.1)
test(step_list)