26 #include <type_traits> 39 std::shared_ptr<Matrix> G_;
42 using Rot =
typename std::conditional<d == 2, Rot2, Rot3>::type;
47 using NoiseModelFactor2<SOn, SOn>::evaluateError;
57 const std::shared_ptr<Matrix> &G =
nullptr);
65 print(
const std::string &s,
66 const KeyFormatter &keyFormatter = DefaultKeyFormatter)
const override;
70 double tol = 1e-9)
const override;
83 void fillJacobians(
const Matrix &M1,
const Matrix &M2,
Definition: NonlinearFactor.h:431
Definition: NonlinearFactor.h:68
Definition: Testable.h:112
Matrix * OptionalMatrixType
Definition: NonlinearFactor.h:55
GTSAM_EXPORT void print(const Matrix &A, const std::string &s, std::ostream &stream)
Definition: ShonanFactor.h:36
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Definition: Key.h:35
Definition: chartTesting.h:28
Non-linear factor base classes.
N*N matrix representation of SO(N). N can be Eigen::Dynamic.
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:102
noiseModel::Base::shared_ptr SharedNoiseModel
Definition: NoiseModel.h:741
3D rotation represented as a rotation matrix or quaternion