by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - NDI Camera
Introduced first in SolidGeometry 1.0, Creation date: 2010-09-01, Last change: 2025-08-19
See Also: Vreset
, Vstat
, VTset
, VTget
, VTgetp
, VTlearn
, VTget2
, VTget2p
[L,n,t]=Vstray
L: | is a list of position vectors. | |
n: | is the number of positions in the vector (redundant) | |
t: | is the time of measurement |
This function, Vstray, is designed to return a list of all stray markers detected by a tracking system. It is part of the SG-Library and interacts with a global variable, vicra_global, which is expected to be initialized by the Vicra driver.
The function does not take any input parameters directly when called. Instead, it relies on the global variable vicra_global to be properly initialized and configured.
vicra_global is empty.vicra_global is empty, an error is thrown with the message: "Vicra driver not initialized. Please call VTReset first."vicra_global is initialized, the function proceeds to call the vstray method on vicra_global.vstray method returns four outputs: L, n, tcam, and tpc.vicra_global must be properly initialized before calling this function.vstray method of vicra_global is correctly implemented and returns the expected outputs.tcam and tpc are measured in seconds but by different clocks, and they may have a non-constant offset due to clock drift.