Odom: added parameter "always_process_most_recent_frame" (default true like before) so that we can disable aggressive frame dropping in case input frames are published with flaky latency (e.g., with large rosbag having issue to replay in time topics)

This commit is contained in:
matlabbe
2025-09-07 19:08:58 -07:00
parent d3d3120804
commit 0ad034680b
10 changed files with 132 additions and 34 deletions
+10 -2
View File
@@ -203,7 +203,11 @@ void GuiWrapper::infoMapCallback(
this->post(new RtabmapEvent(stat));
tick(infoMsg->header.stamp);
ParametersMap allParameters = prefDialog_->getAllParameters();
float detectionRate = Parameters::defaultRtabmapDetectionRate();
Parameters::parse(allParameters, Parameters::kRtabmapDetectionRate(), detectionRate);
tick(infoMsg->header.stamp, detectionRate);
}
@@ -236,7 +240,11 @@ void GuiWrapper::infoCallback(
this->post(new RtabmapEvent(stat));
tick(infoMsg->header.stamp);
ParametersMap allParameters = prefDialog_->getAllParameters();
float detectionRate = Parameters::defaultRtabmapDetectionRate();
Parameters::parse(allParameters, Parameters::kRtabmapDetectionRate(), detectionRate);
tick(infoMsg->header.stamp, detectionRate);
}
void GuiWrapper::goalPathCallback(