40 #ifndef INCLUDE_OKVIS_MEASUREMENTS_HPP_
41 #define INCLUDE_OKVIS_MEASUREMENTS_HPP_
46 #pragma GCC diagnostic push
47 #pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
48 #pragma GCC diagnostic push
49 #pragma GCC diagnostic ignored "-Woverloaded-virtual"
50 #include <opencv2/opencv.hpp>
51 #pragma GCC diagnostic pop
52 #pragma GCC diagnostic pop
53 #include <Eigen/Dense>
66 template<
class MEASUREMENT_T>
68 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
93 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
105 Eigen::Vector3d accelerometers_)
123 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
131 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
141 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
148 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
155 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
178 typedef std::shared_ptr<okvis::FrameData>
Ptr;
206 #endif // INCLUDE_OKVIS_MEASUREMENTS_HPP_
std::deque< PositionMeasurement, Eigen::aligned_allocator< PositionMeasurement > > PositionMeasurementDeque
Definition: Measurements.hpp:188
Measurement< DifferentialPressureReading > DifferentialPressureMeasurement
Definition: Measurements.hpp:200
Measurement< GpsPositionReading > GpsPositionMeasurement
Definition: Measurements.hpp:190
Keypoint measurement.
Definition: Measurements.hpp:171
std::shared_ptr< okvis::FrameData > Ptr
Definition: Measurements.hpp:178
ImuSensorReadings(Eigen::Vector3d gyroscopes_, Eigen::Vector3d accelerometers_)
Constructor.
Definition: Measurements.hpp:104
KeypointData keypoints
Keypoints.
Definition: Measurements.hpp:180
Measurement< BarometerReading > BarometerMeasurement
Definition: Measurements.hpp:198
std::deque< ImuMeasurement, Eigen::aligned_allocator< ImuMeasurement > > ImuMeasurementDeque
Definition: Measurements.hpp:163
Measurement< CameraData > CameraMeasurement
Definition: Measurements.hpp:182
cv::Mat image
Grayscale/RGB image.
Definition: Measurements.hpp:115
std::deque< MagnetometerMeasurement, Eigen::aligned_allocator< MagnetometerMeasurement > > MagnetometerMeasurementDeque
Definition: Measurements.hpp:196
Camera measurement.
Definition: Measurements.hpp:165
cv::Mat depthImage
Depth image.
Definition: Measurements.hpp:116
Eigen::Vector3d gyroscopes
Gyroscope measurement.
Definition: Measurements.hpp:109
Eigen::Vector3d accelerometers
Accelerometer measurement.
Definition: Measurements.hpp:110
Eigen::Matrix< double, 9, 1 > SpeedAndBias
Definition: FrameTypedefs.hpp:234
std::vector< long unsigned int > landmarkIds
Associated landmark IDs.
Definition: Measurements.hpp:173
cv::Mat descriptors
Keypoint descriptors.
Definition: Measurements.hpp:174
Measurement< MagnetometerReading > MagnetometerMeasurement
Definition: Measurements.hpp:194
Measurement< FrameData > FrameMeasurement
Definition: Measurements.hpp:183
IMU measurements. For now assume they are synchronized:
Definition: Measurements.hpp:92
Header file for the TimeBase, Time and WallTime class.
Barometer measurement.
Definition: Measurements.hpp:147
Magnetometer measurement.
Definition: Measurements.hpp:140
Measurement(const okvis::Time &timeStamp_, const MEASUREMENT_T &measurement_, int sensorId=-1)
Constructor.
Definition: Measurements.hpp:83
EIGEN_MAKE_ALIGNED_OPERATOR_NEW double lat_wgs84
Latitude in WGS84 coordinate system.
Definition: Measurements.hpp:132
double lon_wgs84
Longitude in WGS84 coordiante system.
Definition: Measurements.hpp:133
Frame measurement.
Definition: Measurements.hpp:177
std::vector< cv::KeyPoint > keypoints
Keypoints if available.
Definition: Measurements.hpp:167
double temperature
Temperature. [K].
Definition: Measurements.hpp:150
CameraData image
Camera measurement, i.e., image.
Definition: Measurements.hpp:179
bool deliversKeypoints
Are the keypoints delivered too?
Definition: Measurements.hpp:168
cv::Mat image
Image.
Definition: Measurements.hpp:166
std::vector< cv::KeyPoint > keypoints
Keypoints if available.
Definition: Measurements.hpp:117
double alt_wgs84
Altitude in WGS84 coordinate system.
Definition: Measurements.hpp:134
int sensorId
Sensor ID. E.g. camera index in a multicamera setup.
Definition: Measurements.hpp:71
Measurement< ImuSensorReadings > ImuMeasurement
Definition: Measurements.hpp:162
EIGEN_MAKE_ALIGNED_OPERATOR_NEW okvis::Time timeStamp
Measurement timestamp.
Definition: Measurements.hpp:69
Generic measurements.
Definition: Measurements.hpp:67
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d position
Position measurement.
Definition: Measurements.hpp:124
Eigen::Vector3d positionOffset
Position offset.
Definition: Measurements.hpp:125
Depth camera measurements. For now assume they are synchronized:
Definition: Measurements.hpp:114
Measurement< DepthCameraData > DepthCameraMeasurement
Definition: Measurements.hpp:184
double geoidSeparation
Separation between geoid (MSL) and WGS-84 ellipsoid. [m].
Definition: Measurements.hpp:135
Position measurement.
Definition: Measurements.hpp:122
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d fluxDensity
< The magnetic flux density measurement. [uT]
Definition: Measurements.hpp:143
EIGEN_MAKE_ALIGNED_OPERATOR_NEW double pressure
Pressure measurement. [Pa].
Definition: Measurements.hpp:149
Eigen::Vector3d acceleration_B
Acceleration in B-frame.
Definition: Measurements.hpp:157
MEASUREMENT_T measurement
Actual measurement.
Definition: Measurements.hpp:70
Differential pressure sensor measurement.
Definition: Measurements.hpp:154
Eigen::Matrix3d positionCovariance
Measurement covariance.
Definition: Measurements.hpp:126
Time representation. May either represent wall clock time or ROS clock time.
Definition: Time.hpp:187
std::vector< cv::KeyPoint > keypoints
Keypoints.
Definition: Measurements.hpp:172
bool deliversKeypoints
Are keypoints already delievered in measurement?
Definition: Measurements.hpp:118
GPS position measurement.
Definition: Measurements.hpp:130
Measurement< PositionReading > PositionMeasurement
Definition: Measurements.hpp:186
std::deque< GpsPositionMeasurement, Eigen::aligned_allocator< GpsPositionMeasurement > > GpsPositionMeasurementDeque
Definition: Measurements.hpp:192
Measurement()
Default constructor.
Definition: Measurements.hpp:74
EIGEN_MAKE_ALIGNED_OPERATOR_NEW double pressure
Pressure measurement. [Pa].
Definition: Measurements.hpp:156
Eigen::Matrix3d positionCovarianceENU
Measurement covariance. East/North/Up.
Definition: Measurements.hpp:136
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ImuSensorReadings()
Default constructor.
Definition: Measurements.hpp:95