根据传感器的运动计算传感器的位置和旋转 [英] Calculating position and rotation of sensor based on the movement of sensor

查看:88
本文介绍了根据传感器的运动计算传感器的位置和旋转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用两个Kinect传感器。我想知道两个传感器的位置和旋转。 

I am working with two Kinect sensors. I would like to know the position and rotation of the both sensors. 

示例: -

最初放置传感器1和传感器2靠近。如果我手动将传感器2从传感器1移开3英尺X轴,以及如何找到它被移动的方向,即向左或向右移动。实际上我在视图中显示相机和视锥体
最初,视口中的摄像机和平截头体被放置为静态。假如我将传感器1移动到3英尺,那么如何在视口中直观地显示传感器的移动方向和位置。

Initially the Sensor 1 and Sensor 2 are placed by near. If I am manually moving the sensor 2 away from sensor 1 by 3 feet in X axis and also how to find which direction it was moved i.e either to left or right.Actually i am displaying the camera and frustum in the view port.Initially the camera and frustum in the view port are placed static.Suppose if i move the sensor 1  to 3 feet then how to show visually in the view port about which direction and position the sensor was moved.

推荐答案

我相信Kinect v2无法完成您所描述的内容,因为它没有完整的全部内容惯性传感器。

I believe that the Kinect v2 cannot do what you are describing, because it does not carry a full panoply of inertial sensors.

可以计算Kinect v2倾斜的垂直y角 - 只需搜索此论坛或在线。但我相信不可能在x / z平面上获得旋转,也不可能在任何平面上进行平移。

It is possible to calculate the vertical y-angle at which the Kinect v2 is tilted -- just search this forum or online. But I believe that it is not possible to obtain rotation in the x/z planes, nor translation in any plane.

如果您粘贴平板电脑或手机使用Kinect v2的惯性传感器,并在平板电脑或手机上安装一些软件来获取平移/旋转,然后您所描述的内容可能变得可能(虽然复杂)。

If you glue a tablet or phone with inertial sensors to the Kinect v2, and have some software on that tablet or phone to acquire translation/rotation, then what you are describing might become possible (though complex).


这篇关于根据传感器的运动计算传感器的位置和旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆