gtsam  4.0.0
gtsam
gtsam::BearingRange< A1, A2 > Struct Template Reference

Detailed Description

template<typename A1, typename A2>
struct gtsam::BearingRange< A1, A2 >

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>

+ Inheritance diagram for gtsam::BearingRange< A1, A2 >:

Public Member Functions

 BearingRange (const ProductManifold< B, R > &br)
 
 BearingRange (const B &b, const R &r)
 
void print (const std::string &str="") const
 
bool equals (const BearingRange< A1, A2 > &m2, double tol=1e-8) const
 
- Public Member Functions inherited from gtsam::ProductManifold< Bearing< A1, A2 >::result_type, Range< A1, A2 >::result_type >
size_t dim () const
 
 ProductManifold ()
 Default constructor needs default constructors to be defined.
 
 ProductManifold (const Bearing< A1, A2 >::result_type &m1, const Range< A1, A2 >::result_type &m2)
 
ProductManifold retract (const TangentVector &xi) const
 Retract delta to manifold.
 
TangentVector localCoordinates (const ProductManifold &other) const
 Compute the coordinates in the tangent space.
 

Static Public Member Functions

static BearingRange Measure (const A1 &a1, const A2 &a2, OptionalJacobian< Base::dimension, traits< A1 >::dimension > H1=boost::none, OptionalJacobian< Base::dimension, traits< A2 >::dimension > H2=boost::none)
 Prediction function that stacks measurements.
 
- Static Public Member Functions inherited from gtsam::ProductManifold< Bearing< A1, A2 >::result_type, Range< A1, A2 >::result_type >
static size_t Dim ()
 

Public Types

typedef Bearing< A1, A2 >::result_type B
 
typedef Range< A1, A2 >::result_type R
 
typedef ProductManifold< B, R > Base
 
- Public Types inherited from gtsam::ProductManifold< Bearing< A1, A2 >::result_type, Range< A1, A2 >::result_type >
enum  
 
typedef Eigen::Matrix< double, dimension, 1 > TangentVector
 
typedef OptionalJacobian< dimension, dimension > ChartJacobian
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Types inherited from gtsam::ProductManifold< Bearing< A1, A2 >::result_type, Range< A1, A2 >::result_type >
enum  
 
enum  
 

The documentation for this struct was generated from the following file: