Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 此sample为 windows console application, 需要在console中用命令行执行,用法为:artifacts_demo <IP address>  (注: 此IP地址为slamware模块的IP地址)

    或者在属性页面设置Command Arguments
  2. 代码功能说明: 删除所有虚拟墙/虚拟轨道、添加虚拟墙、添加虚拟轨道、移动虚拟墙(移动虚拟轨道用法类似)、删除指定虚拟轨道(删除指定虚拟墙用法类似)删除所有虚拟墙/虚拟轨道

    Code Block
    languagecpp
    firstline1
    title删除所有虚拟轨道/虚拟墙
    linenumberstrue
    		SlamwareCorePlatform sdp = SlamwareCorePlatform::connect(argv[1], 1445);
            std::cout << "Clearing existing tracks and walls..." << std::endl;
    		sdp.clearLines(ArtifactUsageVirtualTrack);
    		sdp.clearLines(ArtifactUsageVirtualWall);




...