diff options
author | Martin Miller | 2017-04-04 12:31:50 -0500 |
---|---|---|
committer | Martin Miller | 2017-04-04 12:31:50 -0500 |
commit | f03177359d0d592c41b8c6412b65ecbed49a64e4 (patch) | |
tree | ad482d3f299d6583f3a2314ffbbced20f9a20d13 /src/feature.h | |
parent | f683e1e8be18de841c714f3bf8ec15d2d0b68a75 (diff) | |
download | refslam-f03177359d0d592c41b8c6412b65ecbed49a64e4.zip refslam-f03177359d0d592c41b8c6412b65ecbed49a64e4.tar.gz |
Update Feature class to use FULLSTATE.
The Jacobian of the measurement model, Hx and Hy were updated using code
generated with matlab's ccode() function. This generates a number of
intermediate values, which are an optimization by the function's
description, before setting the final values. In any case, it's not
necessarily more readable, but it does eliminate the incredbily long
lines used previously.
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h index 6260d71..56e0835 100644 --- a/src/feature.h +++ b/src/feature.h @@ -17,6 +17,7 @@ #define RANSAC_LI_THRESHOLD 4e-5 /* */ #define RANSAC_HI_THRESHOLD 5e-2 /* */ #define INITDEPTH +#define FULLSTATE using Eigen::Dynamic; |