summaryrefslogtreecommitdiff
path: root/src/body.cpp
diff options
context:
space:
mode:
authorMartin Miller2017-03-18 12:13:00 -0500
committerMartin Miller2017-03-18 12:13:00 -0500
commitaeadc3d4f2a9a7a626a6c44f0bd0a0892c7a8251 (patch)
tree39a91e6fd1dbdc46145b73f3a1bd0fd8f851220f /src/body.cpp
parent6e0de4f0d4fac653dde826712e81cee95b470195 (diff)
downloadrefslam-aeadc3d4f2a9a7a626a6c44f0bd0a0892c7a8251.zip
refslam-aeadc3d4f2a9a7a626a6c44f0bd0a0892c7a8251.tar.gz
Adjusted coordinate frame to NED and FRD.
The new coordinates frame for the world and the body correspond to Junho's code and work well in other versions of this code.
Diffstat (limited to 'src/body.cpp')
-rw-r--r--src/body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/body.cpp b/src/body.cpp
index b9ea683..daf4e69 100644
--- a/src/body.cpp
+++ b/src/body.cpp
@@ -23,7 +23,7 @@
Body::motionModel ( Matrix<double,9,1> &X, const Vector3d &acc, const Vector3d &ang, const Quaternion<double> &q, const double dt)
{
Vector3d bias(X.segment(6,3));
- Vector3d gravity_world(0.,0.,-9.80655);
+ Vector3d gravity_world(0.,0.,9.80655);
Matrix<double,6,3> A;
Matrix<double,6,1> b;