diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 05:19:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 05:19:16 +0200 |
commit | 9a0be62918cd1c8a4c8736d40707ed5f5560623f (patch) | |
tree | eea7130e3cb1e6ea2fafdf0e6f4acf27f1692d64 /facetracknoir | |
parent | 2d74bdc525992929f8ba584edeedb99b9a695c57 (diff) |
Support 1:1 mapping up to 180 degrees for inertial trackers
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/ftnoir_curves.ui | 92 | ||||
-rw-r--r-- | facetracknoir/tracker.h | 12 |
2 files changed, 52 insertions, 52 deletions
diff --git a/facetracknoir/ftnoir_curves.ui b/facetracknoir/ftnoir_curves.ui index 5bbe48be..0b368816 100644 --- a/facetracknoir/ftnoir_curves.ui +++ b/facetracknoir/ftnoir_curves.ui @@ -6,8 +6,8 @@ <rect>
<x>0</x>
<y>0</y>
- <width>718</width>
- <height>698</height>
+ <width>628</width>
+ <height>667</height>
</rect>
</property>
<property name="windowTitle">
@@ -113,13 +113,13 @@ color: rgb(255, 255, 255); </rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>180</number>
</property>
<property name="maxOutputEGU" stdset="0">
<number>180</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>3</number>
</property>
<property name="colorBezier">
<color>
@@ -159,13 +159,13 @@ color: rgb(255, 255, 255); </rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>180</number>
</property>
<property name="maxOutputEGU" stdset="0">
<number>180</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>3</number>
</property>
<property name="colorBezier">
<color>
@@ -197,13 +197,13 @@ color: rgb(255, 255, 255); </rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>180</number>
</property>
<property name="maxOutputEGU" stdset="0">
<number>180</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>3</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -246,13 +246,13 @@ color: rgb(255, 255, 255); </rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>180</number>
</property>
<property name="maxOutputEGU" stdset="0">
<number>180</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>3</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -287,13 +287,13 @@ color: rgb(255, 255, 255); </rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>180</number>
</property>
<property name="maxOutputEGU" stdset="0">
<number>180</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>3</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -336,13 +336,13 @@ color: rgb(255, 255, 255); </rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>180</number>
</property>
<property name="maxOutputEGU" stdset="0">
<number>180</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>3</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -372,18 +372,18 @@ color: rgb(255, 255, 255); <rect>
<x>0</x>
<y>0</y>
- <width>595</width>
- <height>260</height>
+ <width>555</width>
+ <height>160</height>
</rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>100</number>
</property>
<property name="maxOutputEGU" stdset="0">
- <number>200</number>
+ <number>100</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>5</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -421,18 +421,18 @@ color: rgb(255, 255, 255); <rect>
<x>0</x>
<y>340</y>
- <width>595</width>
- <height>260</height>
+ <width>555</width>
+ <height>160</height>
</rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>100</number>
</property>
<property name="maxOutputEGU" stdset="0">
- <number>200</number>
+ <number>100</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>5</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -462,18 +462,18 @@ color: rgb(255, 255, 255); <rect>
<x>0</x>
<y>0</y>
- <width>595</width>
- <height>260</height>
+ <width>555</width>
+ <height>160</height>
</rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>100</number>
</property>
<property name="maxOutputEGU" stdset="0">
- <number>200</number>
+ <number>100</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>5</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -511,18 +511,18 @@ color: rgb(255, 255, 255); <rect>
<x>0</x>
<y>340</y>
- <width>595</width>
- <height>260</height>
+ <width>555</width>
+ <height>160</height>
</rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>100</number>
</property>
<property name="maxOutputEGU" stdset="0">
- <number>200</number>
+ <number>100</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>5</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -552,18 +552,18 @@ color: rgb(255, 255, 255); <rect>
<x>0</x>
<y>0</y>
- <width>595</width>
- <height>260</height>
+ <width>555</width>
+ <height>160</height>
</rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>100</number>
</property>
<property name="maxOutputEGU" stdset="0">
- <number>200</number>
+ <number>100</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>5</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -601,18 +601,18 @@ color: rgb(255, 255, 255); <rect>
<x>0</x>
<y>340</y>
- <width>595</width>
- <height>260</height>
+ <width>555</width>
+ <height>160</height>
</rect>
</property>
<property name="maxInputEGU" stdset="0">
- <number>60</number>
+ <number>100</number>
</property>
<property name="maxOutputEGU" stdset="0">
- <number>200</number>
+ <number>100</number>
</property>
<property name="pixPerEGU_Input" stdset="0">
- <number>9</number>
+ <number>5</number>
</property>
<property name="pixPerEGU_Output" stdset="0">
<number>1</number>
@@ -654,7 +654,7 @@ color: rgb(255, 255, 255); </property>
<property name="minimumSize">
<size>
- <width>58</width>
+ <width>54</width>
<height>0</height>
</size>
</property>
@@ -679,7 +679,7 @@ color: rgb(255, 255, 255); </property>
<property name="minimumSize">
<size>
- <width>58</width>
+ <width>54</width>
<height>0</height>
</size>
</property>
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h index 8bf1f6dc..59e0f19c 100644 --- a/facetracknoir/tracker.h +++ b/facetracknoir/tracker.h @@ -192,12 +192,12 @@ public: THeadPoseDOF axes[6];
HeadPoseData()
{
- axes[TX] = THeadPoseDOF("tx","tx_alt", 60, 200, 60, 200);
- axes[TY] = THeadPoseDOF("ty","ty_alt", 60, 200, 60, 200);
- axes[TZ] = THeadPoseDOF("tz","tz_alt", 60, 200, 60, 200);
- axes[RX] = THeadPoseDOF("rx", "rx_alt", 60, 180, 60, 180);
- axes[RY] = THeadPoseDOF("ry", "ry_alt", 60, 180, 60, 90);
- axes[RZ] = THeadPoseDOF("rz", "rz_alt", 60, 180, 60, 180);
+ axes[TX] = THeadPoseDOF("tx","tx_alt", 100, 100, 100, 100);
+ axes[TY] = THeadPoseDOF("ty","ty_alt", 100, 100, 100, 100);
+ axes[TZ] = THeadPoseDOF("tz","tz_alt", 100, 100, 100, 100);
+ axes[RX] = THeadPoseDOF("rx", "rx_alt", 180, 180, 180, 180);
+ axes[RY] = THeadPoseDOF("ry", "ry_alt", 180, 180, 180, 180);
+ axes[RZ] = THeadPoseDOF("rz", "rz_alt", 180, 180, 180, 180);
}
};
|