码迷,mamicode.com
首页 > 其他好文 > 详细

rtabmap with kinect 1(realsense d435i)

时间:2019-08-21 21:30:56      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:mil   tab   重置   lte   模式   驱动   start   publish   net   

1、安装 Kinect 驱动:

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

b. rospack profile

 

2、安装rtabmap_ros

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

3、启动rtabmap

for kinect 1:

a. roslaunch freenect_launch freenect.launch depth_registration:=true

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

for realsense d435i:

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

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/imu

 

note: 重置内存/删除缓存:rosservice call /rtabmap/reset

浏览缓存:rtabmap-databaseViewer ~/.ros/rtabmap.db

 

定位模式:

a. rosservice call /rtabmap/reset_odom

b. roslaunch rtabmap_ros rtabmap.launch localization:=true




 

rtabmap with kinect 1(realsense d435i)

标签:mil   tab   重置   lte   模式   驱动   start   publish   net   

原文地址:https://www.cnblogs.com/zsxcool/p/11391244.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!