Go to the documentation of this file.
34 namespace equality_constraints {
47 namespace inequality_constraints {
54 template<
class VALUE,
unsigned int IDX>
58 typedef std::shared_ptr<ScalarCoordConstraint1<VALUE, IDX> >
shared_ptr;
65 return std::static_pointer_cast<gtsam::NonlinearFactor>(
84 inline unsigned int index()
const {
return IDX; }
114 template<
class T1,
class T2>
123 template<
class VALUE>
133 return std::static_pointer_cast<gtsam::NonlinearFactor>(
171 template<
class POSE,
class POINT>
182 return std::static_pointer_cast<gtsam::NonlinearFactor>(
193 double range_bound,
double mu = 1000.0)
NonlinearEquality1< Point2 > UnaryEqualityPointConstraint
MaxDistanceConstraint< Point2 > PoseMaxDistConstraint
Simulated2D domain example factor.
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
std::shared_ptr< This > shared_ptr
BoundingConstraint2< POSE, POINT > Base
Base class for factor.
double value(const Point &x1, const Point &x2, OptionalMatrixType H1=OptionalNone, OptionalMatrixType H2=OptionalNone) const override
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::shared_ptr< ScalarCoordConstraint1< VALUE, IDX > > shared_ptr
std::shared_ptr convenience typedef
double distance2(const Point2 &p, const Point2 &q, OptionalJacobian< 1, 2 > H1, OptionalJacobian< 1, 2 > H2)
distance between two points
~ScalarCoordConstraint1() override
bool isGreaterThan() const
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 x
BoundingConstraint1< VALUE > Base
Base class convenience typedef.
internal::FixedSizeMatrix< Y, X2 >::type numericalDerivative22(std::function< Y(const X1 &, const X2 &)> h, const X1 &x1, const X2 &x2, double delta=1e-5)
POINT Point
Type of point variable constrained.
NonlinearEquality2< Point2 > PoseEqualityConstraint
double value(const Point &x, OptionalMatrixType H=OptionalNone) const override
NonlinearEquality2< Point2 > PointEqualityConstraint
ScalarCoordConstraint1< Point2, 0 > PoseXInequality
Simulated2D domain example factor constraining X.
MaxDistanceConstraint(Key key1, Key key2, double range_bound, double mu=1000.0)
Some functions to compute numerical derivatives.
VALUE Point
Constrained variable type.
NonlinearEquality1< Point2 > UnaryEqualityConstraint
POSE Pose
Type of pose variable constrained.
gtsam::NonlinearFactor::shared_ptr clone() const override
~MinDistanceConstraint() override
ScalarCoordConstraint1< Point2, 1 > PoseYInequality
Simulated2D domain example factor constraining Y.
static const Pose3 T2(Rot3::Rodrigues(0.3, 0.2, 0.1), P2)
ScalarCoordConstraint1< VALUE, IDX > This
This class convenience typedef.
Provides partially implemented constraints to implement bounds.
measurement functions and derivatives for simulated 2D robot
~MaxDistanceConstraint() override
Non-linear factor base classes.
MaxDistanceConstraint< VALUE > This
This class for factor.
BoundingConstraint2< VALUE, VALUE > Base
Base class for factor.
internal::FixedSizeMatrix< Y, X1 >::type numericalDerivative21(const std::function< Y(const X1 &, const X2 &)> &h, const X1 &x1, const X2 &x2, double delta=1e-5)
double range_trait(const T1 &a, const T2 &b)
MinDistanceConstraint< Point2, Point2 > LandmarkAvoid
Simulated2D domain example factor.
Matrix * OptionalMatrixType
MinDistanceConstraint< POSE, POINT > This
This class for factor.
BetweenConstraint< Point2 > OdoEqualityConstraint
static const Similarity3 T1(R, Point3(3.5, -8.2, 4.2), 1)
std::uint64_t Key
Integer nonlinear key type.
unsigned int index() const
double value(const Pose &x1, const Point &x2, OptionalMatrixType H1=OptionalNone, OptionalMatrixType H2=OptionalNone) const override
MinDistanceConstraint(Key key1, Key key2, double range_bound, double mu=1000.0)
Pose3 x2(Rot3::Ypr(0.0, 0.0, 0.0), l2)
gtsam::NonlinearFactor::shared_ptr clone() const override
gtsam::NonlinearFactor::shared_ptr clone() const override
VALUE Point
Type of variable constrained.
ScalarCoordConstraint1(Key key, double c, bool isGreaterThan, double mu=1000.0)
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:13:24