Skip to content

Commit

Permalink
add no jacobian version of evaluateerror
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-krishnan committed Sep 9, 2024
1 parent fd0ecf0 commit 26a1cca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gtsam/sfm/TranslationFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ class BilinearAngleTranslationFactor
const SharedNoiseModel& noiseModel)
: Base(noiseModel, a, b, scale_key), measured_w_aZb_(w_aZb.point3()) {}

// Provide access to the Matrix& version of evaluateError:
using NoiseModelFactor2<Point3, Point3, Vector1>::evaluateError;

/**
* @brief Caclulate error: (scale * (Tb - Ta) - measurement)
* where Tb and Ta are Point3 translations and measurement is
Expand Down

0 comments on commit 26a1cca

Please sign in to comment.