Go to the documentation of this file.
8 #ifndef BETWEENFACTORSWITCHABLE_H_
9 #define BETWEENFACTORSWITCHABLE_H_
33 #
if GTSAM_VERSION_NUMERIC >= 40300
38 boost::optional<gtsam::Matrix&> H1 = boost::none,
39 boost::optional<gtsam::Matrix&> H2 = boost::none,
40 boost::optional<gtsam::Matrix&> H3 = boost::none)
const
49 if (H1) *H1 = *H1 *
s.value();
50 if (H2) *H2 = *H2 *
s.value();
73 #
if GTSAM_VERSION_NUMERIC >= 40300
78 boost::optional<gtsam::Matrix&> H1 = boost::none,
79 boost::optional<gtsam::Matrix&> H2 = boost::none,
80 boost::optional<gtsam::Matrix&> H3 = boost::none)
const
92 if (H1) *H1 = *H1 *
w;
93 if (H2) *H2 = *H2 *
w;
103 return 1.0/(1.0+
exp(-
x));
const Symbol key1( 'v', 1)
gtsam::Vector evaluateError(const VALUE &p1, const VALUE &p2, const SwitchVariableSigmoid &s, boost::optional< gtsam::Matrix & > H1=boost::none, boost::optional< gtsam::Matrix & > H2=boost::none, boost::optional< gtsam::Matrix & > H3=boost::none) const
gtsam::Vector evaluateError(const VALUE &p1, const VALUE &p2, const SwitchVariableLinear &s, boost::optional< gtsam::Matrix & > H1=boost::none, boost::optional< gtsam::Matrix & > H2=boost::none, boost::optional< gtsam::Matrix & > H3=boost::none) const
const Symbol key2( 'v', 2)
double sigmoid(double x) const
BetweenFactorSwitchableSigmoid()
const Symbol key3( 'v', 3)
gtsam::BetweenFactor< VALUE > betweenFactor
BetweenFactorSwitchableSigmoid(gtsam::Key key1, gtsam::Key key2, gtsam::Key key3, const VALUE &measured, const gtsam::SharedNoiseModel &model)
BetweenFactorSwitchableLinear(gtsam::Key key1, gtsam::Key key2, gtsam::Key key3, const VALUE &measured, const gtsam::SharedNoiseModel &model)
void error(const char *str)
noiseModel::Base::shared_ptr SharedNoiseModel
gtsam::BetweenFactor< VALUE > betweenFactor
Vector evaluateError(const T &p1, const T &p2, OptionalMatrixType H1, OptionalMatrixType H2) const override
#define NoiseModelFactor3
BetweenFactorSwitchableLinear()
GLM_FUNC_DECL genType exp(genType const &x)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:06