Xinyu-Yi / TransPose

A real-time motion capture system that estimates poses and global translations using only 6 inertial measurement units
https://xinyu-yi.github.io/TransPose/
GNU General Public License v3.0
373 stars 72 forks source link

totalcapture trans处理 #27

Closed Jaceyxy closed 1 year ago

Jaceyxy commented 1 year ago

你好,请问在对totalcapture处理过程中 代码如下 pos[:, :, 0].neg() #对Tensor中的每个元素取负 pos[:, :, 2].neg() trans.append(pos[:, 2] - pos[:1, 2]) # N, 3 #相当与每帧的脊柱坐标减去第一帧的脊柱坐标 请问为什么要进行neg操作,此外左右脚数据好像没有使用到 十分感谢

Xinyu-Yi commented 1 year ago

totalcapture使用的全局坐标系好像和我们的 x z 轴是相反的,所以取负数

Jaceyxy commented 1 year ago

十分感谢