我以与教程中给出的相同方式安装了droneapi。但是,它缺少MAVProxy附带的所有重要模块,例如console,wx等。
是应该安装这些模块,还是应该从MAVProxy本身移动它们?
注意:Windows 8 64位平台
答案 0 :(得分:1)
I apologize that you had to investigate the issue without guidance. Publishing our Windows installer was not well prioritized, and it looks like that choice cost you several hours.
Here is what we will soon to address DroneKit Python installation on Windows:
A dedicated Windows installer generator lives at windows/droneapiWinBuild.bat
. This generates a program Output\DroneKitsetup-1.x.x.exe
which can be used to install all dependencies.
Yesterday we began testing the installer on Windows on every commit. https://github.com/dronekit/dronekit-python/pull/236
We will now publish the binaries generated by that test and document them in the Windows installation process. https://github.com/dronekit/dronekit-python/issues/164
Thanks for publishing your solution publicly. Hopefully we can address issues like these before they come up in the future.
Tim, DroneKit Engineer
答案 1 :(得分:0)
因此,在一种罕见的直觉火花中,我发现了答案。 Dronekit Python所需的模块可以通过以下方式安装:
控制台类型"点击安装控制台"进入WinPython cmd提示符
WX- http://wiki.wxpython.org/How%20to%20install%20wxPython
OpenCV-下载并安装OpenCV版本2.4,然后将文件cv2.pyd从OpenCV \ build \ python \ 2.7 \ x64 \复制/粘贴到\ python-2.7.6.amd64 \ Lib \ site-packages。
此时它应该加载所有必需的模块,尽管它会抛出一些非常重要的例外。
与往常一样,3DR文档不完整。人们会认为8亿美元的利润意味着他们可以为他们的新平台雇佣5名以上的程序员......