[关闭]
@natsumi 2017-04-27T08:18:49.000000Z 字数 1241 阅读 1113

OnBoard SDK Demo 编译和运行

UAV


Onboard-SDK-3.2/sample/Linux/Blocking/UserConfig.txt

  1. ID:1038208
  2. KEY:c01408afa1f9db38267009d209efb953b9f756c59e0298176c712f5bafb35a65
  3. DeviceName: /dev/ttyUSB0
  4. BaudRate: 230400

Onboard-SDK-3.2/sample/Linux/Non-Blocking/UserConfig.txt

  1. ID:1038208
  2. KEY:c01408afa1f9db38267009d209efb953b9f756c59e0298176c712f5bafb35a65
  3. DeviceName: /dev/ttyUSB0
  4. BaudRate: 230400
  5. Version: versionM100_31
  1. tiantian@tiantian-PC:~/UAVWorkSpace/Onboard-SDK-3.2$ mkdir build
  2. tiantian@tiantian-PC:~/UAVWorkSpace/Onboard-SDK-3.2$ cd build/
  3. tiantian@tiantian-PC:~/UAVWorkSpace/Onboard-SDK-3.2/build$ cmake .. -DUSE_PRECISION_MISSIONS=ON
  4. //-DUSE_PRECISION_MISSIONS是跑精确轨迹任务用的,不需要可以不带这个选项
  5. tiantian@tiantian-PC:~/UAVWorkSpace/Onboard-SDK-3.2/build$ make djiosdk-linux-sample
  1. tiantian@tiantian-PC:~/UAVWorkSpace/Onboard-SDK-3.2/build$ cd bin/
  2. tiantian@tiantian-PC:~/UAVWorkSpace/Onboard-SDK-3.2/build/bin$ ./djiosdk-linux-sample -interactive ../PrecisionMissions-prefix/src/PrecisionMissions/precision-missions-1.0.2/data/params/spiral.json
  3. //不需要精确轨迹任务的话直接./djiosdk-linux-sample -interactive
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注