简体   繁体   English

我可以使用DJI Drone模拟器测试Windows 10应用程序的DJI SDK,而不必运行真正的DJI Drone吗?

[英]Can I test my DJI SDK for Windows 10 application with a DJI Drone simulator without the risk of running a real DJI Drone?

Can I test my DJI SDK for Windows 10 application with a DJI Drone simulator without the risk of running a real DJI Drone? 我可以使用DJI Drone模拟器测试Windows 10应用程序的DJI SDK,而不必运行真正的DJI Drone吗?

I am asking since it is cumbersome to have developers run a real drone in their office to test what they are building. 我问,因为让开发人员在办公室里运行真正的无人机来测试他们正在建造的东西很麻烦。

You can set your drone in a simulator mode using the APIs. 您可以使用API​​在模拟器模式下设置无人机。

This will make your drone respond as if it was flying, but the motors won't turn on. 这将使您的无人机像飞行中一样做出响应,但是马达无法打开。 After that, you can use the DJI Assistant to visualize the aircraft moving in a simulated 3D environment. 之后,您可以使用DJI Assistant可视化在模拟3D环境中飞行的飞机。

There are 2 ways to test applications but both require a physical drone. 有两种方法可以测试应用程序,但是都需要物理无人机。

1) Download and install the PC Simulator; 1)下载并安装PC模拟器; this is a game-engine that connects the PC (USB) to a drone and displays the flight operations. 这是一个将PC(USB)连接到无人机并显示飞行操作的游戏引擎。 It is available online under the developer downloads. 在开发人员下载下可在线获得。

2) Using the API, you can enable simulator. 2)使用API​​,您可以启用模拟器。 This method is not as good because you cannot see in real-time what the aircraft is doing unless you receive and display flight details within your app. 这种方法不太好,因为除非您在应用程序中接收并显示航班详细信息,否则您无法实时查看飞机的运行状况。

Both act the same to the PC simulator can be easier to evaluate and observe the flight operation. 两者对PC模拟器的作用相同,可以更轻松地评估和观察飞行操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM