cmd100101.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. data = {
  2. # 指令类型
  3. "cmdid": 100101, # 启动作业
  4. # 指令参数
  5. "param": {
  6. # 任务类型 102 叉包 105 回e点 104 倒渣 103 放包
  7. # 102 叉包
  8. # "task_type": 102,
  9. # "task_coordinates": {
  10. # "pot_name": "N.12",
  11. # "pot_x": 78.381871,
  12. # "pot_y": 209.724510,
  13. # "mark_pot_pose": -1.559925,
  14. # "e_point_x": 50,
  15. # "e_point_y": 60
  16. # },
  17. # 105 回e点 (就是x轴的偏移量)
  18. "task_type": 105,
  19. "task_coordinates": {
  20. "e_point_x": 78.381871 - 40,
  21. "e_point_y": 199.66660199999998
  22. },
  23. # 104 倒渣
  24. # "task_type": 104,
  25. # "task_coordinates": {
  26. #
  27. # },
  28. # 103 放包
  29. # "task_type": 103,
  30. # "task_coordinates": {
  31. # "pot_name": "N30",
  32. # "pot_x": 178.045984,
  33. # "pot_y": 209.219726,
  34. # "mark_pot_pose": -1.608619,
  35. # "e_point_x": 50,
  36. # "e_point_y": 60
  37. # },
  38. }
  39. }