# 循环运动耐久测试 {'code': 2, 'is_auto_enable': 0,"max_speed":1800,"min_pos":50,"max_pos":1500} # 测试传感器 {'code': 6} # 自动回落测试 {'code': 7,'max_speed':200,'servo_back_torque':16} # 刹车反向处理 {"code": 11, "is_normal": false, "servo_enable": false} # 刹车正向处理 {"code": 11, "is_normal": true, "servo_enable": true} #清空错误 {"code": 0, "is_clearn": true, "clearn_all": true} #循环测试传感器 {"code": 12, "is_out_time": 360} #查询错误 {"code": 14} #读取伺服配置 {"code": 3,"is_get":1,"menu":3188,"value":0,"is_save":False,} #设置伺服配置 {"code": 3,"is_get":0,"menu":3188,"value":0"is_save":False,} #转盘init 忽略限位 {"code": 13,"device_list":"turntable_steering"} #前后init 忽略限位 {"code": 13,"device_list":"turntable_position_motor"} #焦段init 忽略限位 {"code": 13,"device_list":"camera_zoom_motor"} #读取指定ID配置 {"code": 15,"addr":1,"method":"get","value":0,} #设置指定ID配置 {"code": 15,"addr":1,"method":"save","value":0,} #设置密钥 {"code": 17,"key":"xxxxxxxx"} #三代机电机测试 {"code": 18,"torque":2,"target_value":10} #前后减速机是否正常 {"code": 19,"up_electric":500,"max_electric":2000,"max_speed":500,"dir_change":false,"time_out":2,} # 获取设备ID 55 55 2 5a 1 a4 # 强制初始化 55 55 03 02 63 01 99 # 初始化(不强制) 55 55 03 02 63 00 9a # 高度0 55 55 0e 01 01 01 00 00 05 78 01 90 00 64 00 01 00 89 # 高度50 55 55 0e 01 01 01 00 32 05 78 01 90 00 64 00 01 00 57 # 高度999 55 55 12 01 01 01 03 e7 2e e0 03 20 02 bc 00 01 00 01 00 5e 01 c2 # 高度1500 55 55 12 01 01 01 05 dc 2e e0 03 20 02 bc 00 01 00 01 00 5f 01 ca # 相机角度0 55 55 0e 01 00 01 00 00 17 70 01 f4 01 f4 00 01 00 8b # 相机角度10 55 55 0e 01 00 01 00 64 17 70 01 f4 01 f4 00 01 00 27 # 转盘舵机 0 55 55 0e 01 02 01 00 00 0b b8 00 c8 00 c8 00 01 00 a7 # 转盘舵机 10 55 55 0e 01 02 01 00 64 0b b8 00 c8 00 c8 00 01 00 43 # 前后移动0 55 55 0e 01 07 01 00 00 05 78 01 90 00 64 00 01 00 83 # 前后移动20 55 55 0e 01 07 01 00 14 05 78 01 90 00 64 00 01 00 6f # 蜂鸣器 55 55 06 03 05 01 00 01 00 f5 # 翻板运动 55 55 06 03 03 01 00 01 00 f7 # 翻板120度 55 55 13 01 03 01 04 b0 00 02 00 01 00 01 01 00 00 01 00 2c 00 00 14 # 翻板130度 55 55 13 01 03 01 05 14 00 02 00 01 00 01 01 00 00 01 00 2d 00 00 ae # 翻板150度 55 55 13 01 03 01 05 dc 00 02 00 01 00 01 01 00 00 01 00 2f 00 00 e4 # 激光控制 开 55 55 06 03 04 01 00 01 00 f6 # 激光控制 关 55 55 06 03 04 00 00 01 00 f7 # 测试:camera_steering 55 55 03 98 00 00 67 # 测试:camera_high_motor 55 55 03 98 01 00 66 # 测试:turntable_steering 55 55 03 98 02 00 65 # 测试:overturn_steering 55 55 03 98 03 00 64 # 测试:laser_position 55 55 03 98 04 00 63 # 测试:buzzer 55 55 03 98 05 00 62 # 测试:split 55 55 03 98 06 00 61 # 测试:turntable_position_motor 55 55 03 98 07 00 60 # 测试:mp3_player 55 55 03 98 08 00 5f # 测试:overturn_steering_only 55 55 03 98 09 00 5e # 测试:camera_zoom_motor 55 55 03 98 0a 00 5d # 测试:mcu 55 55 03 98 63 00 04 # 自动往下运行 55 55 69 96 0 3 0 c8 b 0 0 0 0 0 3 1 1 0 0 0 0 0 0 78 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 2 # 设备关机 55 55 1 35 ca