Agilex Doc
登录

该文档由 LTJ 创建于 2021-04-01 15:30:05 LTJ2021-04-01 15:30:05 修改了该文档 。

1.3.8. 获取地图列表

  • GET请求 /gs-robot/data/maps

  • 通常只取name即地图的名字,其他数据外层未用到

  • respose:

    1. {
    2. "data":[
    3. {
    4. "createdAt":"2016-08-11 04:08:30",
    5. "dataFileName":"40dd8fcd-5e6d-4890-b620-88882d9d3977.data",
    6. "id":0,
    7. "mapInfo":{
    8. "gridHeight":992, // 栅格地图高度
    9. "gridWidth":992,  // 栅格地图宽度
    10. "originX":-24.8,  // 地图原点
    11. "originY":-24.8, // 地图原点
    12. "resolution":0.05000000074505806  //栅格化地图比例
    13. },
    14. "name":"demo",
    15. "obstacleFileName":"",
    16. "pgmFileName":"6a3e7cae-c4a8-4583-9a5d-08682344647a.pgm",
    17. "pngFileName":"228b335f-8c1a-4f05-a292-160f942cbe00.png",
    18. "yamlFileName":"4108be8c-4004-4ad6-a9c5-599b4a3d49df.yaml"
    19. },
    20. {
    21. "createdAt":"2016-07-27 23:37:31",
    22. "dataFileName":"df5ff3c6-ac5c-4365-a89a-ca0128057006.data",
    23. "id":0,
    24. "mapInfo":{
    25. "gridHeight":992,
    26. "gridWidth":992,
    27. "originX":-24.8,
    28. "originY":-24.8,
    29. "resolution":0.05000000074505806
    30. },
    31. "name":"tom5",
    32. "obstacleFileName":"",
    33. "pgmFileName":"8768e979-6a27-46db-a479-b729036970b3.pgm",
    34. "pngFileName":"5ef8bd27-5ffa-4c44-8f25-2f2811d0d2e8.png",
    35. "yamlFileName":"e2c0cc20-6ee8-4ce9-91c0-1fe1fce39857.yaml"
    36. }
    37. ],
    38. "errorCode":"",
    39. "msg":"successed",
    40. "successed":true
    41. }

很赞

看不懂

潦草