amino  1.0-beta2
Lightweight Robot Utility Library
aa_tf_quat Struct Reference

Memory layout for a quaternion, x,y,z,w order. More...

#include <type.h>

Inheritance diagram for aa_tf_quat:
amino::Quat

Public Attributes

union {
   struct {
      double   x
 x component
 
      double   y
 y component
 
      double   z
 z component
 
      double   w
 w component
 
   } 
 
   struct {
      union {
         struct aa_tf_vec3   vec
 vector part
 
         double   v [3]
 vector part
 
      } 
 
      double   scalar
 scalar part
 
   } 
 
   double   data [4]
 data array
 
}; 
 

Detailed Description

Memory layout for a quaternion, x,y,z,w order.

The first three elements are the vector (x,y,z). The last element is the scalar (w).

Definition at line 189 of file type.h.


The documentation for this struct was generated from the following file: