使用 DroneKit 为 Windows 建造一个地面控制站

Use DroneKit to build a Ground Control Station for Windows

在 DroneKit.io 页面上,它提到在为 Windows 创建地面控制站时使用 DroneKit Python。但是,似乎没有这方面的文档。

是否意味着简单地模拟一个 com 端口并充当其他地面控制站的代理,从而更容易劫持 MAVLink?

此外,它提到 Python 用于低延迟进程。这似乎是矛盾的。有什么理由比仅仅使用 C/C++ 来劫持 MAVLink 更好吗?

谢谢!

DroneKit-Python 可用于创建基于 python 的地面站,也可用于 运行 在配套计算机上。除了如何设置从计算机 运行 脚本连接到车辆之外,两者之间没有实际区别。 Getting Started 文档中介绍了针对不同连接启动 MAVProxy 的不同方法。

之所以没有 "specific" 文档说明如何将 DK-Python 用于 GCS,主要是 "marketing"。地面站 GCS 软件更大的市场是 tablets/phones,它将使用 DK-Android 或未来的 iOS 端口。 DK-Python 已定位为专门用于空中接口。尽管没有 "specific" 文档,但实际上所有现有文档都是相关的。

Is it meant to simply simulate a com port and act as a proxy for other Ground Control Stations, which just makes it easier hijack the MAVLink?

没有。见上文。

Also, it mentions Python being used for low-latency processes. This seems to be oxymoronic. Is there a reason that it would be better than just using C/C++ for the purpose of hijacking the MAVLink?

它没有提到低延迟进程,所以答案是"invalid question"。

您可能误读了文字 "that require a low-latency link"。这里的要点是,如果你在配套计算机上安装了 dronekit-python 运行ning 并通过快速 link 连接,你可以实时处理传入的传感器数据。这允许无人机的计算机视觉控制。然而,如果你 运行 DK-Python 在地面控制站上,你的速度会慢得多 link。您仍然可以控制无人机的移动,但延迟会更高。

希望对您有所帮助!