Go to the documentation of this file.
9 #include <gtsam_unstable/dllexport.h>
31 SimWall2D(
double ax,
double ay,
double bx,
double by)
32 : a_(ax, ay), b_(bx, by) {}
35 void print(
const std::string&
s=
"")
const;
61 return intersects(wall, &
pt);
94 const std::vector<SimWall2D> walls,
Sampler& angle_drift,
Array< double, 1, 3 > e(1./3., 0.5, 2.)
double distance2(const Point2 &p, const Point2 &q, OptionalJacobian< 1, 2 > H1, OptionalJacobian< 1, 2 > H2)
distance between two points
const Vector3 bias(1, 2, 3)
bool intersects(const SimWall2D &wall, Point2 &pt) const
static const Point3 pt(1.0, 2.0, 3.0)
void print(const Matrix &A, const string &s, ostream &stream)
SimWall2D(const Point2 &a, const Point2 &b)
std::pair< Pose2, bool > moveWithBounce(const Pose2 &cur_pose, double step_size, const std::vector< SimWall2D > walls, Sampler &angle_drift, Sampler &reflect_noise, const Rot2 &bias)
std::vector< SimWall2D > SimWall2DVector
SimWall2D(double ax, double ay, double bx, double by)
sampling from a NoiseModel
SimWall2D scale(double s) const
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:19