ConsoleConfig and has the following attributes : interval 10 number of cycles to wait between displaying data. headerline "" a single line used as headerline in the display. display on (on|off) either on or off, flag defining whether data should be displayed at all.Also, events of all ConsoleSources can be changed using certain commands. Attributes can be added, their value can be increased or decreased, changed by typing in a new value, or attributes can be deleted again.
The KeyDefinition configuration element is used to set the keys assigned to each function. It has the following attributes :
function name of the function ( see the following table ) key to assign the function to0xHHHH for some key. Name Key down cursor down up cursor up left cursor left right cursor right home Pos1 ( aka Home ) end End page_down page down page_up page up backspace backspace ( <- ) F0 F0 ( if present ) F1 .. F12 F1 througth F12 insert Insert enter Enter or Return escape Escape
The following table lists all possible functions and their default keys :
Function Default Key Description Move_X_plus up moves in direction X + Move_X_minus down moves in X - Move_Y_plus left moves in Y + Move_Y_minus right moves in Y - Move_Z_plus page_up moves in Z + Move_Z_minus page_down moves in Z - Rot_X_plus e rotates positive around X Rot_X_minus d rotates negative around X Rot_Y_plus r rotates positive around Y Rot_Y_minus f rotates negative around Y Rot_Z_plus t rotates positive around Z Rot_Z_minus g rotates negative around Z Accelerate y increases position velocity Brake x reduces position velocity Accelerate_Angular_Velocity o increases angular velocity Decelerate_Angular_Velocity p reduces angular velocity Button_1 ' ' sets button bit 0 Button_2 , sets button bit 1 Button_3 . sets button bit 2 Button_4 - sets button bit 3 Station_0 0 activates Station 0 Station_1 1 activates Station 1 Station_2 2 activates Station 2 Station_3 3 activates Station 3 Station_4 4 activates Station 4 Station_5 5 activates Station 5 Station_6 6 activates Station 6 Station_7 7 activates Station 7 Station_8 8 activates Station 8 Station_9 9 activates Station 9 Reset w resets current station Quit q signals to quit OpenTracker Next_Attribute n switches to next attribute to be subject to change Add_Attribute a allows user to add a new attribute Del_Attribute l allows user to delete an attribute Change_Attribute_Pos * increases value of current attribute Change_Attribute_Neg / decreases value of current attribute Change_Attribute_Val v allows user to type in new value for current attribute
An example configuration element looks like this :
<ConsoleConfig interval="10" headerline="Tracker Test 1"> <KeyDefinition function="Move_X_plus" key="o"/> </ConsoleConfig>
FileConfig has the following attributes: append (true|false) default is false. denotes whether data should be appended to existing output files or they should be overwritten. loop (true|false) default is false. denotes whether input files should start from the begining (loop is true) or stop after they end. interval a minimal time interval specified in seconds that should pass between event updates for individual stations. If not specified, events are played as fast as possible. ot11Format (true|false) default is false. Defines whether obsolete OpenTracker 1.1 file format should be used (for testing purposes only!). For a more detailed explanation of this subject, please confer to the documentation of the File class. realtime (true|false) default is false. Defines whether data is played back in real time. This means that succeeding events are played back in the same speed as recorded. Otherwise, events are played back as fast as possible.<FileConfig append="true" loop="true" realtime="true"/>
GroupGateConfig and has no attributes yet.An example configuration element looks like this :
<GroupGateConfig/>
LogConfig and has the following attributes : active (on|off) on controls if any log information should be output stderr (on|off) on controls if logs should be send to stderr file (on|off) off controls if logs should be send to a file - does not work on WinCE filename the name of the log file verbose (full|lite|std) std verbosity levels output information with timestamps and host info. See ACE documentation for details. level (debug|info|error) info severity levels, map somehow to the ACE levels<LogConfig active="on" stderr="on" file="on" filename="log.txt" level="info" verbose="std"/>
The configuration element is called TimeConfig and has the following attributes :
rate float giving the desired frames per second (i.e. 100 ) sleep number of milliseconds to sleep each loop display false either true or false, displays the framerate at the end. If both rate and sleep are specified the rate attribute takes precedence and the Framerate mode is used. If no configuration element is present, the module is not activated and the main loop runs at full speed.<TimeConfig rate="187"/>
TimestampGeneratorConfig for it.maxbodies the maximal number of different objects tracked port the port number to listen on, the ART tracker should be configured to send to this number<ARTDataTrackerConfig maxbodies="10" port="12346"/>
Some hints to configuring the ART Tracker host to work with this driver :
ARToolKitConfig and has the following attributes : camera-parameter file containing camera calibration data treshhold 100 bounding value for treshholding the greyscale video image framerate 10 a desired maximum framerate, the module will not exceed it. videomode a string selecting the videomode for ARToolKit. This depends on video interface linked with ARToolKit. videomode2 a second string to configure a second camera for stereo mode. This is used in Studierstube to provide stereo video background. videolinuxmode a string specifically selecting the Linux videomode for ARToolKit. It overrides the videomode attribute under Linux if provided. This allows to specifiy ARToolKit videomode settings for Windows and Linux in one file as they currently differ. videolinuxmode2 the same as videomode2 but like the videolinuxmode attribute above just for Linux. pattern-dir an optional string that is prefixed to any pattern filename or the camera data filename. It tries to find the file under the original as well the prefixed name, in that order.An example configuration element looks like this :
<ARToolKitConfig camera-parameter="../data/camera" treshhold="150" framerate="5" videomode="0,5,3" pattern-dir="mypatterns/"/>
ARToolKitConfig and has the following attributes : camera-parameter: file containing camera calibration data treshold: either a numerical value (0-255) or 'auto' for automatic thresholding. Default is '100' undist-mode: undistortion mode; one of 'none', 'lut' or 'std' (default) detect-mode: marker detection mode (marker history); either 'lite' or 'std' (default) pose-estimator: pose estimator selection; one of the following 'std' (default), 'cont' (better version of std) or 'rpp' (robust pose estimator) marker-mode: one of the following: 'template' (default), 'idbased' or 'bch' border-width: width of the border; default value is '0.250' pattern-dir an optional string that is prefixed to any pattern filename or the camera data filename. It tries to find the file under the original as well the prefixed name, in that order.<ARToolKitPlusConfig camera-parameter="quickcampro400.dat" marker-mode="idbased" border-width="0.125" treshold="auto" pose-estimator="cont" />
The DynaSight input module was tested with only one target.
It's configuration element has the following attributes:
device the serial port the tracker is connected to. lookat defines a point in the local tracker coordinate system (x y z) used for the calculation of the orientation data. if the option is not specified, the returned ortientation is always towards the z-axis.<DynaSightConfig device="com1" lookat="0.0 0.8 -1.2"/>
The configuration element is called FastTrakConfig and has the following attributes :
type "fasttrak" specifies whether "fasttrak" or "isotrak" is used device the serial port the tracker is connected to. stations number of stations connected to the tracker hemisphere "1,0,0" the hemisphere the tracker should operate in reference-frame "0,0,0,200,0,0,0,200,0" the reference frame of the tracker init-string "" other init strings, which will be used to configure the tracker at startup (e.g. "x0.9,0.6,1.0,0.9\rv0.3,0.6,0.9,0.9\r")<FastTrakConfig type="isotrak" device="COM1" stations="2" hemisphere="-1,0,0"/>
Note that to date this driver was only tested with IsoTrak II and WIN32.
FOBConfig which in turn contains one element called Bird for each bird in the setup. Only configured birds will be used. The FOBConfig element has the following attributes :
mode ( multi | single ) defines whether the flock is used in single mode (one serial comm port to the master bird), or multi mode (a serial port to each bird). master the number of the master bird transmitter if the transmitter is attached to another bird than the master, set the bird number here (i.e. for an ERT) hemisphere ( forward | rear | upper | lower | left | right ) defines which hemisphere to set on the flock. referenceframe a transformation of the position data xyzframe ( true | false ) a flag defining whether position data should be transformed by the referenceframe set. default is true. scale ( 36 | 72 ) set the extend of the receiversBird element is used to set the birds used in the setup. If the single mode is used, only the master bird needs a device configured. Otherwise all birds need their serial devices set. The Bird element has the following attributes :
number the number of the bird dev the device name of the bird (i.e. COM1, /dev/ttyS0) anglealign a transformation of the rotatin data to compensate for any offset of the sensor itself.<FOBConfig mode="multi" master="1" scale="72"> <Bird number="1" dev="COM1"/> <Bird number="2" dev="COM2"/> </FOBConfig>
GPSConfig. It reads GPS position data from a GPS receiver connected on the serial port and transmiting its data in NMEA format as Latitude, Longitude and Height in the x, y and z components of the position. The angles are given in radiants and the height in meter. The data is in WGS84 coordinate system. The hdop parameter is given as 1 / hdop in the confidence value.It allows to connect an optional DGPSIP server for DGPS correction data. Be sure to set your GPS receiver to NMEA output mode and RTCM input mode for this work. It also allows you to log the NMEA strings received from the gps receiver into a dedicated log file for further processing.
It has the following attributes :
dev serial port where the GPS receiver is attached. baudrate default value is 9600 other values are standard baud rates DGPSserver an optional DGPSIP server for DGPS correction data DGPSport port of the DGPSIP port, default is 2101 debug on|off prints out RTCM and NMEA data for debugging DGPSmirror a port number to run a server on that mirrors the RTCM correction data for other computers. If not specified, no server will be started. logfile path and name of a file to log all received strings into (optional) rtcmdev another serial port to output rtcm data, if it is not the device serial port<GPSConfig dev="COM1" baudrate="9600" DGPSserver="something" DGPSport="2101" debug="off"/>
InterSenseConfig, which in turn contains one element called ISTracker per configured tracker. Only trackers that are configured will be used. The ISTracker element has the following attributes : id a unique id to identify the tracker, this the same as the id attribute of the InterSenseSource nodes. comport the serial port the tracker is connected to. If 0 then the first one is used or an InterTrax2 connected to the USB port.<InterSenseConfig> <ISTracker comport="0" id="InterTrax"/> </InterSenseConfig>
It doesn't have a configuration element but reserves the name 'JoystickConfig' for it. It does something useful as soon as at least one JoystickSource node is created.
IP IP of the MagicY server port port to listen to positionMapping defines mapping of position components (x,y) from MagicY to OpenTracker invertPosition defines, which components of the position should be inverted average, when set to 1 the average of all points delivered by the MagicY server is calculated<MagicYConfig IP="123.45.67.89" port="12345" positionMapping="1 0" invertPosition="0 1" />
maxbodies the maximal number of different objects tracked port the port number to listen on, the ART tracker should be configured to send to this number<ARTDataTrackerConfig maxbodies="10" port="12346"/>
Some hints to configuring the ART Tracker host to work with this driver :
The module uses the configuration element 'P5GloveConfig'. This element has the following attributes :
P5Id 0 the glove id passed to the driver<P5GloveConfig P5Id="0"/>
ParButtonConfig as configuration element.Some hints to get it working:
RawInputConfig and has to be present to initialize the device list. On success, a list of device names is outputted.An example configuration element looks like this :
<RawInputConfig/>
It uses several configuration elements, the root is SpeechRecoConfig. There you can define several CommandSet, with several Command. The SpeechRecoConfig element has the following attributes:
language the language of the SR system.CommandSet element has the following attributes:
id the unique id of the command setCommand element has the following attributes:
id the unique id of the command (must be unique over the whole config, must be a number) name the command string the sr system should try to recognize weight the weight of the command string, default 1.0<SpeechRecoConfig language="english"> <CommandSet id="CmdSet1"> <Command id="1234" name="one"/> <Command id="1235" name="two"/> <Command id="1236" name="six"/> <Command id="1237" name="seven"/> </CommandSet> </SpeechRecoConfig>
UbisenseConfig. Without the UbisenseConfig configuration element data from any cell is tracked. But as soon as a UbisenseConfig configuration element is present, data retrieval is restricted: A single UbisenseCell configuration element identifies a Ubisense location cell to retrieve data from. Use more than one UbisenseCell configuration element to retrieve data from any number of cells. The UbisenseCell configuration element has the following attribute: name a string identifying the Ubisense location cell.<UbisenseConfig> <UbisenseCell name="Location Cell 00001" /> </UbisenseConfig>
port port to listen to positionMapping defines mapping of position components (x,y,z) from ultratrak to opentracker orientationMapping defines mapping of quaternion components (x,y,z) from ultratrak to opentracker 0=x 1=y 2=z component of ultratrak invertPosition defines, which components of the position should be inverted invertOrientation defines, which components of the quaternion should be inverted 0=don't invert 1=invert component<UltraTrakConfig port="12345" positionMapping="1 0 2" orientationMapping="2 0 1" invertPosition="0 1 1" invertOrientation="0 0 0" />
XSensConfig for it.
name a string idenfifying the server<NetworkSinkConfig name="TrackSpatz Server"/>
TCPConfig and has the following attributes : port port number to listen for new connections<TCPConfig port="12345"/>
This module was implemented specifically for the virtual show case viewer of Oliver Bimber <obimber@crcg.edu>.
VRPNConfig and has the following attributes : port port number to listen for new connections interface ip address of network interface to use for incoming connections<VRPNConfig port="3883" interface="localhost"/>
1.4.6