mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Tango: Fixed Mem/ImagePreDecimation when changing to/from 720p mode
This commit is contained in:
@@ -597,6 +597,9 @@ void RTABMapApp::setFullResolution(bool enabled)
|
||||
{
|
||||
camera_->setDecimation(fullResolution_?1:2);
|
||||
}
|
||||
rtabmap::ParametersMap parameters;
|
||||
parameters.insert(rtabmap::ParametersPair(rtabmap::Parameters::kMemImagePreDecimation(), std::string(fullResolution_?"2":"1")));
|
||||
this->post(new rtabmap::ParamEvent(parameters));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user