diff options
author | Martin Miller | 2017-03-25 20:42:45 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-25 20:42:45 -0500 |
commit | 5b772241ab55eb844edbcbfa99744357068d159e (patch) | |
tree | 667597037bbf9f57bcf136c16c2ef9dc34a99413 /src/feature.h | |
parent | bd36055542b49b0bb7611ec9c320f7bbabaf6c27 (diff) | |
download | refslam-5b772241ab55eb844edbcbfa99744357068d159e.zip refslam-5b772241ab55eb844edbcbfa99744357068d159e.tar.gz |
Add initial view to Feature.
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h index d7015f2..a405e8f 100644 --- a/src/feature.h +++ b/src/feature.h @@ -4,6 +4,7 @@ #include <iostream> #include "types.h" +using Eigen::Vector2d; using Eigen::Vector3d; using Eigen::Matrix; using Eigen::MatrixXd; @@ -28,6 +29,7 @@ class Feature /* ==================== ACCESSORS ======================================= */ int id(); + Vector2d initialView(); Matrix<double,3,3> P0(); UTM utm(Vector3d &xbw, Quaterniond &q); @@ -65,6 +67,7 @@ class Feature /* ==================== DATA MEMBERS ======================================= */ int _id; Vector3d X; + Vector3d X0; Quaterniond q0; Vector3d xb0w; |