mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
merged master to PR
This commit is contained in:
@@ -32,7 +32,7 @@ include_directories(
|
||||
|
||||
# libraries
|
||||
SET(Libraries
|
||||
rtabmap
|
||||
rtabmap::rtabmap
|
||||
${catkin_LIBRARIES}
|
||||
)
|
||||
|
||||
|
||||
@@ -2099,6 +2099,16 @@ bool convertRGBDMsgs(
|
||||
ROS_ERROR("Parameter %s is false but we cannot get TF between the two cameras!", rtabmap::Parameters::kRtabmapImagesAlreadyRectified().c_str());
|
||||
return false;
|
||||
}
|
||||
else if(stereoTransform.isIdentity())
|
||||
{
|
||||
ROS_ERROR("Parameter %s is false but we cannot get a valid TF between the two cameras! "
|
||||
"Identity transform returned between left and right cameras. Verify that if TF between "
|
||||
"the cameras is valid: \"rosrun tf tf_echo %s %s\".",
|
||||
rtabmap::Parameters::kRtabmapImagesAlreadyRectified().c_str(),
|
||||
depthCameraInfoMsgs[i].header.frame_id.c_str(),
|
||||
cameraInfoMsgs[i].header.frame_id.c_str());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<param name="Icp/CorrespondenceRatio" type="string" value="0.01"/>
|
||||
|
||||
<!-- Odom parameters -->
|
||||
<param name="Odom/ScanKeyFrameThr" type="string" value="0.95"/>
|
||||
<param name="Odom/ScanKeyFrameThr" type="string" value="0.8"/>
|
||||
<param name="Odom/Strategy" type="string" value="0"/>
|
||||
<param name="OdomF2M/ScanSubtractRadius" type="string" value="0.2"/>
|
||||
<param name="OdomF2M/ScanMaxSize" type="string" value="15000"/>
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
<param name="Icp/CorrespondenceRatio" type="string" value="0.01"/>
|
||||
|
||||
<!-- Odom parameters -->
|
||||
<param name="Odom/ScanKeyFrameThr" type="string" value="0.95"/>
|
||||
<param name="Odom/ScanKeyFrameThr" type="string" value="0.8"/>
|
||||
<param name="Odom/Strategy" type="string" value="0"/>
|
||||
<param name="OdomF2M/ScanSubtractRadius" type="string" value="$(arg voxel_size)"/>
|
||||
<param name="OdomF2M/ScanMaxSize" type="string" value="15000"/>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
import rospy
|
||||
import yaml
|
||||
import sys
|
||||
from sensor_msgs.msg import CameraInfo
|
||||
from sensor_msgs.msg import Image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user