summaryrefslogtreecommitdiff
path: root/src/body.h
diff options
context:
space:
mode:
authorMartin Miller2017-04-04 16:10:26 -0500
committerMartin Miller2017-04-04 16:10:26 -0500
commit2c0ce68acd031b67fdffaea3b2e50cca4f487633 (patch)
treecbaeca5d911fefaca0468c6aa469a5bfc7cf0c6d /src/body.h
parent0c8912c5dc1ec3c752f8648ca2a8181275ba2654 (diff)
downloadrefslam-2c0ce68acd031b67fdffaea3b2e50cca4f487633.zip
refslam-2c0ce68acd031b67fdffaea3b2e50cca4f487633.tar.gz
Full state mostly implemented.
STATESIZE 9 works just as it does for experiment04032017 tag. The quaternion covariance is not being set correctly yet.
Diffstat (limited to 'src/body.h')
-rw-r--r--src/body.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/body.h b/src/body.h
index 97df1e9..23ed2ca 100644
--- a/src/body.h
+++ b/src/body.h
@@ -9,7 +9,6 @@
//#define DOCLAMP
#define MAXHEIGHT -1.5 /* Notion of max and min is reversed due to z pointing down */
#define MINHEIGHT -0.3 /* */
-#define STATESIZE 13
using Eigen::Matrix;
@@ -32,6 +31,7 @@ class Body
#if STATESIZE==13
Matrix<double,STATESIZE,STATESIZE> F(const Vector3d &ang, double dt);
Quaterniond qhat();
+ void qhat(const Quaterniond &q);
#else
Matrix<double,STATESIZE,STATESIZE> F(const Vector3d &ang, const Quaterniond &q, double dt);
#endif