|
g2o
|
Namespaces | |
| namespace | g2o |
Classes | |
| struct | QuadraticFormLock |
| struct | BaseEdgeTraits |
| struct | BaseEdgeTraits<-1 > |
| struct | TrivialPair |
Functions | |
| template<int K> | |
| std::array< bool, K > | createBoolArray () |
| template<> | |
| std::array< bool, 0 > | createBoolArray< 0 > () |
| constexpr int | pair_to_index (const int i, const int j) |
| constexpr TrivialPair | index_to_pair (const int k, const int j=0) |
| template<typename T> | |
| T | createHessianMapK () |
| helper function to call the c'tor of Eigen::Map | |
| template<typename... Args> | |
| std::tuple< Args... > | createHessianMaps (const std::tuple< Args... > &) |
| helper function for creating a tuple of Eigen::Map | |
| template<int I, typename EdgeType, typename... CtorArgs> | |
| std::enable_if< I==-1, OptimizableGraph::Vertex * >::type | createNthVertexType (int, const EdgeType &, CtorArgs...) |
| template<int I, typename EdgeType, typename... CtorArgs> | |
| std::enable_if< I!=-1, OptimizableGraph::Vertex * >::type | createNthVertexType (int i, const EdgeType &t, CtorArgs... args) |
| int | computeUpperTriangleIndex (int i, int j) |
| template<typename Derived> | |
| bool | writeVector (std::ostream &os, const Eigen::DenseBase< Derived > &b) |
| template<typename Derived> | |
| bool | readVector (std::istream &is, Eigen::DenseBase< Derived > &b) |
| template<typename MatrixType> | |
| void | axpy (const MatrixType &A, const Eigen::Map< const VectorX > &x, int xoff, Eigen::Map< VectorX > &y, int yoff) |
| template<int t> | |
| void | axpy (const Eigen::Matrix< double, Eigen::Dynamic, t > &A, const Eigen::Map< const VectorX > &x, int xoff, Eigen::Map< VectorX > &y, int yoff) |
| template<> | |
| void | axpy< MatrixX > (const MatrixX &A, const Eigen::Map< const VectorX > &x, int xoff, Eigen::Map< VectorX > &y, int yoff) |
| template<typename MatrixType> | |
| void | atxpy (const MatrixType &A, const Eigen::Map< const VectorX > &x, int xoff, Eigen::Map< VectorX > &y, int yoff) |
| template<int t> | |
| void | atxpy (const Eigen::Matrix< double, Eigen::Dynamic, t > &A, const Eigen::Map< const VectorX > &x, int xoff, Eigen::Map< VectorX > &y, int yoff) |
| template<> | |
| void | atxpy< MatrixX > (const MatrixX &A, const Eigen::Map< const VectorX > &x, int xoff, Eigen::Map< VectorX > &y, int yoff) |
| template<typename MatrixType> | |
| void | pcg_axy (const MatrixType &A, const VectorX &x, int xoff, VectorX &y, int yoff) |
| template<> | |
| void | pcg_axy (const MatrixX &A, const VectorX &x, int xoff, VectorX &y, int yoff) |
| template<typename MatrixType> | |
| void | pcg_axpy (const MatrixType &A, const VectorX &x, int xoff, VectorX &y, int yoff) |
| template<> | |
| void | pcg_axpy (const MatrixX &A, const VectorX &x, int xoff, VectorX &y, int yoff) |
| template<typename MatrixType> | |
| void | pcg_atxpy (const MatrixType &A, const VectorX &x, int xoff, VectorX &y, int yoff) |
| template<> | |
| void | pcg_atxpy (const MatrixX &A, const VectorX &x, int xoff, VectorX &y, int yoff) |
| Vector3 | invert_depth (const Vector3 &x) |
| Eigen::Matrix< double, 2, 3, Eigen::ColMajor > | d_proj_d_y (const double &f, const Vector3 &xyz) |
| Eigen::Matrix< double, 3, 6, Eigen::ColMajor > | d_expy_d_y (const Vector3 &y) |
| Matrix3 | d_Tinvpsi_d_psi (const SE3Quat &T, const Vector3 &psi) |
| void | compute_dq_dR_w (Eigen::Matrix< double, 3, 9 > &dq_dR_w, const double &qw, const double &r00, const double &r10, const double &r20, const double &r01, const double &r11, const double &r21, const double &r02, const double &r12, const double &r22) |
| void | compute_dq_dR_x (Eigen::Matrix< double, 3, 9 > &dq_dR_x, const double &qx, const double &r00, const double &r10, const double &r20, const double &r01, const double &r11, const double &r21, const double &r02, const double &r12, const double &r22) |
| void | compute_dq_dR_y (Eigen::Matrix< double, 3, 9 > &dq_dR_y, const double &qy, const double &r00, const double &r10, const double &r20, const double &r01, const double &r11, const double &r21, const double &r02, const double &r12, const double &r22) |
| void | compute_dq_dR_z (Eigen::Matrix< double, 3, 9 > &dq_dR_z, const double &qz, const double &r00, const double &r10, const double &r20, const double &r01, const double &r11, const double &r21, const double &r02, const double &r12, const double &r22) |
| void | compute_dR_dq (Eigen::Matrix< double, 9, 3 > &dR_dq, const double &qx, const double &qy, const double &qz, const double &qw) |
| int | _q2m (double &S, double &qw, const double &r00, const double &r10, const double &r20, const double &r01, const double &r11, const double &r21, const double &r02, const double &r12, const double &r22) |
| void | compute_dq_dR (Eigen::Matrix< double, 3, 9, Eigen::ColMajor > &dq_dR, const double &r11, const double &r21, const double &r31, const double &r12, const double &r22, const double &r32, const double &r13, const double &r23, const double &r33) |
| void G2O_TYPES_SLAM3D_API | compute_dR_dq (Eigen::Matrix< double, 9, 3, Eigen::ColMajor > &dR_dq, const double &qx, const double &qy, const double &qz, const double &qw) |
| template<typename Derived, typename DerivedOther, bool transposed = false> | |
| void | skew (Eigen::MatrixBase< Derived > &s, const Eigen::MatrixBase< DerivedOther > &v) |
| template<typename Derived, typename DerivedOther> | |
| void | skewT (Eigen::MatrixBase< Derived > &s, const Eigen::MatrixBase< DerivedOther > &v) |
| template<typename Derived, typename DerivedOther, bool transposed = false> | |
| void | skew (Eigen::MatrixBase< Derived > &Sx, Eigen::MatrixBase< Derived > &Sy, Eigen::MatrixBase< Derived > &Sz, const Eigen::MatrixBase< DerivedOther > &R) |
| template<typename Derived, typename DerivedOther> | |
| void | skewT (Eigen::MatrixBase< Derived > &Sx, Eigen::MatrixBase< Derived > &Sy, Eigen::MatrixBase< Derived > &Sz, const Eigen::MatrixBase< DerivedOther > &R) |
| template<typename Derived> | |
| void | computeEdgeSE3Gradient (Isometry3 &E, Eigen::MatrixBase< Derived > const &JiConstRef, Eigen::MatrixBase< Derived > const &JjConstRef, const Isometry3 &Z, const Isometry3 &Xi, const Isometry3 &Xj, const Isometry3 &Pi, const Isometry3 &Pj) |
| template<typename Derived> | |
| void | computeEdgeSE3Gradient (Isometry3 &E, Eigen::MatrixBase< Derived > const &JiConstRef, Eigen::MatrixBase< Derived > const &JjConstRef, const Isometry3 &Z, const Isometry3 &Xi, const Isometry3 &Xj) |
| template<typename Derived> | |
| void | computeEdgeSE3PriorGradient (Isometry3 &E, const Eigen::MatrixBase< Derived > &JConstRef, const Isometry3 &Z, const Isometry3 &X, const Isometry3 &P=Isometry3::Identity()) |
| Quaternion | normalized (const Quaternion &q) |
| Quaternion & | normalize (Quaternion &q) |
| Vector3 | toEuler (const Matrix3 &R) |
| Matrix3 | fromEuler (const Vector3 &v) |
| Vector3 | toCompactQuaternion (const Matrix3 &R) |
| Matrix3 | fromCompactQuaternion (const Vector3 &v) |
| Vector6 | toVectorMQT (const Isometry3 &t) |
| Vector6 | toVectorET (const Isometry3 &t) |
| Vector7 | toVectorQT (const Isometry3 &t) |
| Isometry3 | fromVectorMQT (const Vector6 &v) |
| Isometry3 | fromVectorET (const Vector6 &v) |
| Isometry3 | fromVectorQT (const Vector7 &v) |
| SE3Quat | toSE3Quat (const Isometry3 &t) |
| Isometry3 | fromSE3Quat (const SE3Quat &t) |
| Isometry3::ConstLinearPart | extractRotation (const Isometry3 &A) |
| template<typename Derived> | |
| void | nearestOrthogonalMatrix (const Eigen::MatrixBase< Derived > &R) |
| template<typename Derived> | |
| void | approximateNearestOrthogonalMatrix (const Eigen::MatrixBase< Derived > &R) |
| Vector6 | transformCartesianLine (const Isometry3 &t, const Vector6 &line) |
| Vector6 | normalizeCartesianLine (const Vector6 &line) |
| static double | mline_elevation (const double v[3]) |
| G2O_TYPES_SLAM3D_ADDONS_API double | getAzimuth (const Vector3 &direction) |
| G2O_TYPES_SLAM3D_ADDONS_API double | getElevation (const Vector3 &direction) |
internal functions used inside g2o. Those functions may disappear or change their meaning without further notification
| int g2o::internal::_q2m | ( | double & | S, |
| double & | qw, | ||
| const double & | r00, | ||
| const double & | r10, | ||
| const double & | r20, | ||
| const double & | r01, | ||
| const double & | r11, | ||
| const double & | r21, | ||
| const double & | r02, | ||
| const double & | r12, | ||
| const double & | r22 ) |
Definition at line 36 of file dquat2mat.cpp.
Referenced by compute_dq_dR().
| void g2o::internal::approximateNearestOrthogonalMatrix | ( | const Eigen::MatrixBase< Derived > & | R | ) |
compute a fast approximation for the nearest orthogonal rotation matrix. The function computes the residual E = RR^T - I which is then used as follows: R := R - 1/2 R E
Definition at line 81 of file isometry3d_mappings.h.
Referenced by g2o::VertexSE3::oplusImpl().
|
inline |
Definition at line 68 of file matrix_operations.h.
|
inline |
Definition at line 61 of file matrix_operations.h.
|
inline |
Definition at line 76 of file matrix_operations.h.
|
inline |
Definition at line 45 of file matrix_operations.h.
|
inline |
Definition at line 38 of file matrix_operations.h.
|
inline |
Definition at line 55 of file matrix_operations.h.
| void G2O_TYPES_SLAM3D_API g2o::internal::compute_dq_dR | ( | Eigen::Matrix< double, 3, 9, Eigen::ColMajor > & | dq_dR, |
| const double & | r11, | ||
| const double & | r21, | ||
| const double & | r31, | ||
| const double & | r12, | ||
| const double & | r22, | ||
| const double & | r32, | ||
| const double & | r13, | ||
| const double & | r23, | ||
| const double & | r33 ) |
Definition at line 71 of file dquat2mat.cpp.
References _q2m(), compute_dq_dR_w(), compute_dq_dR_x(), compute_dq_dR_y(), and compute_dq_dR_z().
Referenced by computeEdgeSE3Gradient(), computeEdgeSE3Gradient(), and computeEdgeSE3PriorGradient().
| void g2o::internal::compute_dq_dR_w | ( | Eigen::Matrix< double, 3, 9 > & | dq_dR_w, |
| const double & | qw, | ||
| const double & | r00, | ||
| const double & | r10, | ||
| const double & | r20, | ||
| const double & | r01, | ||
| const double & | r11, | ||
| const double & | r21, | ||
| const double & | r02, | ||
| const double & | r12, | ||
| const double & | r22 ) |
Definition at line 28 of file dquat2mat.cpp.
Referenced by compute_dq_dR().
| void g2o::internal::compute_dq_dR_x | ( | Eigen::Matrix< double, 3, 9 > & | dq_dR_x, |
| const double & | qx, | ||
| const double & | r00, | ||
| const double & | r10, | ||
| const double & | r20, | ||
| const double & | r01, | ||
| const double & | r11, | ||
| const double & | r21, | ||
| const double & | r02, | ||
| const double & | r12, | ||
| const double & | r22 ) |
Definition at line 70 of file dquat2mat.cpp.
Referenced by compute_dq_dR().
| void g2o::internal::compute_dq_dR_y | ( | Eigen::Matrix< double, 3, 9 > & | dq_dR_y, |
| const double & | qy, | ||
| const double & | r00, | ||
| const double & | r10, | ||
| const double & | r20, | ||
| const double & | r01, | ||
| const double & | r11, | ||
| const double & | r21, | ||
| const double & | r02, | ||
| const double & | r12, | ||
| const double & | r22 ) |
Definition at line 115 of file dquat2mat.cpp.
Referenced by compute_dq_dR().
| void g2o::internal::compute_dq_dR_z | ( | Eigen::Matrix< double, 3, 9 > & | dq_dR_z, |
| const double & | qz, | ||
| const double & | r00, | ||
| const double & | r10, | ||
| const double & | r20, | ||
| const double & | r01, | ||
| const double & | r11, | ||
| const double & | r21, | ||
| const double & | r02, | ||
| const double & | r12, | ||
| const double & | r22 ) |
Definition at line 160 of file dquat2mat.cpp.
Referenced by compute_dq_dR().
| void g2o::internal::compute_dR_dq | ( | Eigen::Matrix< double, 9, 3 > & | dR_dq, |
| const double & | qx, | ||
| const double & | qy, | ||
| const double & | qz, | ||
| const double & | qw ) |
Definition at line 205 of file dquat2mat.cpp.
| void G2O_TYPES_SLAM3D_API g2o::internal::compute_dR_dq | ( | Eigen::Matrix< double, 9, 3, Eigen::ColMajor > & | dR_dq, |
| const double & | qx, | ||
| const double & | qy, | ||
| const double & | qz, | ||
| const double & | qw ) |
References G2O_TYPES_SLAM3D_API.
| void g2o::internal::computeEdgeSE3Gradient | ( | Isometry3 & | E, |
| Eigen::MatrixBase< Derived > const & | JiConstRef, | ||
| Eigen::MatrixBase< Derived > const & | JjConstRef, | ||
| const Isometry3 & | Z, | ||
| const Isometry3 & | Xi, | ||
| const Isometry3 & | Xj ) |
Definition at line 206 of file isometry3d_gradients.h.
References compute_dq_dR(), extractRotation(), skew(), and skewT().
| void g2o::internal::computeEdgeSE3Gradient | ( | Isometry3 & | E, |
| Eigen::MatrixBase< Derived > const & | JiConstRef, | ||
| Eigen::MatrixBase< Derived > const & | JjConstRef, | ||
| const Isometry3 & | Z, | ||
| const Isometry3 & | Xi, | ||
| const Isometry3 & | Xj, | ||
| const Isometry3 & | Pi, | ||
| const Isometry3 & | Pj ) |
Definition at line 89 of file isometry3d_gradients.h.
References compute_dq_dR(), extractRotation(), skew(), and skewT().
Referenced by g2o::EdgeSE3::linearizeOplus(), and g2o::EdgeSE3Offset::linearizeOplus().
| void g2o::internal::computeEdgeSE3PriorGradient | ( | Isometry3 & | E, |
| const Eigen::MatrixBase< Derived > & | JConstRef, | ||
| const Isometry3 & | Z, | ||
| const Isometry3 & | X, | ||
| const Isometry3 & | P = Isometry3::Identity() ) |
Definition at line 282 of file isometry3d_gradients.h.
References compute_dq_dR(), extractRotation(), and skew().
Referenced by g2o::EdgeSE3Prior::linearizeOplus().
|
inline |
Definition at line 31 of file base_variable_sized_edge.h.
| std::array< bool, K > g2o::internal::createBoolArray | ( | ) |
Definition at line 48 of file base_fixed_sized_edge.h.
|
inline |
Definition at line 48 of file base_fixed_sized_edge.h.
| T g2o::internal::createHessianMapK | ( | ) |
helper function to call the c'tor of Eigen::Map
Definition at line 92 of file base_fixed_sized_edge.h.
Referenced by createHessianMaps().
| std::tuple< Args... > g2o::internal::createHessianMaps | ( | const std::tuple< Args... > & | ) |
helper function for creating a tuple of Eigen::Map
Definition at line 103 of file base_fixed_sized_edge.h.
References createHessianMapK().
| std::enable_if< I!=-1, OptimizableGraph::Vertex * >::type g2o::internal::createNthVertexType | ( | int | i, |
| const EdgeType & | t, | ||
| CtorArgs... | args ) |
Definition at line 115 of file base_fixed_sized_edge.h.
| std::enable_if< I==-1, OptimizableGraph::Vertex * >::type g2o::internal::createNthVertexType | ( | int | , |
| const EdgeType & | , | ||
| CtorArgs... | ) |
Definition at line 109 of file base_fixed_sized_edge.h.
Referenced by g2o::BaseFixedSizedEdge< D, E, VertexTypes >::constructQuadraticFormN(), and g2o::MapHessianMemoryK::operator()().
|
inline |
Definition at line 50 of file sba_utils.h.
References skew().
Referenced by g2o::EdgeProjectPSI2UV::linearizeOplus().
|
inline |
Definition at line 42 of file sba_utils.h.
Referenced by g2o::EdgeProjectPSI2UV::linearizeOplus().
Definition at line 59 of file sba_utils.h.
References invert_depth(), and g2o::SE3Quat::rotation().
Referenced by g2o::EdgeProjectPSI2UV::linearizeOplus().
|
inline |
extract the rotation matrix from an Isometry3 matrix. Eigen itself performs an SVD decomposition to recover the nearest orthogonal matrix, since its rotation() function also handles a scaling matrix. An Isometry3 does not have a scaling portion and we assume that the Isometry3 is numerically stable while we compute the error and the Jacobians. Hence, we directly extract the rotation block out of the full matrix.
Note, we could also call .linear() on the Isometry3. However, I dislike the name of that function a bit.
Definition at line 55 of file isometry3d_mappings.h.
Referenced by computeEdgeSE3Gradient(), computeEdgeSE3Gradient(), computeEdgeSE3PriorGradient(), g2o::EdgeSE3Prior::initialEstimate(), toVectorET(), toVectorMQT(), and toVectorQT().
(qx qy, qz) -> Rotation matrix, whereas (qx, qy, qz) are assumed to be part of a quaternion which was normalized with the function above.
Definition at line 87 of file isometry3d_mappings.cpp.
Referenced by fromVectorMQT().
Euler angles (roll, pitch, yaw) -> Rotation matrix
Definition at line 62 of file isometry3d_mappings.cpp.
References g2o::cst().
Referenced by fromVectorET().
convert from an old SE3Quat into Isometry3
Definition at line 149 of file isometry3d_mappings.cpp.
References g2o::SE3Quat::rotation(), and g2o::SE3Quat::translation().
Referenced by g2o::VertexSE3::G2O_ATTRIBUTE_DEPRECATED().
(x, y, z, roll, pitch, yaw) -> Isometry3
Definition at line 130 of file isometry3d_mappings.cpp.
References fromEuler().
Referenced by g2o::G2oSlamInterface::addEdge(), g2o::EdgeSE3Euler::read(), and g2o::VertexSE3Euler::read().
(x, y, z, qx, qy, qz) -> Isometry3
Definition at line 123 of file isometry3d_mappings.cpp.
References fromCompactQuaternion().
Referenced by g2o::SensorOdometry3D::addNoise(), g2o::SensorPose3D::addNoise(), g2o::SensorPose3DOffset::addNoise(), g2o::SensorSE3Prior::addNoise(), g2o::VertexSE3::oplusImpl(), g2o::OnlineVertexSE3::oplusUpdatedEstimate(), and g2o::VertexSE3::setMinimalEstimateDataImpl().
(x, y, z, qx, qy, qz, qw) -> Isometry3
Definition at line 137 of file isometry3d_mappings.cpp.
Referenced by g2o::G2oSlamInterface::addEdge(), g2o::jac_quat3_euler3(), g2o::EdgeSE3::read(), g2o::EdgeSE3Calib::read(), g2o::EdgeSE3Offset::read(), g2o::EdgeSE3Prior::read(), g2o::ParameterCamera::read(), g2o::ParameterSE3Offset::read(), g2o::VertexSE3::read(), g2o::VertexSE3::setEstimateDataImpl(), g2o::EdgeSE3::setMeasurementData(), and g2o::EdgeSE3Prior::setMeasurementData().
|
inline |
Definition at line 191 of file line3d.h.
References G2O_TYPES_SLAM3D_ADDONS_API.
Referenced by main().
|
inline |
Definition at line 195 of file line3d.h.
References G2O_TYPES_SLAM3D_ADDONS_API.
Referenced by main().
|
constexpr |
If we would have a constexpr for sqrt (cst_sqrt) it would be sth like. For now we implement as a recursive function at compile time. constexpr TrivialPair index_to_pair(n) { constexpr int j = int(0.5 + cst_sqrt(0.25 + 2 * n)); constexpr int base = pair_to_index(0, j); constexpr int i = n - base; return TrivialPair(i, j); }
Definition at line 86 of file base_fixed_sized_edge.h.
References index_to_pair().
Referenced by index_to_pair().
Definition at line 37 of file sba_utils.h.
References g2o::unproject().
Referenced by g2o::EdgeProjectPSI2UV::computeError(), d_Tinvpsi_d_psi(), and g2o::EdgeProjectPSI2UV::linearizeOplus().
|
inlinestatic |
| void g2o::internal::nearestOrthogonalMatrix | ( | const Eigen::MatrixBase< Derived > & | R | ) |
computes the nearest orthogonal matrix of a rotation matrix which might be affected by numerical inaccuracies. We periodically call this function after performinag a large number of updates on vertices. This function computes an SVD to reconstruct the nearest orthogonal matrix.
Definition at line 66 of file isometry3d_mappings.h.
| Quaternion & g2o::internal::normalize | ( | Quaternion & | q | ) |
as above, but in-place
Definition at line 40 of file isometry3d_mappings.cpp.
Referenced by normalized(), and toCompactQuaternion().
| G2O_TYPES_SLAM3D_ADDONS_API Vector6 g2o::internal::normalizeCartesianLine | ( | const Vector6 & | line | ) |
Definition at line 68 of file line3d.cpp.
Referenced by transformCartesianLine().
| Quaternion g2o::internal::normalized | ( | const Quaternion & | q | ) |
normalize the quaternion, such that ||q|| == 1 and q.w() > 0
Definition at line 34 of file isometry3d_mappings.cpp.
References normalize().
|
constexpr |
Definition at line 60 of file base_fixed_sized_edge.h.
Referenced by g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexBaseline >::constructOffDiagonalQuadraticFormM().
|
inline |
Definition at line 73 of file linear_solver_pcg.h.
|
inline |
Definition at line 80 of file linear_solver_pcg.h.
|
inline |
Definition at line 60 of file linear_solver_pcg.h.
|
inline |
Definition at line 67 of file linear_solver_pcg.h.
|
inline |
Definition at line 46 of file linear_solver_pcg.h.
|
inline |
Definition at line 53 of file linear_solver_pcg.h.
| bool g2o::internal::readVector | ( | std::istream & | is, |
| Eigen::DenseBase< Derived > & | b ) |
Definition at line 42 of file io_helper.h.
Referenced by FPolynomialCoefficientVertex::read(), g2o::EdgeInverseSim3ProjectXYZ::read(), g2o::EdgeLine2D::read(), g2o::EdgePlane::read(), g2o::EdgePointXY::read(), g2o::EdgeProjectP2MC::read(), g2o::EdgeProjectP2SC::read(), g2o::EdgeProjectPSI2UV::read(), g2o::EdgeProjectXYZ2UV::read(), g2o::EdgeProjectXYZ2UVU::read(), g2o::EdgeSBACam::read(), g2o::EdgeSE2::read(), g2o::EdgeSE2Line2D::read(), g2o::EdgeSE2Offset::read(), g2o::EdgeSE2PointXY::read(), g2o::EdgeSE2PointXYCalib::read(), g2o::EdgeSE2PointXYOffset::read(), g2o::EdgeSE2Prior::read(), g2o::EdgeSE2Segment2D::read(), g2o::EdgeSE2Segment2DLine::read(), g2o::EdgeSE2Segment2DPointLine::read(), g2o::EdgeSE2SensorCalib::read(), g2o::EdgeSE2XYPrior::read(), g2o::EdgeSE3::read(), g2o::EdgeSE3Calib::read(), g2o::EdgeSE3Expmap::read(), g2o::EdgeSE3Line3D::read(), g2o::EdgeSE3Offset::read(), g2o::EdgeSE3PlaneSensorCalib::read(), g2o::EdgeSE3PointXYZ::read(), g2o::EdgeSE3PointXYZDepth::read(), g2o::EdgeSE3PointXYZDisparity::read(), g2o::EdgeSE3Prior::read(), g2o::EdgeSE3ProjectXYZ::read(), g2o::EdgeSE3ProjectXYZOnlyPose::read(), g2o::EdgeSE3XYZPrior::read(), g2o::EdgeSim3::read(), g2o::EdgeSim3ProjectXYZ::read(), g2o::EdgeStereoSE3ProjectXYZ::read(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::read(), g2o::EdgeXYPrior::read(), g2o::EdgeXYZPrior::read(), g2o::ParameterCamera::read(), g2o::ParameterSE2Offset::read(), g2o::ParameterSE3Offset::read(), g2o::VertexCam::read(), g2o::VertexIntrinsics::read(), g2o::VertexLine3D::read(), g2o::VertexOdomDifferentialParams::read(), g2o::VertexPlane::read(), g2o::VertexPointXY::read(), g2o::VertexPointXYZ::read(), g2o::VertexSE2::read(), g2o::VertexSE3::read(), g2o::VertexSE3Euler::read(), g2o::VertexSE3Expmap::read(), g2o::VertexSegment2D::read(), g2o::VertexSim3Expmap::read(), MultipleValueEdge::read(), PolynomialCoefficientVertex::read(), and PPolynomialCoefficientVertex::read().
|
inline |
Definition at line 45 of file isometry3d_gradients.h.
Referenced by computeEdgeSE3Gradient(), computeEdgeSE3Gradient(), computeEdgeSE3PriorGradient(), d_expy_d_y(), skewT(), and skewT().
| void g2o::internal::skew | ( | Eigen::MatrixBase< Derived > & | Sx, |
| Eigen::MatrixBase< Derived > & | Sy, | ||
| Eigen::MatrixBase< Derived > & | Sz, | ||
| const Eigen::MatrixBase< DerivedOther > & | R ) |
Definition at line 63 of file isometry3d_gradients.h.
|
inline |
Definition at line 57 of file isometry3d_gradients.h.
References skew().
Referenced by computeEdgeSE3Gradient(), and computeEdgeSE3Gradient().
|
inline |
Definition at line 81 of file isometry3d_gradients.h.
References skew().
Rotation matrix -> (qx qy, qz)
Definition at line 80 of file isometry3d_mappings.cpp.
References normalize().
Referenced by toVectorMQT().
Rotation matrix -> Euler angles (roll, pitch, yaw)
Definition at line 49 of file isometry3d_mappings.cpp.
Referenced by g2o::G2oSlamInterface::printVertex(), and toVectorET().
convert an Isometry3 to the old SE3Quat class
Definition at line 144 of file isometry3d_mappings.cpp.
Referenced by g2o::VertexSE3::G2O_ATTRIBUTE_DEPRECATED().
Isometry3 -> (x, y, z, roll, pitch, yaw)
Definition at line 104 of file isometry3d_mappings.cpp.
References extractRotation(), and toEuler().
Referenced by g2o::jac_quat3_euler3(), g2o::EdgeSE3Euler::write(), and g2o::VertexSE3Euler::write().
Isometry3 -> (x, y, z, qx, qy, qz)
Definition at line 97 of file isometry3d_mappings.cpp.
References extractRotation(), and toCompactQuaternion().
Referenced by g2o::OnlineEdgeSE3::chi2(), g2o::EdgeSE3::computeError(), g2o::EdgeSE3Calib::computeError(), g2o::EdgeSE3Offset::computeError(), g2o::EdgeSE3Prior::computeError(), g2o::VertexSE3::getMinimalEstimateData(), g2o::EdgeSE3WriteGnuplotAction::operator()(), and g2o::VertexSE3WriteGnuplotAction::operator()().
Isometry3 -> (x, y, z, qx, qy, qz, qw)
Definition at line 111 of file isometry3d_mappings.cpp.
References extractRotation().
Referenced by g2o::VertexSE3::getEstimateData(), g2o::EdgeSE3::getMeasurementData(), g2o::EdgeSE3Prior::getMeasurementData(), g2o::jac_quat3_euler3(), g2o::EdgeSE3::write(), g2o::EdgeSE3Calib::write(), g2o::EdgeSE3Offset::write(), g2o::EdgeSE3Prior::write(), g2o::ParameterCamera::write(), g2o::ParameterSE3Offset::write(), and g2o::VertexSE3::write().
| G2O_TYPES_SLAM3D_ADDONS_API Vector6 g2o::internal::transformCartesianLine | ( | const Isometry3 & | t, |
| const Vector6 & | line ) |
Definition at line 61 of file line3d.cpp.
References normalizeCartesianLine().
| bool g2o::internal::writeVector | ( | std::ostream & | os, |
| const Eigen::DenseBase< Derived > & | b ) |
Definition at line 36 of file io_helper.h.
Referenced by FPolynomialCoefficientVertex::write(), g2o::EdgeInverseSim3ProjectXYZ::write(), g2o::EdgeLine2D::write(), g2o::EdgePlane::write(), g2o::EdgePointXY::write(), g2o::EdgeProjectP2MC::write(), g2o::EdgeProjectP2SC::write(), g2o::EdgeProjectPSI2UV::write(), g2o::EdgeProjectXYZ2UV::write(), g2o::EdgeProjectXYZ2UVU::write(), g2o::EdgeSBACam::write(), g2o::EdgeSE2::write(), g2o::EdgeSE2Line2D::write(), g2o::EdgeSE2Offset::write(), g2o::EdgeSE2PointXY::write(), g2o::EdgeSE2PointXYCalib::write(), g2o::EdgeSE2PointXYOffset::write(), g2o::EdgeSE2Prior::write(), g2o::EdgeSE2Segment2D::write(), g2o::EdgeSE2Segment2DLine::write(), g2o::EdgeSE2Segment2DPointLine::write(), g2o::EdgeSE2SensorCalib::write(), g2o::EdgeSE2XYPrior::write(), g2o::EdgeSE3::write(), g2o::EdgeSE3Calib::write(), g2o::EdgeSE3Expmap::write(), g2o::EdgeSE3Line3D::write(), g2o::EdgeSE3Offset::write(), g2o::EdgeSE3PlaneSensorCalib::write(), g2o::EdgeSE3PointXYZ::write(), g2o::EdgeSE3PointXYZDepth::write(), g2o::EdgeSE3PointXYZDisparity::write(), g2o::EdgeSE3Prior::write(), g2o::EdgeSE3ProjectXYZ::write(), g2o::EdgeSE3ProjectXYZOnlyPose::write(), g2o::EdgeSE3XYZPrior::write(), g2o::EdgeSim3::write(), g2o::EdgeSim3ProjectXYZ::write(), g2o::EdgeStereoSE3ProjectXYZ::write(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::write(), g2o::EdgeXYPrior::write(), g2o::EdgeXYZPrior::write(), g2o::ParameterCamera::write(), g2o::ParameterSE2Offset::write(), g2o::ParameterSE3Offset::write(), g2o::VertexCam::write(), g2o::VertexIntrinsics::write(), g2o::VertexLine3D::write(), g2o::VertexOdomDifferentialParams::write(), g2o::VertexPlane::write(), g2o::VertexPointXY::write(), g2o::VertexPointXYZ::write(), g2o::VertexSE2::write(), g2o::VertexSE3::write(), g2o::VertexSE3Euler::write(), g2o::VertexSE3Expmap::write(), g2o::VertexSegment2D::write(), g2o::VertexSim3Expmap::write(), MultipleValueEdge::write(), PolynomialCoefficientVertex::write(), and PPolynomialCoefficientVertex::write().