mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-05 17:27:46 +08:00
Split librtabmap_ros.so in to 3 libraries to decrease compilation time. Added scan-only common subscribers.
This commit is contained in:
@@ -192,6 +192,17 @@ void OdometryROS::onInit()
|
||||
|
||||
//parameters
|
||||
parameters_ = Parameters::getDefaultOdometryParameters(stereoParams_, visParams_, icpParams_);
|
||||
if(icpParams_)
|
||||
{
|
||||
if(!visParams_)
|
||||
{
|
||||
uInsert(parameters_, ParametersPair(Parameters::kRegStrategy(), "1"));
|
||||
}
|
||||
else
|
||||
{
|
||||
uInsert(parameters_, ParametersPair(Parameters::kRegStrategy(), "2"));
|
||||
}
|
||||
}
|
||||
parameters_.insert(*Parameters::getDefaultParameters().find(Parameters::kRtabmapImagesAlreadyRectified()));
|
||||
if(!configPath.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user