boot启动文件
- boot.get_color()
获取色块颜色
- 返回:
RED-3,GREEN-4,BLUE-5,YELLOW-6
- 返回类型:
int
- boot.focus(color)
自动校准
- 参数:
color (int) – 需要对准的颜色,可填RED/GREEN/YELLOW
- boot.catch(color)
抓取动作
包含自动对准、下降机械臂、打开夹爪、上升机械臂
- 参数:
color (_type_) – _description_
- boot.drop()
释放夹爪