Template Struct SGal3¶
Defined in File SGal3.h
Inheritance Relationships¶
Base Type¶
public manif::SGal3Base< SGal3< _Scalar > >
(Template Struct SGal3Base)
Struct Documentation¶
-
template<typename _Scalar>
struct SGal3 : public manif::SGal3Base<SGal3<_Scalar>>¶ Represent an element of SGal3.
Public Types
-
using Translation = typename Base::Translation¶
-
using Quaternion = Eigen::Quaternion<Scalar>¶
-
using LinearVelocity = typename Base::LinearVelocity¶
Public Functions
-
SGal3() = default¶
-
~SGal3() = default¶
- MANIF_COPY_CONSTRUCTOR (SGal3) MANIF_MOVE_CONSTRUCTOR(SGal3) template< typename _DerivedOther > SGal3(const LieGroupBase< _DerivedOther > &o)
- MANIF_GROUP_ASSIGN_OP (SGal3) SGal3(const Translation &t
Constructor given a translation, a unit quaternion and a linear velocity.
- Parameters:
t – [in] A translation vector.
q – [in] A unit quaternion.
v – [in] A linear velocity vector.
time – [in] A time.
- Throws:
manif::invalid_argument – on un-normalized complex number.
-
SGal3(const Translation &t, const Eigen::AngleAxis<Scalar> &angle_axis, const LinearVelocity &v, const Scalar time)¶
Constructor given a translation, an angle axis and a linear velocity.
- Parameters:
t – [in] A translation vector.
angle_axis – [in] An angle-axis.
v – [in] A linear velocity vector.
time – [in] A time.
-
SGal3(const Translation &t, const SO3<Scalar> &SO3, const LinearVelocity &v, const Scalar time)¶
Constructor given a translation, SO3 element and a linear velocity.
- Parameters:
t – [in] A translation vector.
SO3 – An element of SO3.
v – [in] A linear velocity vector.
time – [in] A time.
-
SGal3(const Scalar x, const Scalar y, const Scalar z, const Scalar roll, const Scalar pitch, const Scalar yaw, const Scalar vx, const Scalar vy, const Scalar vz, const Scalar t)¶
Constructor given translation components, roll-pitch-yaw angles and linear velocity components.
- Parameters:
x – [in] The x component of the translation.
y – [in] The y component of the translation.
z – [in] The z component of the translation.
roll – [in] The roll angle.
pitch – [in] The pitch angle.
yaw – [in] The yaw angle.
vx – [in] The x component of the linear velocity.
vy – [in] The y component of the linear velocity.
vz – [in] The z component of the linear velocity.
t – [in] time.
-
SGal3(const Eigen::Transform<_Scalar, 3, Eigen::Isometry> &h, const LinearVelocity &v, const Scalar t)¶
Constructor from a 3D Eigen::Isometry<Scalar> relevant to SE(3) and a linear velocity.
Note
overall, this should be a double direct spatial isometry,
- Parameters:
h – [in] a isometry object from Eigen defined for SE(3)
v – [in] a linear velocity vector.
-
DataType &coeffs()¶
-
const DataType &coeffs() const¶
Public Members
-
const Eigen::Quaternion<Scalar> &q¶
- const Eigen::Quaternion< Scalar > const LinearVelocity & v
- const Eigen::Quaternion< Scalar > const LinearVelocity const Scalar time
Protected Attributes
-
DataType data_¶
-
using Translation = typename Base::Translation¶