#include <BearingRange.h>
Public Types | |
enum | { dimB = traits<B>::dimension } |
enum | { dimR = traits<R>::dimension } |
enum | { dimension = dimB + dimR } |
Public Member Functions | |
Standard Constructors | |
BearingRange () | |
BearingRange (const B &b, const R &r) | |
Testable | |
void | print (const std::string &str="") const |
bool | equals (const BearingRange< A1, A2 > &m2, double tol=1e-8) const |
Private Types | |
enum | { NeedsToAlign = (sizeof(B) % 16) == 0 || (sizeof(R) % 16) == 0 } |
Private Attributes | |
B | bearing_ |
R | range_ |
Standard Interface | |
const B & | bearing () const |
Return bearing measurement. More... | |
const R & | range () const |
Return range measurement. More... | |
static BearingRange | Measure (const A1 &a1, const A2 &a2, OptionalJacobian< dimension, traits< A1 >::dimension > H1={}, OptionalJacobian< dimension, traits< A2 >::dimension > H2={}) |
Prediction function that stacks measurements. More... | |
static B | MeasureBearing (const A1 &a1, const A2 &a2) |
Predict bearing. More... | |
static R | MeasureRange (const A1 &a1, const A2 &a2) |
Predict range. More... | |
Manifold | |
typedef Eigen::Matrix< double, dimension, 1 > | TangentVector |
typedef OptionalJacobian< dimension, dimension > | ChartJacobian |
size_t | dim () const |
BearingRange | retract (const TangentVector &xi) const |
Retract delta to manifold. More... | |
TangentVector | localCoordinates (const BearingRange &other) const |
Compute the coordinates in the tangent space. More... | |
static size_t | Dim () |
Bearing-Range product for a particular A1,A2 combination will use the functors above to create a similar functor of type A1*A2 -> pair<Bearing::return_type,Range::return_type> For example BearingRange<Pose2,Point2>(pose,point) will return pair<Rot2,double> and BearingRange<Pose3,Point3>(pose,point) will return pair<Unit3,double>
Definition at line 52 of file BearingRange.h.
typedef OptionalJacobian<dimension, dimension> gtsam::BearingRange< A1, A2, B, R >::ChartJacobian |
Definition at line 128 of file BearingRange.h.
typedef Eigen::Matrix<double, dimension, 1> gtsam::BearingRange< A1, A2, B, R >::TangentVector |
Definition at line 127 of file BearingRange.h.
anonymous enum |
Enumerator | |
---|---|
dimB |
Definition at line 58 of file BearingRange.h.
anonymous enum |
Enumerator | |
---|---|
dimR |
Definition at line 59 of file BearingRange.h.
anonymous enum |
Enumerator | |
---|---|
dimension |
Definition at line 60 of file BearingRange.h.
|
private |
Enumerator | |
---|---|
NeedsToAlign |
Definition at line 165 of file BearingRange.h.
|
inline |
Definition at line 65 of file BearingRange.h.
|
inline |
Definition at line 66 of file BearingRange.h.
|
inline |
Return bearing measurement.
Definition at line 73 of file BearingRange.h.
|
inlinestatic |
Definition at line 124 of file BearingRange.h.
|
inline |
Definition at line 125 of file BearingRange.h.
|
inline |
Definition at line 115 of file BearingRange.h.
|
inline |
Compute the coordinates in the tangent space.
Definition at line 138 of file BearingRange.h.
|
inlinestatic |
Prediction function that stacks measurements.
Definition at line 79 of file BearingRange.h.
|
inlinestatic |
Predict bearing.
Definition at line 97 of file BearingRange.h.
|
inlinestatic |
Predict range.
Definition at line 102 of file BearingRange.h.
|
inline |
Definition at line 110 of file BearingRange.h.
|
inline |
Return range measurement.
Definition at line 76 of file BearingRange.h.
|
inline |
Retract delta to manifold.
Definition at line 131 of file BearingRange.h.
|
private |
Definition at line 54 of file BearingRange.h.
|
private |
Definition at line 55 of file BearingRange.h.