expose Measurement type in TriangulationFactor

release/4.3a0
Varun Agrawal 2024-09-25 11:28:54 -04:00
parent 832ef7725b
commit e2fba7a85c
1 changed files with 2 additions and 3 deletions

View File

@ -34,6 +34,8 @@ public:
/// CAMERA type
using Camera = CAMERA;
/// shorthand for measurement type, e.g. Point2 or StereoPoint2
using Measurement = typename CAMERA::Measurement;
protected:
@ -43,9 +45,6 @@ protected:
/// shorthand for this class
using This = TriangulationFactor<CAMERA>;
/// shorthand for measurement type, e.g. Point2 or StereoPoint2
using Measurement = typename CAMERA::Measurement;
// Keep a copy of measurement and calibration for I/O
const CAMERA camera_; ///< CAMERA in which this landmark was seen
const Measurement measured_; ///< 2D measurement