This tutorial tells you how to incorporate trackers in a DWARF system. For this purpose, you will partially rebuild the famous Sheep demo.
For this tutorial, you should
In this lesson, you will learn how to control a virtual camera's viewpoint using the Manual Tracker debugging tool.
In DWARF, all virtual and real objects have a position and orientation in three dimensions. Position is represented by three coordinates, the scale in the real world is meter by convention. Orientation is represented as quaternion . In addition, every object is identified by a unique tuple consisting of a so-called ThingType
and a ThingID
.
Usually, objects exchange their positional data using CORBA Notification Events. The central data structure for this is PoseData, it contains the parameters just mentioned, and some values for timestamps and telling the accuracy of data. In the remainder of this tutorial, we think of CORBA events conatining such a data structure whenever we talk of PoseData .
The DWARF tracking architecture follows the simple yet efficient pipe-and-filter paradigm. Usually, a hardware tracking delivers some positional data to a DWARF adapter suited for this device. The adapter then sends out DWARF PoseData events. These events may get processed by some additional calibration and/or filtering components and finally reach one or several DWARF services that do useful things with them.
Make sure you have a built and installed DWARF distribution. In particular, for this tutorial, you need the following services:
make install
in src/tutorials/tracking/tutorial1
-- MartinWagner - 17 Jul 2003