Die Migration der Bereiche "Docker Registry" und "Artifiacts" ist fast abgeschlossen. Die letzten Daten werden im Laufe des heutigen Abend (05.08.2021) noch vollständig hochgeladen. Das Anlegen neuer Images und Artifacts funktioniert bereits wieder.

Commit cd13d975 authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Adding first enhanced tracking methods for itaVA

parent 7fc2ba88
......@@ -235,48 +235,40 @@ classdef itaVA < handle
connected = VAMatlab( 'IsTrackerConnected', this.handle );
end
function disconnectTracker( this )
% Disconnects from the NatNet tracking server
VAMatlab( 'DisconnectTracker', this.handle )
end
% -- Tracked listener -- %
function setTrackedListener( this, listener_id )
% Connects a VA listener with the tracked rigid body
% Connects a VA listener with the tracked listener rigid body
%
% Parameters:
%
% listener_id [integer-1x1] VA listener id
%
VAMatlab( 'SetTrackedListener', this.handle, listener_id );
end
function setTrackedSource( this, source_id )
% Connects a VA source with the tracked rigid body
%
% Parameters:
%
% source_id [integer-1x1] VA listener id
%
VAMatlab( 'SetTrackedSource', this.handle, source_id );
end
end
function disconnectTracker( this )
% Disconnects from the NatNet tracking server
VAMatlab( 'DisconnectTracker', this.handle )
function setTrackedListenerRigidBodyIndex( this, index )
% Sets the index of the rigid body to be tracked for listener (default is 1)
VAMatlab( 'SetTrackedListenerRigidBodyIndex', this.handle, index )
end
function setRigidBodyIndex( this, index )
% Sets the index of the rigid body to be tracked (default is 1)
VAMatlab( 'SetRigidBodyIndex', this.handle, index )
end
function setRigidBodyTranslation( this, translation )
% Sets the pivot point translation for the tracked rigid body
function setTrackedListenerRigidBodyTranslation( this, translation )
% Sets the pivot point translation for the tracked listener rigid body
%
% Parameters:
%
% translation [double-3x1] Translation in local coordinate system of rigid body [m]
%
VAMatlab( 'SetRigidBodyTranslation', this.handle, translation )
VAMatlab( 'SetTrackedListenerRigidBodyTranslation', this.handle, translation )
end
function setRigidBodyRotation( this, rotation )
% Sets the rotation of orientation for the tracked rigid body
function setTrackedListenerRigidBodyRotation( this, rotation )
% Sets the rotation of orientation for the tracked listener rigid body
%
% Given rotation has to be a Matlab quaternion type (order: w(real), i, j, k)
%
......@@ -284,8 +276,35 @@ classdef itaVA < handle
%
% rotation [quaternion] Rotation of rigid body
%
VAMatlab( 'SetRigidBodyRotation', this.handle, rotation )
VAMatlab( 'SetTrackedListenerRigidBodyRotation', this.handle, rotation )
end
% -- Tracked real-world listener -- %
function setTrackedRealWorldListener( this, listener_id )
% Connects a VA real-world listener with the tracked real-world rigid body
%
% Parameters:
%
% listener_id [integer-1x1] VA listener id
%
VAMatlab( 'SetTrackedRealWorldListener', this.handle, listener_id );
end
@todo
% -- Tracked source -- %
function setTrackedSource( this, source_id )
% Connects a VA source with the tracked source rigid body
%
% Parameters:
%
% source_id [integer-1x1] VA listener id
%
VAMatlab( 'SetTrackedSource', this.handle, source_id );
end
%% --= Functions =--
......
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