Skip to content

获取其定义路径漫游点返回值

js
CloudApi.SuperAPI("GetCusBrowsesPathPath");

功能描述

获取绘制信息

开启监听事件 Monitor

触发 GetCusBrowsesPathPath

在 Monitor 回调函数中 可获取 CallBackType = "ResBrowsesPath" 的数据

数据描述

返回的数据为 json 格式

js
{
    "CallBackType": "ResBrowsesPath",
    "FixedPointList":[
      {
        "Pos": "X=8975.778 Y=13374.975 Z=2468.980"//世界坐标
        "Roa": "P=0.000000 Y=0.000000 R=0.000000",//姿态欧拉角
        "InterpType": "0",//漫游点位插值类型
        "Name": "西路口",//漫游点位名称
        "DriverTime": "2",//漫游行驶时间
        "StopTime": "0",//漫游停留时间
        "RoaTime":"0.5"//漫游点旋转时间
      },
      {
        "Pos": "X=13210.778 Y=13374.975 Z=2468.980",
        "Roa": "P=-3.334642 Y=86.550865 R=0.000000",
        "InterpType": "0",
        "Name": "",
        "DriverTime": "2",
        "StopTime": "0",
        "RoaTime":"0.5"
      },
      {
        "Pos": "X=13217.386 Y=13484.590 Z=2462.582",
        "Roa": "P=0.455615 Y=89.202835 R=0.000000",
        "InterpType": "0",
        "Name": "",
        "DriverTime": "2",
        "StopTime": "0",
        "RoaTime":"0.5"
      },
      {
        "Pos": "X=13248.776 Y=15739.310 Z=2480.509",
        "Roa": "P=0.455615 Y=89.202835 R=0.000000",
        "InterpType": "0",
        "Name": "",
        "DriverTime": "2",
        "StopTime": "0",
        "RoaTime":"0.5"
      },
      {
        "Pos": "X=13029.097 Y=15746.606 Z=2471.115",
        "Roa": "P=-2.447380 Y=178.097244 R=-0.000000",
        "InterpType": "0",
        "Name": "",
        "DriverTime": "2",
        "StopTime": "0",
        "RoaTime":"0.5"
      },
      {
        "Pos": "X=12510.739 Y=15663.777 Z=1899.067",
        "Roa": "P=-52.989155 Y=175.971741 R=0.000000",
        "InterpType": "0",
        "Name": "",
        "DriverTime": "2",
        "StopTime": "0",
        "RoaTime":"0.5"
      },
      {
        "Pos": "X=12510.739 Y=15663.777 Z=1899.067",
        "Roa": "P=-3.424923 Y=-90.582016 R=0.000000",
        "InterpType": "0",
        "Name": "",
        "DriverTime": "2",
        "StopTime": "0",
        "RoaTime":"0.5"
      },
      {
        "Pos": "X=12506.278 Y=15224.582 Z=1872.781",
        "Roa": "P=-3.424923 Y=-90.582016 R=0.000000",
        "InterpType": "0",
        "Name": "",
        "DriverTime": "2",
        "StopTime": "0",
        "RoaTime":"0.5"
      }
    ]
}