Public Types | Public Member Functions | Private Attributes | List of all members
UnaryFactor Class Reference
Inheritance diagram for UnaryFactor:
Inheritance graph
[legend]

Public Types

typedef std::shared_ptr< UnaryFactorshared_ptr
 shorthand for a smart pointer to a factor More...
 

Public Member Functions

gtsam::NonlinearFactor::shared_ptr clone () const override
 
Vector evaluateError (const Pose2 &q, OptionalMatrixType H) const override
 
Vector evaluateError (const Pose2 &q, OptionalMatrixType H) const override
 
 UnaryFactor (Key j, double x, double y, const SharedNoiseModel &model)
 
 UnaryFactor (Key j, double x, double y, const SharedNoiseModel &model)
 
 ~UnaryFactor () override
 

Private Attributes

double mx_
 
double my_
 X and Y measurements. More...
 

Detailed Description

Definition at line 1 of file LocalizationFactor.cpp.

Member Typedef Documentation

◆ shared_ptr

typedef std::shared_ptr<UnaryFactor> UnaryFactor::shared_ptr

shorthand for a smart pointer to a factor

Definition at line 79 of file LocalizationExample.cpp.

Constructor & Destructor Documentation

◆ UnaryFactor() [1/2]

UnaryFactor::UnaryFactor ( Key  j,
double  x,
double  y,
const SharedNoiseModel &  model 
)
inline

Definition at line 9 of file LocalizationFactor.cpp.

◆ UnaryFactor() [2/2]

UnaryFactor::UnaryFactor ( Key  j,
double  x,
double  y,
const SharedNoiseModel model 
)
inline

Definition at line 82 of file LocalizationExample.cpp.

◆ ~UnaryFactor()

UnaryFactor::~UnaryFactor ( )
inlineoverride

Definition at line 85 of file LocalizationExample.cpp.

Member Function Documentation

◆ clone()

gtsam::NonlinearFactor::shared_ptr UnaryFactor::clone ( ) const
inlineoverride

Definition at line 107 of file LocalizationExample.cpp.

◆ evaluateError() [1/2]

Vector UnaryFactor::evaluateError ( const Pose2 &  q,
OptionalMatrixType  H 
) const
inlineoverride

Definition at line 12 of file LocalizationFactor.cpp.

◆ evaluateError() [2/2]

Vector UnaryFactor::evaluateError ( const Pose2 q,
OptionalMatrixType  H 
) const
inlineoverride

Definition at line 91 of file LocalizationExample.cpp.

Member Data Documentation

◆ mx_

double UnaryFactor::mx_
private

Definition at line 2 of file LocalizationFactor.cpp.

◆ my_

double UnaryFactor::my_
private

X and Y measurements.

Definition at line 2 of file LocalizationFactor.cpp.


The documentation for this class was generated from the following files:


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:49