diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-12 19:54:04 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-12 19:54:04 +0100 |
commit | 689c297be28e2f5050e234bdc69594c53166f194 (patch) | |
tree | 872a6c46d4b12c849a390031e405e2ad16ec52e8 /FTNoIR_Tracker_PT/camera.cpp | |
parent | 9d21e7d23fa17b91fb76a14d90630b027b78c2c8 (diff) |
Revert "use levmarq instead of coplanar POSIT implemented in numerically unstable fashion"
This reverts commit 0bc59a0a7a42bcf65ebf3814e5f25fb17d735faa.
Diffstat (limited to 'FTNoIR_Tracker_PT/camera.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/camera.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_PT/camera.cpp b/FTNoIR_Tracker_PT/camera.cpp index 8986be60..754533c5 100644 --- a/FTNoIR_Tracker_PT/camera.cpp +++ b/FTNoIR_Tracker_PT/camera.cpp @@ -108,11 +108,11 @@ void Camera::set_device_index(int index) }
}
-void Camera::set_fov(float f)
+void Camera::set_f(float f)
{
- if (cam_desired.fov != f)
+ if (cam_desired.f != f)
{
- cam_desired.fov = f;
+ cam_desired.f = f;
_set_f();
}
}
@@ -208,7 +208,7 @@ void CVCamera::_set_index() void CVCamera::_set_f()
{
- cam_info.fov = cam_desired.fov;
+ cam_info.f = cam_desired.f;
}
void CVCamera::_set_fps()
|