diff options
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.h')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h index cdea1e42..aa3c59f7 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.h +++ b/tracker-aruco/ftnoir_tracker_aruco.h @@ -31,10 +31,18 @@ using namespace options; struct settings : opts { + enum rot + { + rot_zero = 0, + rot_neg = -1, + rot_plus = +1, + }; + value<int> fov; value<double> headpos_x, headpos_y, headpos_z; value<QString> camera_name; value<int> force_fps, resolution; + value<rot> model_rotation; settings() : opts("aruco-tracker"), fov(b, "field-of-view", 56), @@ -43,7 +51,8 @@ struct settings : opts { headpos_z(b, "headpos-z", 0), camera_name(b, "camera-name", ""), force_fps(b, "force-fps", 0), - resolution(b, "force-resolution", 0) + resolution(b, "force-resolution", 0), + model_rotation(b, "model-rotation", rot_zero) {} }; |