vrpn
07.33
Virtual Reality Peripheral Network
|
Implementation of Wii Remote head tracking filter driver. More...
#include "quat.h"
#include "vrpn_Connection.h"
#include "vrpn_Tracker_WiimoteHead.h"
#include "vrpn_Types.h"
#include <math.h>
#include <stdio.h>
#include <algorithm>
#include <iostream>
Go to the source code of this file.
Macros | |
#define | MAKE_IDENTITY_QUAT(dest) dest[0] = dest[1] = dest[2] = 0; dest[3] = 1 |
Utility function to set a quat equal to the identity rotation. More... | |
#define | MAKE_NULL_VEC(dest) dest[0] = dest[1] = dest[2] = 0 |
Utility function to set a 3-vector equal to the zero vector. More... | |
Variables | |
Constants | |
const double | two = 2 |
const double | xResSensor = 1024.0 |
const double | yResSensor = 768.0 |
const double | fovX = Q_DEG_TO_RAD(43.0) |
Field of view experimentally determined at Iowa State University March 2010. More... | |
const double | fovY = Q_DEG_TO_RAD(32.00) |
const double | radPerPx = fovX / xResSensor |
const double | cvtDistToAngle = radPerPx / two |
Implementation of Wii Remote head tracking filter driver.
See ASME paper WINVR2010-3771 for more details on this system.
Definition in file vrpn_Tracker_WiimoteHead.C.
#define MAKE_IDENTITY_QUAT | ( | dest | ) | dest[0] = dest[1] = dest[2] = 0; dest[3] = 1 |
Utility function to set a quat equal to the identity rotation.
Definition at line 87 of file vrpn_Tracker_WiimoteHead.C.
#define MAKE_NULL_VEC | ( | dest | ) | dest[0] = dest[1] = dest[2] = 0 |
Utility function to set a 3-vector equal to the zero vector.
Definition at line 92 of file vrpn_Tracker_WiimoteHead.C.
Definition at line 81 of file vrpn_Tracker_WiimoteHead.C.
Referenced by vrpn_Tracker_WiimoteHead::_update_2_LED_pose().
const double fovX = Q_DEG_TO_RAD(43.0) |
Field of view experimentally determined at Iowa State University March 2010.
Definition at line 77 of file vrpn_Tracker_WiimoteHead.C.
const double fovY = Q_DEG_TO_RAD(32.00) |
Definition at line 77 of file vrpn_Tracker_WiimoteHead.C.
const double radPerPx = fovX / xResSensor |
Definition at line 80 of file vrpn_Tracker_WiimoteHead.C.
const double two = 2 |
Definition at line 70 of file vrpn_Tracker_WiimoteHead.C.
const double xResSensor = 1024.0 |
Definition at line 73 of file vrpn_Tracker_WiimoteHead.C.
const double yResSensor = 768.0 |
Definition at line 73 of file vrpn_Tracker_WiimoteHead.C.