|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
Handle for accessing a quaternion signal as four scalar components. More...
#include <VecHandle.hpp>

Public Member Functions | |
| Vec4< Scalar > | get () const |
| Read all components as a Vec4 (w, x, y, z order). | |
| void | set (const Vec4< Scalar > &q) |
| Write all components from a Vec4 (w, x, y, z order). | |
| bool | valid () const |
| Check if all handles are valid. | |
| operator bool () const | |
| Check if handle is valid. | |
Public Attributes | |
| SignalHandle< Scalar > | w |
| W (scalar) component handle. | |
| SignalHandle< Scalar > | x |
| X component handle. | |
| SignalHandle< Scalar > | y |
| Y component handle. | |
| SignalHandle< Scalar > | z |
| Z component handle. | |
Handle for accessing a quaternion signal as four scalar components.
| Scalar | The scalar type (double or casadi::MX) |
|
inlinenodiscard |
Read all components as a Vec4 (w, x, y, z order).
|
inlineexplicit |
Check if handle is valid.
|
inline |
Write all components from a Vec4 (w, x, y, z order).
|
inlinenodiscard |
Check if all handles are valid.
| SignalHandle<Scalar> icarus::QuatHandle< Scalar >::w |
W (scalar) component handle.
| SignalHandle<Scalar> icarus::QuatHandle< Scalar >::x |
X component handle.
| SignalHandle<Scalar> icarus::QuatHandle< Scalar >::y |
Y component handle.
| SignalHandle<Scalar> icarus::QuatHandle< Scalar >::z |
Z component handle.