如何匹配xyzIj集以构成数据?

时间:2015-02-20 02:28:54

标签: google-project-tango unreal-engine4

我正在尝试使用Google Project Tango平板电脑,我目前正在将数据从我的平板电脑发送到Epic的虚幻引擎4并尝试正确显示它。然而,云数据的方向具有与Tango姿势数据的方向一致的一致问题。

目前我从与xyzIj数据相同的帧中获取姿势,但结果点云永远不会排列正确。我尝试手动旋转和校正云数据,使其与姿势数据相匹配,但旋转一组xyzIj数据的解决方案也不能纠正剩余的数据集。

我目前假设我用来匹配这些集合的姿势是错误的,但我不确定如何找到正确的姿势。我还发现使用getPoseAtTime往往会产生类似的有缺陷的结果,但这可能与我不太了解它的用法有关。

是否有解决此问题的解决方案,无法纠正我未能实现的每个数据集,或者每个人都处理类似的问题?

2 个答案:

答案 0 :(得分:1)

让我们从一些基础知识开始

1)您是否在捕获数据之前创建并随后加载了ADF?

2)您是否正在捕捉相对于ADF或Session sart的姿势 - 前者更准确

3)旋转时应该没有太大的漂移 - 这些传感器相当准确 - 旋转漂移看起来像是位置误差还是使用了错误的姿势

4)确保你有一个操作模式,让你专注于稳定的数据,即在相机不运动时获取点集 - 这是一个很好的方法来确定它是来自Tango的坏数据还是你的矩阵问题链

答案 1 :(得分:0)

无法使用此数据附加到该答案

你可能是正确的打嗝 - 这是从我的数据库抓取,Tango Tricorder出货的数据 - 我认为我的软件没问题,但你永远不知道 - 似乎Tango在开始时打嗝,但随后在最后的事情变得很好 - 也许这会帮助你使用启发式 - 你正在查看的数据实际上是原始的姿势记录。

另一方面,我确实怀疑你的矩阵链 - 我确实看到了漂移和异常现象,但我本身并不能认为探戈在数学上是不好的 - 我将发表一篇关于我用的矩阵链的文章未来几天G +页面上有3个平台和支持库(Android,Windows,OpenGL,原始.net数学类,WebGL) - 无论如何,都有一些我认为是打嗝的示例数据

Device  At  Timestamp   Quality PX  PY  PZ  AX  AY  AZ  AW  ADF
e75de7b04768f83a    2015-02-15 23:38:08.0910000 1211.9930910005 0   0   0   0   -6.72623262875912E-44   0   -2.21596756341829E-36   -2.21603644004041E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:08.6520000 1212.5919690005 0   0   0   0   -6.72623262875912E-44   0   -2.35768121342709E-36   -2.35775009004921E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:08.9690000 1212.9246790005 0   0   0   0   0   0   -4.46572875271279E-33   -4.46586760798299E-33   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:09.6010000 1213.5568280005 0   0   0   0   0   0   -8.56151098540779E-38   -8.5617228617356E-38    00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:09.9590000 1213.8895380005 0   0   0   0   0   0   -2.35768228962431E-36   -2.35775009004921E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:10.5790000 1214.5216870005 0   -5.04611733348779E-33   -6.72623262875912E-44   -5.04611733348779E-33   0   0   0   -7.09253042359596E-30   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:10.9350000 1214.8543970005 0   0   0   0   -6.72623262875912E-44   0   -4.46572654866089E-33   -4.46586760798299E-33   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:11.2480000 1215.1871070005 0   0   0   0   0   0   -8.71705399390908E-38   -8.7172692333532E-38    00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:11.6140000 1215.5198170005 0   0   0   0   -6.72623262875912E-44   0   -4.46572654866089E-33   -4.46586760798299E-33   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:11.9170000 1215.8525270005 0   0   0   0   -6.72623262875912E-44   0   -4.46572654866089E-33   -4.46586760798299E-33   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:12.2280000 1216.1852370005 0   0   0   0   0   0   -2.35768228962431E-36   -2.35775009004921E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:12.6080000 1216.5179470005 0   -7.49758949629256E-33   -6.72623262875912E-44   -7.49758949629256E-33   0   0   0   -7.09253042359596E-30   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:12.8930000 1216.8506570005 0   -7.50624113471461E-33   -6.72623262875912E-44   -7.50624113471461E-33   -7.5062367266108E-33    0   -7.50624113471461E-33   -7.09253042359596E-30   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:13.2440000 1217.1833670005 0   0   0   0   -6.72623262875912E-44   0   -4.46572654866089E-33   -4.46586760798299E-33   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:13.5540000 1217.5160770005 0   0   0   0   -2.11694608368399E-30   0   -2.35768211025811E-36   -2.35775009004921E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:13.9260000 1217.8487870005 0   -7.46970677029106E-33   -6.72623262875912E-44   -7.46970677029106E-33   0   0   0   -7.09253042359596E-30   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:14.2170000 1218.1814970005 0   -6.23929332339835E-33   -6.72623262875912E-44   -6.23929332339835E-33   -6.23928891529454E-33   0   -6.23929332339835E-33   -7.09253042359596E-30   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:14.5710000 1218.5142070005 0   0   0   0   0   0   -8.72060880785337E-38   -8.72082068418118E-38   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:14.9260000 1218.8469170005 0   0   0   0   -6.72623262875912E-44   -3.30428292727447E-06   -8.56150762229148E-38   -8.5617228617356E-38    00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:15.2410000 1219.1796270005 0   0   0   0   -6.72623262875912E-44   0   -2.27243491411843E-36   -2.27250379074055E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:15.5500000 1219.5123370005 0   0   0   0   -6.72623262875912E-44   0   -8.72060544473706E-38   -8.72082068418118E-38   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:15.8870000 1219.8450470005 0   0   0   0   -6.72623262875912E-44   0   -2.35768121342709E-36   -2.35775009004921E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:16.2580000 1220.1777570005 0   0   0   0   -6.72623262875912E-44   0   -8.71705399390908E-38   -8.7172692333532E-38    00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:16.5740000 1220.5104670005 0   0   0   0   0   0   -2.21596863961551E-36   -2.21603644004041E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:16.9130000 1220.8431770005 0   0   0   0   0   0   0   0   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:17.2580000 1221.1758870005 0   0   0   0   -6.72623262875912E-44   0   -4.46572654866089E-33   -4.46586760798299E-33   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:17.5860000 1221.5085970005 0   0   0   0   0   0   -2.21596863961551E-36   -2.21603644004041E-36   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:17.9240000 1221.8745780005 0   0   0   0   -6.72623262875912E-44   0   0   0   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:18.2900000 1222.2072880005 0   0   0   0   -6.72623262875912E-44   0   -4.46572654866089E-33   -4.46586760798299E-33   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:18.5980000 1222.5399980005 0   0   0   0   -6.72623262875912E-44   0   0   0   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:18.6860000 1222.783591 0   -0.489519119262695  -2.58179521560669   0.296925604343414   0.695962131023407   0.607802748680115   0.237487226724625   0.299687057733536   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:18.7360000 1222.816918 0   -0.509992599487305  -2.66766571998596   0.299138188362122   0.695954203605652   0.605366230010986   0.240672022104263   0.302086800336838   00000000-0000-0000-0000-000000000000
e75de7b04768f83a    2015-02-15 23:38:18.8280000 1222.916901 1   -0.242476642131805  -2.10855436325073   0.997836887836456   0.706526875495911   0.588680744171143   0.261307954788208   0.293245434761047   00000000-0000-0000-0000-000000000000