Skip to content

u/space_overseer: skip actually locating space in itself

It is always going to be identity. Keep calculating the offsets though.

This improves one mostly theoretical case: Locating a space with the same space as the base space should return exactly zero position, orientation, and velocities.

Without this MR, the code first locates the space in root space and pushes the result to the relation chain, then locates the base space in root space and pushes its inverse to the relation chain. However if the tracked device that feeds data into the space has noisy velocities, the velocities can sometimes differ significantly from query to query.

Examples of velocities of a space located in itself with steamvr_lh: -0.00193f, 0.00117f.

Merge request reports