fix the scan publish switch

This commit is contained in:
xw
2021-07-14 14:19:34 -04:00
parent 67f0f6b6da
commit 669eedfc7d
9 changed files with 14 additions and 22 deletions

View File

@@ -711,7 +711,7 @@ int main(int argc, char** argv)
ros::NodeHandle nh;
nh.param<bool>("publish/scan_publish_en",scan_pub_en,1);
nh.param<bool>("publish/dense_publish_en",dense_pub_en,0);
nh.param<bool>("publish/dense_publish_en",dense_pub_en,1);
nh.param<bool>("publish/scan_bodyframe_pub_en",scan_body_pub_en,1);
nh.param<int>("max_iteration",NUM_MAX_ITERATIONS,4);
nh.param<string>("map_file_path",map_file_path,"");