33 #ifndef MOCK_FRONTEND_HPP_
34 #define MOCK_FRONTEND_HPP_
36 #define GTEST_USE_OWN_TR1_TUPLE 0
37 #include "gmock/gmock.h"
38 #include "gtest/gtest.h"
46 bool(
size_t cameraIndex, std::shared_ptr<okvis::MultiFrame> frameOut,
const okvis::kinematics::Transformation& T_WC,
const std::vector<cv::KeyPoint> * keypoints));
50 bool(
const okvis::ImuMeasurementDeque & imuMeasurements,
const okvis::ImuParameters & imuParams,
okvis::kinematics::Transformation& T_WS_propagated,
okvis::SpeedAndBias & speedAndBiases,
const okvis::Time& t_start,
const okvis::Time& t_end, Eigen::Matrix<double, 15, 15>* covariance, Eigen::Matrix<double, 15, 15>* jacobian));
52 void(
size_t octaves));
54 void(
double threshold));
Definition: MockVioFrontendInterface.hpp:43
std::deque< ImuMeasurement, Eigen::aligned_allocator< ImuMeasurement > > ImuMeasurementDeque
Definition: Measurements.hpp:163
Eigen::Matrix< double, 9, 1 > SpeedAndBias
Definition: FrameTypedefs.hpp:234
MOCK_METHOD6(dataAssociationAndInitialization, bool(okvis::VioBackendInterface &estimator, okvis::kinematics::Transformation &T_WS_propagated, const okvis::VioParameters ¶ms, const std::shared_ptr< okvis::MapPointVector > map, std::shared_ptr< okvis::MultiFrame > framesInOut, bool *asKeyframe))
MOCK_CONST_METHOD8(propagation, bool(const okvis::ImuMeasurementDeque &imuMeasurements, const okvis::ImuParameters &imuParams, okvis::kinematics::Transformation &T_WS_propagated, okvis::SpeedAndBias &speedAndBiases, const okvis::Time &t_start, const okvis::Time &t_end, Eigen::Matrix< double, 15, 15 > *covariance, Eigen::Matrix< double, 15, 15 > *jacobian))
Struct to combine all parameters and settings.
Definition: Parameters.hpp:280
MOCK_METHOD1(setBriskDetectionOctaves, void(size_t octaves))
MOCK_METHOD4(detectAndDescribe, bool(size_t cameraIndex, std::shared_ptr< okvis::MultiFrame > frameOut, const okvis::kinematics::Transformation &T_WC, const std::vector< cv::KeyPoint > *keypoints))
IMU parameters.
Definition: Parameters.hpp:105
Time representation. May either represent wall clock time or ROS clock time.
Definition: Time.hpp:187
An abstract interface for backends.
Definition: VioBackendInterface.hpp:67