0

I want to make a awesome user interface using openframeworks for a drone project. I am using CVDrone project as my base, and want to able to connect CVDrone project to my openframeworks project, so that I can call functions from CVDrone in my openframeworks project.

If I run the two projects separately, they works perfectly, no errors or anything. But can't connect them.

I have given it a go, but VS 2015 trows all kind of errors at me. Everything from libraries not found to .dll files missing.

4

1 回答 1

0

你有几个选择。一个 hacky 选项,但在时间和 c++ 经验方面务实,将有两个程序,一个 CVDrone 和一个 OF 一个,通过同一台计算机上的套接字相互通信。OSC使传递参数变得容易,而不必担心解析数据。在流式帧方面,您可能需要查看spout

但是,快速浏览 CVDrone 项目及其示例,应该可以将项目集成到 OpenFrameworks 项目中。我建议尝试ofxCV直接使用 OpenCV。您需要将 OpenCV 2 换成 OpenCV 3 库(头文件/dll),当然还有ardrone项目的类。

于 2017-06-10T09:03:56.057 回答