8#ifndef INCLUDE_VECTOR6D_H_
9#define INCLUDE_VECTOR6D_H_
22 template <
typename OtherDerived>
23 Vector6d(
const Eigen::MatrixBase<OtherDerived>& other)
29 template <
typename OtherDerived>
32 this->Eigen::Vector6dBase::operator=(other);
36 template <
typename OtherDerived>
39 this->block(0, 0, 3, 1) = linear;
42 template <
typename OtherDerived>
45 this->block(3, 0, 3, 1) = angular;
48 Vector6d(
const Vector3d linear,
const Vector3d angular);
50 auto LinearVector() const -> Vector3d {
return this->block(0, 0, 3, 1); }
52 auto AngularVector() const -> Vector3d {
return this->block(3, 0, 3, 1); }
A 6d vector generally used for containing pose [x y z r p y] or velocity [vx vy vz wx wy wz] vectors.
Definition Vector6d.h:18
auto AngularVector() const -> Vector3d
Definition Vector6d.h:52
void AngularVector(const Eigen::MatrixBase< OtherDerived > &angular)
Definition Vector6d.h:43
Vector6d & operator=(const Eigen::MatrixBase< OtherDerived > &other)
Definition Vector6d.h:30
Vector6d(const Vector3d linear, const Vector3d angular)
auto LinearVector() const -> Vector3d
Definition Vector6d.h:50
Vector6d(const Eigen::MatrixBase< OtherDerived > &other)
Definition Vector6d.h:23
void LinearVector(const Eigen::MatrixBase< OtherDerived > &linear)
Definition Vector6d.h:37
This namespace is used to extend the Eigen Dense library functionalities.
Definition RotMatrix.h:13
Eigen::Matrix< double, 6, 1 > Vector6dBase
Definition Types.h:37