#include <BearingFactor.h>
Public Types | |
typedef ExpressionFactorN< T, A1, A2 > | Base |
![]() | |
using | ArrayNKeys = std::array< Key, NARY_EXPRESSION_SIZE > |
![]() | |
typedef std::shared_ptr< ExpressionFactor< typename Bearing< A1, A2 >::result_type > > | shared_ptr |
Public Member Functions | |
BearingFactor () | |
default constructor More... | |
BearingFactor (Key key1, Key key2, const T &measured, const SharedNoiseModel &model) | |
primary constructor More... | |
Vector | evaluateError (const A1 &a1, const A2 &a2, OptionalMatrixType H1=OptionalNone, OptionalMatrixType H2=OptionalNone) const |
Expression< T > | expression (const typename Base::ArrayNKeys &keys) const override |
void | print (const std::string &s="", const KeyFormatter &kf=DefaultKeyFormatter) const override |
print More... | |
![]() | |
virtual Expression< typename Bearing< A1, A2 >::result_type > | expression (const ArrayNKeys &keys) const |
![]() | |
gtsam::NonlinearFactor::shared_ptr | clone () const override |
bool | equals (const NonlinearFactor &f, double tol) const override |
equals relies on Testable traits being defined for T More... | |
ExpressionFactor (const SharedNoiseModel &noiseModel, const typename Bearing< A1, A2 >::result_type &measurement, const Expression< typename Bearing< A1, A2 >::result_type > &expression) | |
std::shared_ptr< GaussianFactor > | linearize (const Values &x) const override |
const typename Bearing< A1, A2 >::result_type & | measured () const |
void | print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override |
print relies on Testable traits being defined for T More... | |
virtual Vector | unwhitenedError (const Values &x, OptionalMatrixVecType H=nullptr) const =0 |
Vector | unwhitenedError (const Values &x, OptionalMatrixVecType H=nullptr) const override |
Vector | unwhitenedError (const Values &x, std::vector< Matrix > &H) const |
~ExpressionFactor () override | |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
static const std::size_t | NARY_EXPRESSION_SIZE |
![]() | |
typedef ExpressionFactor< typename Bearing< A1, A2 >::result_type > | This |
![]() | |
ExpressionFactorN ()=default | |
Default constructor, for serialization. More... | |
ExpressionFactorN (const ArrayNKeys &keys, const SharedNoiseModel &noiseModel, const typename Bearing< A1, A2 >::result_type &measurement) | |
Constructor takes care of keys, but still need to call initialize. More... | |
![]() | |
ExpressionFactor () | |
ExpressionFactor (const SharedNoiseModel &noiseModel, const typename Bearing< A1, A2 >::result_type &measurement) | |
Default constructor, for serialization. More... | |
void | initialize (const Expression< typename Bearing< A1, A2 >::result_type > &expression) |
Initialize with constructor arguments. More... | |
![]() | |
FastVector< int > | dims_ |
dimensions of the Jacobian matrices More... | |
Expression< typename Bearing< A1, A2 >::result_type > | expression_ |
the expression that is AD enabled More... | |
typename Bearing< A1, A2 >::result_type | measured_ |
the measurement to be compared with the expression More... | |
![]() | |
static const int | Dim |
Binary factor for a bearing measurement Works for any two types A1,A2 for which the functor Bearing<A1,A2>() is defined
Definition at line 37 of file sam/BearingFactor.h.
typedef ExpressionFactorN<T, A1, A2> gtsam::BearingFactor< A1, A2, T >::Base |
Definition at line 38 of file sam/BearingFactor.h.
|
inline |
default constructor
Definition at line 41 of file sam/BearingFactor.h.
|
inline |
primary constructor
Definition at line 44 of file sam/BearingFactor.h.
|
inline |
Definition at line 64 of file sam/BearingFactor.h.
|
inlineoverride |
Definition at line 51 of file sam/BearingFactor.h.
|
inlineoverride |
Definition at line 58 of file sam/BearingFactor.h.