changed dynamic cast into type function
changed dynamic cast into type function

willdzeng/rtabmap_ros,introlab/rtabmap_ros,Notou/rtabmap_ros,willdzeng/rtabmap_ros,Notou/rtabmap_ros,willdzeng/rtabmap_ros,introlab/rtabmap_ros,introlab/rtabmap_ros,introlab/rtabmap_ros,Notou/rtabmap_ros