rtabmap with kinect 1(realsense d435i)

一、安裝 Kinect 驅動:

a. sudo apt-get install ros-kinetic-freenect-* node

b. rospack profile緩存

 

二、安裝rtabmap_ros

sudo apt-get install ros-kinetic-rtabmap-ros app

三、啓動rtabmap

for kinect 1:

a. roslaunch freenect_launch freenect.launch depth_registration:=truedom

b. roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start"spa

for realsense d435i:

a. roslaunch realsense2_camera rs_camera.launch align_depth:=true unite_imu_method:="linear_interpolation"code

b. rosrun imu_filter_madgwick imu_filter_node _use_mag:=false _publish_tf:=false _world_frame:="enu" /imu/data_raw:=/camera/imu /imu/data:=/rtabmap/imu內存

c. roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start --Optimizer/GravitySigma 0.3" depth_topic:=/camera/aligned_depth_to_color/image_raw rgb_topic:=/camera/color/image_raw camera_info_topic:=/camera/color/camera_info approx_sync:=false wait_imu_to_init:=true imu_topic:=/rtabmap/imuget

 

note: 重置內存/刪除緩存:rosservice call /rtabmap/resetit

瀏覽緩存:rtabmap-databaseViewer ~/.ros/rtabmap.dbio

 

定位模式:

a. rosservice call /rtabmap/reset_odom

b. roslaunch rtabmap_ros rtabmap.launch localization:=true

相關文章
相關標籤/搜索