#include <TransformBtwRobotsUnaryFactor.h>
Public Types | |
typedef boost::shared_ptr< TransformBtwRobotsUnaryFactor > | shared_ptr |
typedef VALUE | T |
Public Types inherited from gtsam::NonlinearFactor | |
typedef boost::shared_ptr< This > | shared_ptr |
Public Types inherited from gtsam::Factor | |
typedef KeyVector::const_iterator | const_iterator |
Const iterator over keys. More... | |
typedef KeyVector::iterator | iterator |
Iterator over keys. More... | |
Public Member Functions | |
gtsam::NonlinearFactor::shared_ptr | clone () const override |
size_t | dim () const override |
bool | equals (const NonlinearFactor &f, double tol=1e-9) const override |
double | error (const gtsam::Values &x) const override |
boost::shared_ptr< gtsam::GaussianFactor > | linearize (const gtsam::Values &x) const override |
void | print (const std::string &s, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override |
void | setValAValB (const gtsam::Values &valA, const gtsam::Values &valB) |
TransformBtwRobotsUnaryFactor () | |
TransformBtwRobotsUnaryFactor (Key key, const VALUE &measured, Key keyA, Key keyB, const gtsam::Values &valA, const gtsam::Values &valB, const SharedGaussian &model) | |
gtsam::Vector | unwhitenedError (const gtsam::Values &x) const |
gtsam::Vector | whitenedError (const gtsam::Values &x, boost::optional< std::vector< gtsam::Matrix > & > H=boost::none) const |
~TransformBtwRobotsUnaryFactor () override | |
Public Member Functions inherited from gtsam::NonlinearFactor | |
NonlinearFactor () | |
template<typename CONTAINER > | |
NonlinearFactor (const CONTAINER &keys) | |
virtual | ~NonlinearFactor () |
virtual bool | active (const Values &) const |
shared_ptr | rekey (const std::map< Key, Key > &rekey_mapping) const |
shared_ptr | rekey (const KeyVector &new_keys) const |
Public Member Functions inherited from gtsam::Factor | |
virtual | ~Factor ()=default |
Default destructor. More... | |
Key | front () const |
First key. More... | |
Key | back () const |
Last key. More... | |
const_iterator | find (Key key) const |
find More... | |
const KeyVector & | keys () const |
Access the factor's involved variable keys. More... | |
const_iterator | begin () const |
const_iterator | end () const |
size_t | size () const |
virtual void | printKeys (const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const |
print only keys More... | |
KeyVector & | keys () |
iterator | begin () |
iterator | end () |
Private Types | |
typedef gtsam::NonlinearFactor | Base |
typedef TransformBtwRobotsUnaryFactor< VALUE > | This |
Private Member Functions | |
template<class ARCHIVE > | |
void | serialize (ARCHIVE &ar, const unsigned int) |
Private Attributes | |
gtsam::Key | key_ |
gtsam::Key | keyA_ |
gtsam::Key | keyB_ |
VALUE | measured_ |
SharedGaussian | model_ |
gtsam::Values | valA_ |
gtsam::Values | valB_ |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Types inherited from gtsam::NonlinearFactor | |
typedef Factor | Base |
typedef NonlinearFactor | This |
Protected Member Functions inherited from gtsam::Factor | |
Factor () | |
template<typename CONTAINER > | |
Factor (const CONTAINER &keys) | |
template<typename ITERATOR > | |
Factor (ITERATOR first, ITERATOR last) | |
bool | equals (const This &other, double tol=1e-9) const |
check equality More... | |
Static Protected Member Functions inherited from gtsam::Factor | |
template<typename CONTAINER > | |
static Factor | FromKeys (const CONTAINER &keys) |
template<typename ITERATOR > | |
static Factor | FromIterators (ITERATOR first, ITERATOR last) |
Protected Attributes inherited from gtsam::Factor | |
KeyVector | keys_ |
The keys involved in this factor. More... | |
Definition at line 35 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 44 of file TransformBtwRobotsUnaryFactor.h.
typedef boost::shared_ptr<TransformBtwRobotsUnaryFactor> gtsam::TransformBtwRobotsUnaryFactor< VALUE >::shared_ptr |
concept check by type
Definition at line 64 of file TransformBtwRobotsUnaryFactor.h.
typedef VALUE gtsam::TransformBtwRobotsUnaryFactor< VALUE >::T |
Definition at line 39 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 43 of file TransformBtwRobotsUnaryFactor.h.
|
inline |
default constructor - only use for serialization
Definition at line 67 of file TransformBtwRobotsUnaryFactor.h.
|
inline |
Constructor
Definition at line 70 of file TransformBtwRobotsUnaryFactor.h.
|
inlineoverride |
Definition at line 80 of file TransformBtwRobotsUnaryFactor.h.
|
inlineoverridevirtual |
Clone
Reimplemented from gtsam::NonlinearFactor.
Definition at line 84 of file TransformBtwRobotsUnaryFactor.h.
|
inlineoverridevirtual |
get the dimension of the factor (number of rows on linearization)
Implements gtsam::NonlinearFactor.
Definition at line 206 of file TransformBtwRobotsUnaryFactor.h.
|
inlineoverridevirtual |
equals
Reimplemented from gtsam::NonlinearFactor.
Definition at line 102 of file TransformBtwRobotsUnaryFactor.h.
|
inlineoverridevirtual |
Calculate the error of the factor This is typically equal to log-likelihood, e.g. in case of Gaussian. You can override this for systems with unusual noise models.
Implements gtsam::NonlinearFactor.
Definition at line 131 of file TransformBtwRobotsUnaryFactor.h.
|
inlineoverridevirtual |
Linearize a non-linearFactorN to get a gtsam::GaussianFactor, Hence
Implements gtsam::NonlinearFactor.
Definition at line 142 of file TransformBtwRobotsUnaryFactor.h.
|
inlineoverridevirtual |
implement functions needed for Testable print
Reimplemented from gtsam::NonlinearFactor.
Definition at line 90 of file TransformBtwRobotsUnaryFactor.h.
|
inlineprivate |
Definition at line 215 of file TransformBtwRobotsUnaryFactor.h.
|
inline |
implement functions needed to derive from Factor
Definition at line 114 of file TransformBtwRobotsUnaryFactor.h.
|
inline |
Definition at line 191 of file TransformBtwRobotsUnaryFactor.h.
|
inline |
Definition at line 159 of file TransformBtwRobotsUnaryFactor.h.
|
friend |
Serialization function
Definition at line 213 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 46 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 52 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 53 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 48 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 55 of file TransformBtwRobotsUnaryFactor.h.
|
private |
The measurement
Definition at line 50 of file TransformBtwRobotsUnaryFactor.h.
|
private |
Definition at line 51 of file TransformBtwRobotsUnaryFactor.h.