28 #include <gtsam/dllexport.h> 81 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION 82 template <
class Archive>
84 void serialize(Archive &ar,
SO4 &Q,
const unsigned int ) {
86 ar &boost::serialization::make_nvp(
"Q11",
M(0, 0));
87 ar &boost::serialization::make_nvp(
"Q12",
M(0, 1));
88 ar &boost::serialization::make_nvp(
"Q13",
M(0, 2));
89 ar &boost::serialization::make_nvp(
"Q14",
M(0, 3));
91 ar &boost::serialization::make_nvp(
"Q21",
M(1, 0));
92 ar &boost::serialization::make_nvp(
"Q22",
M(1, 1));
93 ar &boost::serialization::make_nvp(
"Q23",
M(1, 2));
94 ar &boost::serialization::make_nvp(
"Q24",
M(1, 3));
96 ar &boost::serialization::make_nvp(
"Q31",
M(2, 0));
97 ar &boost::serialization::make_nvp(
"Q32",
M(2, 1));
98 ar &boost::serialization::make_nvp(
"Q33",
M(2, 2));
99 ar &boost::serialization::make_nvp(
"Q34",
M(2, 3));
101 ar &boost::serialization::make_nvp(
"Q41",
M(3, 0));
102 ar &boost::serialization::make_nvp(
"Q42",
M(3, 1));
103 ar &boost::serialization::make_nvp(
"Q43",
M(3, 2));
104 ar &boost::serialization::make_nvp(
"Q44",
M(3, 3));
static MatrixNN Hat(const TangentVector &xi)
Matrix< RealScalar, Dynamic, Dynamic > M
std::string serialize(const T &input)
serializes to a string
Concept check class for variable types with Group properties.
static SO Expmap(const TangentVector &omega, ChartJacobian H={})
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange [*:*] noreverse nowriteback set trange [*:*] noreverse nowriteback set urange [*:*] noreverse nowriteback set vrange [*:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
MatrixNN matrix_
Rotation matrix.
Base class and basic functions for Manifold types.
GTSAM_EXPORT Matrix43 stiefel(const SO4 &Q, OptionalJacobian< 12, 6 > H)
Vector::Scalar omega(const Vector &t, const Vector &s, RealScalar angle)
GTSAM_EXPORT Matrix3 topLeft(const SO4 &Q, OptionalJacobian< 9, 6 > H)
Base class and basic functions for Lie types.
MatrixDD AdjointMap() const
Adjoint map.
Both LieGroupTraits and Testable.
static TangentVector Local(const SO &R, ChartJacobian H={})
The quaternion class used to represent 3D orientations and rotations.
The matrix class, also used for vectors and row-vectors.
static TangentVector Vee(const MatrixNN &X)
Inverse of Hat. See note about xi element order in Hat.
N*N matrix representation of SO(N). N can be Eigen::Dynamic.
static SO Retract(const TangentVector &xi, ChartJacobian H={})
VectorN2 vec(OptionalJacobian< internal::NSquaredSO(N), dimension > H={}) const