From 298e037f3abcb5eb67bee5048cb7f861e79a27c4 Mon Sep 17 00:00:00 2001 From: James Goppert Date: Tue, 5 Jul 2016 21:06:48 -0400 Subject: [PATCH] Added AxisAngle to README. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5f76ae7bae..314c6f2c82 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,15 @@ See the test directory for detailed examples. Some simple examples are included // you can also directly create a DCM instance from euler angles like this dcm = Eulerf(roll, pitch, yaw); + // create an axis angle representation from euler angles + AxisAngle axis_angle = euler; + + // use axis angle to initialize a DCM + Dcmf dcm2(AxisAngle(1, 2, 3)); + + // use axis angle with axis/angle separated to init DCM + Dcmf dcm2(AxisAngle(Vector3f(1, 0, 0), 0.2)); + // do some kalman filtering const size_t n_x = 5; const size_t n_y = 3;