mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-09-16 08:10:19 +08:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user