lkml.org 
[lkml]   [2014]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch v3 6/6] iio: Added ABI description for quaternion
On 09/04/14 01:56, Srinivas Pandruvada wrote:
> Added documentation for reading quaternion components for 3D rotations.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Your quaternion description doesn't really include all the nuances of
quaternions, but will do the job without confusing anyone ;)
(no particularly reason that we have to get a unit quaternion for example)
> ---
> Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index 6e02c50..d1cad9a 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -891,3 +891,12 @@ Contact: linux-iio@vger.kernel.org
> Description:
> This attribute is used to get/set the integration time in
> seconds.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
> +KernelVersion: 3.15
> +Contact: linux-iio@vger.kernel.org
> +Description:
> + Raw value of quaternion components using a format
> + x y z w. Here x, y, and z component represents the axis about
> + which a rotation will occur and w component represents the
> + amount of rotation.
>



\
 
 \ /
  Last update: 2014-04-12 19:21    [W:0.516 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site