27#include "Eigen/Geometry"
43 std::list<base::VehicleStatus> raw_motion_queue_;
48 float time_difference_;
52 void generate_motion_matrix(
54 void accumulate_motion(
double start_time,
double end_time);
56 const double pre_image_timestamp,
57 const double image_timestamp);
61 if (mot_buffer_ !=
nullptr) {
63 mot_buffer_ =
nullptr;
66 mat_motion_sensor_ = base::MotionType::Identity();
73 if (mot_buffer_ ==
nullptr) {
76 mot_buffer_->set_capacity(buffer_size_);
80 void add_new_motion(
double pre_image_timestamp,
double image_timestamp,
81 int motion_operation_flag,
void set_buffer_size(int s)
bool find_motion_with_timestamp(double timestamp, base::VehicleStatus *vs)
base::MotionBuffer get_buffer()
void add_new_motion(double pre_image_timestamp, double image_timestamp, int motion_operation_flag, base::VehicleStatus *vehicledata)
bool is_3d_motion() const
boost::circular_buffer< VehicleStatus > MotionBuffer
std::shared_ptr< MotionBuffer > MotionBufferPtr
Eigen::Matrix4f MotionType