diff options
author | Martin Miller | 2017-03-19 15:09:40 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-19 15:09:40 -0500 |
commit | 92e9c6c89ec789926084e885d6439a3477b91b04 (patch) | |
tree | c937eafc103f4398fd9bac5d84ee921777f8c74f /src/feature.cpp | |
parent | 882f86620aa89b3df911f328272cdbc61a1390ba (diff) | |
download | refslam-92e9c6c89ec789926084e885d6439a3477b91b04.zip refslam-92e9c6c89ec789926084e885d6439a3477b91b04.tar.gz |
Add feature Constructor
Diffstat (limited to 'src/feature.cpp')
-rw-r--r-- | src/feature.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/feature.cpp b/src/feature.cpp index b83f8ee..99ea448 100644 --- a/src/feature.cpp +++ b/src/feature.cpp @@ -21,6 +21,21 @@ /* *-------------------------------------------------------------------------------------- * Class: Feature + * Method: Feature + * Description: constructor + *-------------------------------------------------------------------------------------- + */ +Feature::Feature (const Vector3d &pib, const Vector3d &xbw, const Quaterniond q ) /* constructor */ +{ + X = pib; + xb0w = xbw; + q0 = q; +} /* ----- end of method Feature::Feature (constructor) ----- */ + + +/* + *-------------------------------------------------------------------------------------- + * Class: Feature * Method: Feature :: S * Description: Returns S, the information matrix for an independent * measurement of the feature. For correlated measurements, combine Hx and Hy |