Skip to content

Commit

Permalink
renaming key variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushbaid committed Apr 27, 2021
1 parent b00046c commit b0fb6a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gtsam/slam/EssentialMatrixFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,17 +313,17 @@ class EssentialMatrixFactor4
public:
/**
* Constructor
* @param essentialMatrixKey Essential Matrix variable key
* @param calibrationKey Calibration variable key
* @param keyE Essential Matrix variable key
* @param keyK Calibration variable key
* @param pA point in first camera, in pixel coordinates
* @param pB point in second camera, in pixel coordinates
* @param model noise model is about dot product in ideal, homogeneous
* coordinates
*/
EssentialMatrixFactor4(Key essentialMatrixKey, Key calibrationKey,
EssentialMatrixFactor4(Key keyE, Key keyK,
const Point2& pA, const Point2& pB,
const SharedNoiseModel& model)
: Base(model, essentialMatrixKey, calibrationKey), pA_(pA), pB_(pB) {}
: Base(model, keyE, keyK), pA_(pA), pB_(pB) {}

/// @return a deep copy of this factor
gtsam::NonlinearFactor::shared_ptr clone() const override {
Expand All @@ -345,8 +345,8 @@ class EssentialMatrixFactor4
/**
* @brief Calculate the algebraic epipolar error p' (K^-1)' E K p.
*
* @param E essential matrix for key essentialMatrixKey
* @param K calibration (common for both images) for key calibrationKey
* @param E essential matrix for key keyE
* @param K calibration (common for both images) for key keyK
* @param H1 optional jacobian in E
* @param H2 optional jacobian in K
* @return * Vector
Expand Down

0 comments on commit b0fb6a3

Please sign in to comment.