ctrlutils.eigen.Quaterniond¶
- class ctrlutils.eigen.Quaterniond¶
Bases:
ctrlutils.ctrlutils_eigen._QuaternionBase_Quaterniond
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: ctrlutils.ctrlutils_eigen.Quaterniond) -> None
__init__(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: Eigen::AngleAxis<double>) -> None
__init__(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: numpy.ndarray[numpy.float64[3, 3], flags.f_contiguous]) -> None
__init__(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: numpy.ndarray[numpy.float64[4, 1]]) -> None
__init__(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: ctrlutils.ctrlutils_eigen.Quaterniond) -> None
__init__(self: ctrlutils.ctrlutils_eigen.Quaterniond, w: float, x: float, y: float, z: float) -> None
Methods
__init__
(*args, **kwargs)Overloaded function.
angular_distance
(self, arg0)conjugate
(self)dot
(self, arg0)from_two_vectors
(arg0, arg1)identity
()inverse
(self)is_approx
(self, arg0[, prec])matrix
(self)norm
(self)normalize
(self)normalized
(self)set
(*args, **kwargs)Overloaded function.
set_from_two_vectors
(self, arg0, arg1)set_identity
(self)slerp
(self, arg0, arg1)squared_norm
(self)Attributes
coeffs
vec
w
x
y
z
- angular_distance(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: ctrlutils.ctrlutils_eigen._QuaternionBase_Quaterniond) float ¶
- conjugate(self: ctrlutils.ctrlutils_eigen.Quaterniond) ctrlutils.ctrlutils_eigen.Quaterniond ¶
- dot(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: ctrlutils.ctrlutils_eigen._QuaternionBase_Quaterniond) float ¶
- static from_two_vectors(arg0: numpy.ndarray[numpy.float64[3, 1]], arg1: numpy.ndarray[numpy.float64[3, 1]]) ctrlutils.ctrlutils_eigen.Quaterniond ¶
- static identity() ctrlutils.ctrlutils_eigen.Quaterniond ¶
- is_approx(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: ctrlutils.ctrlutils_eigen._QuaternionBase_Quaterniond, prec: float = 1e-12) bool ¶
- matrix(self: ctrlutils.ctrlutils_eigen.Quaterniond) numpy.ndarray[numpy.float64[3, 3]] ¶
- norm(self: ctrlutils.ctrlutils_eigen.Quaterniond) float ¶
- normalize(self: ctrlutils.ctrlutils_eigen.Quaterniond) None ¶
- normalized(self: ctrlutils.ctrlutils_eigen.Quaterniond) ctrlutils.ctrlutils_eigen.Quaterniond ¶
- set(*args, **kwargs)¶
Overloaded function.
set(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: ctrlutils.ctrlutils_eigen.Quaterniond) -> ctrlutils.ctrlutils_eigen.Quaterniond
set(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: Eigen::AngleAxis<double>) -> ctrlutils.ctrlutils_eigen.Quaterniond
set(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: numpy.ndarray[numpy.float64[3, 3], flags.f_contiguous]) -> ctrlutils.ctrlutils_eigen.Quaterniond
set(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: numpy.ndarray[numpy.float64[4, 1], flags.writeable]) -> ctrlutils.ctrlutils_eigen.Quaterniond
- set_from_two_vectors(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: numpy.ndarray[numpy.float64[3, 1]], arg1: numpy.ndarray[numpy.float64[3, 1]]) ctrlutils.ctrlutils_eigen.Quaterniond ¶
- set_identity(self: ctrlutils.ctrlutils_eigen.Quaterniond) ctrlutils.ctrlutils_eigen._QuaternionBase_Quaterniond ¶
- slerp(self: ctrlutils.ctrlutils_eigen.Quaterniond, arg0: float, arg1: ctrlutils.ctrlutils_eigen._QuaternionBase_Quaterniond) ctrlutils.ctrlutils_eigen.Quaterniond ¶
- squared_norm(self: ctrlutils.ctrlutils_eigen.Quaterniond) float ¶
- static unit_random() ctrlutils.ctrlutils_eigen.Quaterniond ¶