#include <simulated2D.h>
Public Types | |
typedef NoiseModelFactor1< VALUE > | Base |
base class More... | |
typedef VALUE | Pose |
shortcut to Pose type More... | |
typedef boost::shared_ptr< GenericPrior< VALUE > > | shared_ptr |
typedef GenericPrior< VALUE > | This |
![]() | |
typedef VALUE | X |
![]() | |
typedef boost::shared_ptr< This > | shared_ptr |
![]() | |
typedef boost::shared_ptr< This > | shared_ptr |
![]() | |
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 |
Vector | evaluateError (const Pose &x, boost::optional< Matrix & > H=boost::none) const override |
Return error and optional derivative. More... | |
GenericPrior (const Pose &z, const SharedNoiseModel &model, Key key) | |
Create generic prior. More... | |
~GenericPrior () override | |
![]() | |
NoiseModelFactor1 () | |
~NoiseModelFactor1 () override | |
Key | key () const |
NoiseModelFactor1 (const SharedNoiseModel &noiseModel, Key key1) | |
Vector | unwhitenedError (const Values &x, boost::optional< std::vector< Matrix > & > H=boost::none) const override |
![]() | |
shared_ptr | cloneWithNewNoiseModel (const SharedNoiseModel newNoise) const |
size_t | dim () const override |
bool | equals (const NonlinearFactor &f, double tol=1e-9) const override |
double | error (const Values &c) const override |
boost::shared_ptr< GaussianFactor > | linearize (const Values &x) const override |
const SharedNoiseModel & | noiseModel () const |
access to the noise model More... | |
NoiseModelFactor () | |
template<typename CONTAINER > | |
NoiseModelFactor (const SharedNoiseModel &noiseModel, const CONTAINER &keys) | |
void | print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override |
Vector | unweightedWhitenedError (const Values &c) const |
double | weight (const Values &c) const |
Vector | whitenedError (const Values &c) const |
~NoiseModelFactor () override | |
![]() | |
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 |
![]() | |
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 () |
Public Attributes | |
Pose | measured_ |
prior mean More... | |
Private Member Functions | |
GenericPrior () | |
Default constructor. More... | |
template<class ARCHIVE > | |
void | serialize (ARCHIVE &ar, const unsigned int) |
Friends | |
class | boost::serialization::access |
Serialization function. More... | |
Additional Inherited Members | |
![]() | |
typedef NoiseModelFactor | Base |
typedef NoiseModelFactor1< VALUE > | This |
![]() | |
typedef NonlinearFactor | Base |
typedef NoiseModelFactor | This |
![]() | |
typedef Factor | Base |
typedef NonlinearFactor | This |
![]() | |
NoiseModelFactor (const SharedNoiseModel &noiseModel) | |
![]() | |
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... | |
![]() | |
template<typename CONTAINER > | |
static Factor | FromKeys (const CONTAINER &keys) |
template<typename ITERATOR > | |
static Factor | FromIterators (ITERATOR first, ITERATOR last) |
![]() | |
SharedNoiseModel | noiseModel_ |
![]() | |
KeyVector | keys_ |
The keys involved in this factor. More... | |
Unary factor encoding a soft prior on a vector
Definition at line 127 of file simulated2D.h.
typedef NoiseModelFactor1<VALUE> simulated2D::GenericPrior< VALUE >::Base |
base class
Definition at line 129 of file simulated2D.h.
typedef VALUE simulated2D::GenericPrior< VALUE >::Pose |
shortcut to Pose type
Definition at line 132 of file simulated2D.h.
typedef boost::shared_ptr<GenericPrior<VALUE> > simulated2D::GenericPrior< VALUE >::shared_ptr |
Definition at line 131 of file simulated2D.h.
typedef GenericPrior<VALUE> simulated2D::GenericPrior< VALUE >::This |
Definition at line 130 of file simulated2D.h.
|
inline |
Create generic prior.
Definition at line 137 of file simulated2D.h.
|
inlineoverride |
Definition at line 146 of file simulated2D.h.
|
inlineprivate |
Default constructor.
Definition at line 156 of file simulated2D.h.
|
inlineoverridevirtual |
Reimplemented from gtsam::NonlinearFactor.
Definition at line 149 of file simulated2D.h.
|
inlineoverridevirtual |
Return error and optional derivative.
Implements gtsam::NoiseModelFactor1< VALUE >.
Definition at line 142 of file simulated2D.h.
|
inlineprivate |
Definition at line 161 of file simulated2D.h.
|
friend |
Serialization function.
Definition at line 159 of file simulated2D.h.
Pose simulated2D::GenericPrior< VALUE >::measured_ |
prior mean
Definition at line 134 of file simulated2D.h.