12345678910111213141516171819202122232425262728293031323334353637383940 |
- data = {
- # 指令类型
- "cmdid": 100101, # 启动作业
- # 指令参数
- "param": {
- # 任务类型 102 叉包 105 回e点 104 倒渣 103 放包
- # 102 叉包
- # "task_type": 102,
- # "task_coordinates": {
- # "pot_name": "N.12",
- # "pot_x": 78.381871,
- # "pot_y": 209.724510,
- # "mark_pot_pose": -1.559925,
- # "e_point_x": 50,
- # "e_point_y": 60
- # },
- # 105 回e点 (就是x轴的偏移量)
- "task_type": 105,
- "task_coordinates": {
- "e_point_x": 78.381871 - 40,
- "e_point_y": 199.66660199999998
- },
- # 104 倒渣
- # "task_type": 104,
- # "task_coordinates": {
- #
- # },
- # 103 放包
- # "task_type": 103,
- # "task_coordinates": {
- # "pot_name": "N30",
- # "pot_x": 178.045984,
- # "pot_y": 209.219726,
- # "mark_pot_pose": -1.608619,
- # "e_point_x": 50,
- # "e_point_y": 60
- # },
- }
- }
|