s4-行驶-e点-到-倒渣口2 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. mqtt当前位置:'position_x': 109.30082456920857, 'position_y': 200.45750181311485
  2. # 导航数据
  3. "navigation": [
  4. {
  5. 'type': 'forward',
  6. 'nav_coordinates': [
  7. {
  8. 'start_point_x': 109.30082456920857, # mqtt中获取当前位置
  9. 'start_point_y': 200.45750181311485, # mqtt中获取当前位置
  10. 'end_point_x': 18.618844,
  11. 'end_point_y': 200.67567
  12. },
  13. {
  14. 'start_point_x': 18.618844,
  15. 'start_point_y': 200.67567,
  16. 'center_point_x': 18.306224428571426,
  17. 'center_point_y': 186.9142662857143,
  18. 'end_point_x': 17.993604857142852,
  19. 'end_point_y': 173.15286257142859
  20. },
  21. {
  22. 'start_point_x': 17.993604857142852,
  23. 'start_point_y': 173.15286257142859,
  24. 'end_point_x': 47.9858831368238,
  25. 'end_point_y': 172.47224256424514
  26. }
  27. ]
  28. }
  29. ]