简体   繁体   English

如何使用 OpenVINS 库获取 Position

[英]How to use OpenVINS Library To Get Position

So, I finally got ROS, OpenCV, and OpenVINS installed on my rpi3 running ubuntu 16.04.所以,我终于在运行 ubuntu 16.04 的 rpi3 上安装了 ROS、OpenCV 和OpenVINS I want to be able to send the video from a standard rpi monochrome camera setup and mpu-9250 through a VIN application and send the estimated position of the camera over wifi to the game service unity.我希望能够通过 VIN 应用程序从标准 rpi 单色相机设置和 mpu-9250 发送视频,并通过 wifi 将相机的估计 position 发送到游戏服务统一。 Ive been looking into their 'getting started' page, and the tutorial seems very high level.我一直在查看他们的“入门”页面,该教程似乎非常高级。 Forgive me, for I do not work much with rpi's and more so arduinos, so most of this is new to me.原谅我,因为我不经常使用 rpi 和更多的 arduinos,所以大部分对我来说都是新的。 Im trying to understand how I can do this, so far I know i need to send data to some subscribed topics the program is looking under, yet I do not know what data I need to send for each topic, what program I would use to send it, how, and what format it needs to be in. I also dont know if that is the only thing I need to do.我试图了解如何做到这一点,到目前为止,我知道我需要将数据发送到程序正在查看的一些订阅主题,但我不知道我需要为每个主题发送哪些数据,我将使用什么程序发送它,如何发送,需要采用什么格式。我也不知道这是否是我唯一需要做的事情。 And after all this, I still do not understand fully on how to launch the program(s) after everything is fully said and done.毕竟,我仍然不完全了解在一切都说完之后如何启动程序。

I have read the documentation they have posted over and over and I know they mention the subjects I am mentioning but the sections they talk about that pertain to them in question I cannot fully conceptualize.我一遍又一遍地阅读他们发布的文档,我知道他们提到了我提到的主题,但他们谈论的与他们相关的部分我无法完全概念化。 If someone who has knowledge in the field of using github repositories or uses VINS specifically and would like to make a more low-level tutorial for someone like me that would be much appreciated, if not, do link me to one where I could find descriptors more comprehensive than those provided by this github.如果有人在使用 github 存储库或专门使用 VINS 领域有知识,并且想为像我这样的人制作一个更底层的教程,将不胜感激,如果没有,请把我链接到一个我可以找到描述符的地方比这个github提供的更全面。 The documentation all the while seems great for this repository, and it is a shame I cannot fully utilise it.一直以来,该存储库的文档似乎都很棒,但遗憾的是我无法充分利用它。 As always, all input is appreciated, thanks.一如既往,感谢所有输入。 =) =)

You may refer to one of the launch in this folder .您可以参考 此文件夹中的一项launch For example, line 24-26 in this file例如, 此文件中的第 24-26 行

<param name="topic_imu"      type="string" value="/imu0" />
<param name="topic_camera0"  type="string" value="/cam0/image_raw" />
<param name="topic_camera1"  type="string" value="/cam1/image_raw" />

Althrough its a launch file for a rosbag, it indicates that three topics are needed, which are /imu0 , /cam0/image_raw , and /cam1/image_raw .通过它的 rosbag 启动文件,它表明需要三个主题,即/imu0/cam0/image_raw/cam1/image_raw These are the topics you need to provide.这些是您需要提供的主题。 If you wish to use monocular VINS, only one camera topic is needed and the param use_stereo needs to be set as false .如果你想使用单目 VINS,只需要一个摄像头主题,参数use_stereo需要设置为false

Many other parameters are needed, such as camera intrinsics and extrinsics between camera and IMU.需要许多其他参数,例如相机和 IMU 之间的相机内在参数和外在参数。

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

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