Go to the documentation of this file.
23 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
24 #include <boost/serialization/nvp.hpp>
40 inline constexpr
static auto dimension = 3;
46 uL_(0), uR_(0), v_(0) {
53 uL_(uL), uR_(uR), v_(
v) {
58 uL_(
v(0)), uR_(
v(1)), v_(
v(2)) {}
65 void print(
const std::string&
s =
"")
const;
110 inline double uL()
const {
return uL_;}
113 inline double uR()
const {
return uR_;}
116 inline double v()
const {
return v_;}
153 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
155 friend class boost::serialization::access;
156 template<
class ARCHIVE>
157 void serialize(ARCHIVE & ar,
const unsigned int ) {
158 ar & BOOST_SERIALIZATION_NVP(uL_);
159 ar & BOOST_SERIALIZATION_NVP(uR_);
160 ar & BOOST_SERIALIZATION_NVP(v_);
static Vector Logmap(const StereoPoint2 &p)
StereoPoint2(double uL, double uR, double v)
Expression< T > between(const Expression< T > &t1, const Expression< T > &t2)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static const double d[K][N]
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
static StereoPoint2 Identity()
identity
Errors operator-(const Errors &a, const Errors &b)
Subtraction.
StereoPoint2 operator-() const
inverse
VectorSpace provides both Testable and VectorSpaceTraits.
std::vector< StereoPoint2 > StereoPoint2Vector
StereoPoint2 compose(const StereoPoint2 &p1) const
bool operator==(const Matrix &A, const Matrix &B)
ofstream os("timeSchurFactors.csv")
bool equals(const StereoPoint2 &q, double tol=1e-9) const
static StereoPoint2 Expmap(const Vector &d)
Expression< T > compose(const Expression< T > &t1, const Expression< T > &t2)
Pose2_ Expmap(const Vector3_ &xi)
void print(const Matrix &A, const string &s, ostream &stream)
EIGEN_DEVICE_FUNC const Scalar & q
StereoPoint2 retract(const Vector &v) const
HybridGaussianProductFactor operator+(const HybridGaussianProductFactor &a, const HybridGaussianProductFactor &b)
StereoPoint2(const Vector3 &v)
construct from 3D vector
Array< int, Dynamic, 1 > v
Vector localCoordinates(const StereoPoint2 &t2) const
StereoPoint2 between(const StereoPoint2 &p2) const
StereoPoint2 inverse() const
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:14:03