mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
fix possible stackunderflow in CoreWrapper constructed function
This commit is contained in:
@@ -233,6 +233,10 @@ private:
|
||||
std::string groundTruthBaseFrameId_;
|
||||
std::string configPath_;
|
||||
std::string databasePath_;
|
||||
|
||||
double tfDelay;
|
||||
double tfTolerance;
|
||||
|
||||
double odomDefaultAngVariance_;
|
||||
double odomDefaultLinVariance_;
|
||||
double landmarkDefaultAngVariance_;
|
||||
|
||||
+2
-2
@@ -138,8 +138,8 @@ CoreWrapper::CoreWrapper(const rclcpp::NodeOptions & options) :
|
||||
tfBroadcaster_ = std::make_shared<tf2_ros::TransformBroadcaster>(this);
|
||||
|
||||
bool publishTf = true;
|
||||
double tfDelay = 0.05; // 20 Hz
|
||||
double tfTolerance = 0.1; // 100 ms
|
||||
tfDelay = 0.05; // 20 Hz
|
||||
tfTolerance = 0.1; // 100 ms
|
||||
|
||||
configPath_ = this->declare_parameter("config_path", configPath_);
|
||||
databasePath_ = this->declare_parameter("database_path", databasePath_);
|
||||
|
||||
Reference in New Issue
Block a user