Skip to content

Commit

Permalink
Merge pull request #2 from roderick-koehle/patch-2
Browse files Browse the repository at this point in the history
Forward declaration for Set of Fisheye Cameras
  • Loading branch information
roderick-koehle authored Jul 8, 2021
2 parents 03e2744 + 9967c59 commit 73d40a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gtsam/geometry/triangulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#include <gtsam/geometry/Cal3_S2.h>
#include <gtsam/geometry/Cal3Bundler.h>
#include <gtsam/geometry/Cal3Fisheye.h>
#include <gtsam/geometry/Cal3Unified.h>
#include <gtsam/geometry/CameraSet.h>
#include <gtsam/geometry/PinholeCamera.h>
#include <gtsam/geometry/Pose2.h>
Expand Down Expand Up @@ -499,6 +501,8 @@ TriangulationResult triangulateSafe(const CameraSet<CAMERA>& cameras,
// Vector of Cameras - used by the Python/MATLAB wrapper
using CameraSetCal3Bundler = CameraSet<PinholeCamera<Cal3Bundler>>;
using CameraSetCal3_S2 = CameraSet<PinholeCamera<Cal3_S2>>;
using CameraSetCal3Fisheye = CameraSet<PinholeCamera<Cal3Fisheye>>;
using CameraSetCal3Unified = CameraSet<PinholeCamera<Cal3Unified>>;

} // \namespace gtsam

0 comments on commit 73d40a5

Please sign in to comment.