Added "odom_sensor_sync" ros parameter (rtabmap and rtabmapviz nodes)

This commit is contained in:
matlabbe
2016-08-31 12:45:55 -04:00
parent 02decf639d
commit 66c2af5959
10 changed files with 54 additions and 71 deletions
+1 -1
View File
@@ -100,7 +100,6 @@ private:
bool commonOdomUpdate(const nav_msgs::OdometryConstPtr & odomMsg);
bool commonOdomTFUpdate(const ros::Time & stamp); // TF odom
rtabmap::Transform getTransform(const std::string & fromFrameId, const std::string & toFrameId, const ros::Time & stamp) const;
void commonDepthCallback(
const std::string & odomFrameId,
@@ -511,6 +510,7 @@ private:
boost::thread* transformThread_;
bool stereoToDepth_;
bool odomSensorSync_;
float rate_;
bool createIntermediateNodes_;
ros::Time time_;
+1
View File
@@ -269,6 +269,7 @@ private:
std::string odomFrameId_;
bool waitForTransform_;
double waitForTransformDuration_;
bool odomSensorSync_;
tf::TransformListener tfListener_;
message_filters::Subscriber<rtabmap_ros::Info> infoTopic_;