mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 18:27:46 +08:00
OdometryROS: refactored imu sync (#331). Using tf to compute baseline if Rtabmap/ImagesAlreadyRectified is true (for convenience with realsense rectified IR images but right camera info Tx not set)
This commit is contained in:
@@ -358,6 +358,7 @@ private:
|
||||
float rate_;
|
||||
bool createIntermediateNodes_;
|
||||
int maxMappingNodes_;
|
||||
bool alreadyRectifiedImages_;
|
||||
ros::Time previousStamp_;
|
||||
};
|
||||
|
||||
|
||||
@@ -227,7 +227,8 @@ bool convertStereoMsg(
|
||||
cv::Mat & right,
|
||||
rtabmap::StereoCameraModel & stereoModel,
|
||||
tf::TransformListener & listener,
|
||||
double waitForTransform);
|
||||
double waitForTransform,
|
||||
bool alreadyRectified);
|
||||
|
||||
bool convertScanMsg(
|
||||
const sensor_msgs::LaserScan & scan2dMsg,
|
||||
|
||||
@@ -141,7 +141,7 @@ private:
|
||||
int odomStrategy_;
|
||||
bool waitIMUToinit_;
|
||||
bool imuProcessed_;
|
||||
double lastImuReceivedStamp_;
|
||||
std::map<double, rtabmap::IMU> imus_;
|
||||
rtabmap::SensorData bufferedData_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user