Commit ba0fe51c authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

changed optitrack behaviour on disabled rigid bodies

parent 7fab1600
......@@ -1184,9 +1184,9 @@ classdef itaOptitrack < handle
frameID = varargin{3};
frameTime = varargin{4};
Optitrack_obj.tempRigidBodyLogData = zeros(1,13,Optitrack_obj.numRigidBodies);
Optitrack_obj.tempRigidBodyLogData = nan(1,13,Optitrack_obj.numRigidBodies);
for idx=1:Optitrack_obj.numRigidBodies % TODO: quick and dirty solution with for loop, implement without for loop
for idx=1:data.nRigidBodies % TODO: quick and dirty solution with for loop, implement without for loop
rigidBodyData = data.RigidBodies(idx); %#ok
% Rigid body position [X,Y,Z]
......
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