diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-01 17:10:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-01 17:10:06 +0200 |
commit | fc03209f0819e2d247f0b24ed02842fc5505ef73 (patch) | |
tree | c1ee719eaf89babd9e90f5bd13863d43fa841a51 /ftnoir_tracker_aruco/ftnoir_tracker_aruco.h | |
parent | 95624a290d9894966e3dab9ffc7064bbb2b51f18 (diff) |
pt, aruco, ht: select camera by name, not index
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.h')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h index 0cb8fd8f..875a9d41 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h @@ -26,14 +26,15 @@ using namespace options; struct settings : opts { value<double> fov, headpos_x, headpos_y, headpos_z; - value<int> camera_index, force_fps, resolution; + value<QString> camera_name; + value<int> force_fps, resolution; settings() : opts("aruco-tracker"), fov(b, "field-of-view", 56), headpos_x(b, "headpos-x", 0), headpos_y(b, "headpos-y", 0), headpos_z(b, "headpos-z", 0), - camera_index(b, "camera-index", 0), + camera_name(b, "camera-name", ""), force_fps(b, "force-fps", 0), resolution(b, "force-resolution", 0) {} |