Fixed typedefs in BearingRangeFactor
parent
7f2a903bea
commit
083dabdf1c
|
|
@ -29,16 +29,18 @@ namespace gtsam {
|
||||||
* @addtogroup SLAM
|
* @addtogroup SLAM
|
||||||
*/
|
*/
|
||||||
template<class POSE, class POINT, class ROTATION = typename POSE::Rotation>
|
template<class POSE, class POINT, class ROTATION = typename POSE::Rotation>
|
||||||
class BearingRangeFactor: public NoiseModelFactor2<POSE, POINT> {
|
class BearingRangeFactor: public NoiseModelFactor2<POSE, POINT>
|
||||||
private:
|
{
|
||||||
|
public:
|
||||||
|
typedef BearingRangeFactor<POSE, POINT> This;
|
||||||
|
typedef NoiseModelFactor2<POSE, POINT> Base;
|
||||||
|
typedef boost::shared_ptr<This> shared_ptr;
|
||||||
|
|
||||||
|
private:
|
||||||
typedef POSE Pose;
|
typedef POSE Pose;
|
||||||
typedef ROTATION Rot;
|
typedef ROTATION Rot;
|
||||||
typedef POINT Point;
|
typedef POINT Point;
|
||||||
|
|
||||||
typedef BearingRangeFactor<POSE, POINT> This;
|
|
||||||
typedef NoiseModelFactor2<POSE, POINT> Base;
|
|
||||||
|
|
||||||
// the measurement
|
// the measurement
|
||||||
Rot measuredBearing_;
|
Rot measuredBearing_;
|
||||||
double measuredRange_;
|
double measuredRange_;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue