Commit 0ae71d5b authored by Guofang Xiao's avatar Guofang Xiao

Reshaped quaternion output.

parent 4a19462d
Pipeline #1845 passed with stages
in 13 minutes and 54 seconds
......@@ -7,7 +7,7 @@ from subprocess import call
from time import time
from six import int2byte
from numpy import full, nan, reshape, transpose, asarray
from numpy import full, nan, reshape, transpose
import ndicapy
def _check_config_aurora(configuration):
......@@ -420,7 +420,7 @@ class NDITracker:
reshape(ndicapy.ndiTransformToMatrixd(qtransform),
[4, 4]))
else:
transform = asarray(qtransform[0:7])
transform = reshape(qtransform[0:7], [1, 7])
else:
tracking_quality.append(nan)
if not self._use_quaternions:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment