diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-27 16:06:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-27 16:07:18 +0200 |
commit | 9edc4683ecd75d4705aca13217779e3c1a721913 (patch) | |
tree | 6e1336679d023efde7047fd6e1267272e7c42557 /ftnoir_tracker_ht | |
parent | 21f76439ae4c918184d00f41e89bb32c8633ba1d (diff) |
Rename R[XYZ] to Yaw, Pitch, Roll to avoid confusion
Requested-by: mm0zct
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 63c1eadd..29738dd2 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -109,7 +109,7 @@ static void load_settings(ht_config_t* config, Tracker* tracker) config->pyrlk_pyramids = 3; config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21; config->max_keypoints = 200; - config->keypoint_distance = 5; + config->keypoint_distance = 4.5; //config->force_width = 640; //config->force_height = 480; config->force_fps = iniFile.value("fps", 0).toInt(); @@ -215,12 +215,12 @@ bool Tracker::GiveHeadPoseData(double *data) } if (shm->result.filled) { if (enableRX) - data[RX] = shm->result.rotx; + data[Yaw] = shm->result.rotx; if (enableRY) { - data[RY] = shm->result.roty; + data[Pitch] = shm->result.roty; } if (enableRZ) { - data[RZ] = shm->result.rotz; + data[Roll] = shm->result.rotz; } if (enableTX) data[TX] = shm->result.tx; |