mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Added rtabmap.launch
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ CoreWrapper::CoreWrapper(bool deleteDbOnStart) :
|
||||
pnh.param("subscribe_stereo", subscribeStereo, subscribeStereo);
|
||||
if(subscribeDepth && subscribeStereo)
|
||||
{
|
||||
UWARN("Parameters subscribe_depth and subscribe_stereo cannot be true at the same time. Parameter subscribe_depth is set to false.");
|
||||
ROS_WARN("rtabmap: Parameters subscribe_depth and subscribe_stereo cannot be true at the same time. Parameter subscribe_depth is set to false.");
|
||||
subscribeDepth = false;
|
||||
}
|
||||
if(subscribeLaserScan)
|
||||
|
||||
+3
-1
@@ -1212,7 +1212,9 @@ void GuiWrapper::setupCallbacks(
|
||||
|
||||
if(subscribeDepth && subscribeStereo)
|
||||
{
|
||||
ROS_WARN("\"subscribe_depth\" already true, ignoring \"subscribe_stereo\".");
|
||||
ROS_WARN("rtabmapviz: Parameters subscribe_depth and subscribe_stereo cannot be true at the "
|
||||
"same time. Parameter subscribe_depth is set to false.");
|
||||
subscribeDepth = false;
|
||||
}
|
||||
if(!subscribeDepth && !subscribeStereo && subscribeLaserScan)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user