diff options
author | Martin Miller | 2017-03-28 09:53:29 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-28 09:53:29 -0500 |
commit | 9533fbcda07254b65a53a9109555662d9a09086c (patch) | |
tree | 7a7c246241ffc856ea47fc6b35f63d2734aa21f0 /src/types.cpp | |
parent | e0734384252675e2a37f4d9287184cc48ab68b05 (diff) | |
download | refslam-9533fbcda07254b65a53a9109555662d9a09086c.zip refslam-9533fbcda07254b65a53a9109555662d9a09086c.tar.gz |
update
Diffstat (limited to 'src/types.cpp')
-rw-r--r-- | src/types.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp new file mode 100644 index 0000000..151fd63 --- /dev/null +++ b/src/types.cpp @@ -0,0 +1,29 @@ +/* + * ===================================================================================== + * + * Filename: types.cpp + * + * Description: + * + * Version: 1.0 + * Created: 03/27/2017 03:26:51 PM + * Revision: none + * Compiler: gcc + * + * Author: Martin Miller (MHM), miller7@illinois.edu + * Organization: Aerospace Robotics and Controls Lab (ARC) + * + * ===================================================================================== + */ + + +#include "types.h" + +double +aboveWater(const Quaterniond &q) +{ + Vector3d tip; + tip << 0.65*3.43, 0, -0.60; + tip = q._transformVector(tip); + return tip[2]; +} |