Skip to content
Snippets Groups Projects
Commit 30ebb216 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

include ceres in cpp

parent 756c6388
No related branches found
No related tags found
No related merge requests found
Pipeline #28996 canceled
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
#include <ftl/config.h> #include <ftl/config.h>
#ifdef HAVE_CERES
#include <ceres/ceres.h>
#endif
#include <opencv2/core/core.hpp> #include <opencv2/core/core.hpp>
// BundleAdjustment uses Point3d instances via double* // BundleAdjustment uses Point3d instances via double*
...@@ -21,6 +17,10 @@ static_assert(std::is_standard_layout<cv::Point2d>()); ...@@ -21,6 +17,10 @@ static_assert(std::is_standard_layout<cv::Point2d>());
static_assert(sizeof(cv::Point3d) == 3*sizeof(double)); static_assert(sizeof(cv::Point3d) == 3*sizeof(double));
static_assert(std::is_standard_layout<cv::Point3d>()); static_assert(std::is_standard_layout<cv::Point3d>());
namespace ceres {
struct Problem;
}
namespace ftl { namespace ftl {
namespace calibration { namespace calibration {
......
#include "ftl/calibration/optimize.hpp" #include "ftl/calibration/optimize.hpp"
#include "ftl/calibration/parameters.hpp" #include "ftl/calibration/parameters.hpp"
#include <ceres/ceres.h>
#include <loguru.hpp> #include <loguru.hpp>
#include <ftl/exception.hpp> #include <ftl/exception.hpp>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment