该文档由 LTJ 创建于 2021-04-01 15:30:05 , LTJ 在 2021-04-01 15:30:05 修改了该文档 。
GET请求 /gs-robot/data/maps
通常只取name即地图的名字,其他数据外层未用到
respose:
{
"data":[
{
"createdAt":"2016-08-11 04:08:30",
"dataFileName":"40dd8fcd-5e6d-4890-b620-88882d9d3977.data",
"id":0,
"mapInfo":{
"gridHeight":992, // 栅格地图高度
"gridWidth":992, // 栅格地图宽度
"originX":-24.8, // 地图原点
"originY":-24.8, // 地图原点
"resolution":0.05000000074505806 //栅格化地图比例
},
"name":"demo",
"obstacleFileName":"",
"pgmFileName":"6a3e7cae-c4a8-4583-9a5d-08682344647a.pgm",
"pngFileName":"228b335f-8c1a-4f05-a292-160f942cbe00.png",
"yamlFileName":"4108be8c-4004-4ad6-a9c5-599b4a3d49df.yaml"
},
{
"createdAt":"2016-07-27 23:37:31",
"dataFileName":"df5ff3c6-ac5c-4365-a89a-ca0128057006.data",
"id":0,
"mapInfo":{
"gridHeight":992,
"gridWidth":992,
"originX":-24.8,
"originY":-24.8,
"resolution":0.05000000074505806
},
"name":"tom5",
"obstacleFileName":"",
"pgmFileName":"8768e979-6a27-46db-a479-b729036970b3.pgm",
"pngFileName":"5ef8bd27-5ffa-4c44-8f25-2f2811d0d2e8.png",
"yamlFileName":"e2c0cc20-6ee8-4ce9-91c0-1fe1fce39857.yaml"
}
],
"errorCode":"",
"msg":"successed",
"successed":true
}