青海快三预测:ROS与VSLAM入门教程-RGBD-SLAM-V2安装

青海快三下载 www.41pi3.cn ROS与VSLAM入门教程-RGBD-SLAM-V2安装

说明:

  • 介绍如何安装RGBD-SLAM-V2

环境:

  • ubuntu16.04 + kinetic
  • 深度相机:kinect v1

步骤:

  • 通过脚本安装
  • 下载脚本:
mkdir ~/RGBDSLAMV2
wget https://raw.githubusercontent.com/felixendres/rgbdslam_v2/kinetic/install.sh
  • 修改目录为RGBDSLAMV2
vim install.sh
  • 更改~/Code为~/RGBDSLAMV2
  • 执行脚本
chmod +x  install.sh 
./install.sh 

安装kinect驱动:

  • 安装驱动:
sudo apt-get install ros-kinetic-freenect-*

测试rgbdslam:

  • 修改launch,设置启动驱动为freenect
  • config/topic_image_depth深度话题修改为对应的
cd ~/RGBDSLAMV2/rgbdslam/launch
cp openni+rgbdslam.launch  freenect+rgbdslam.launch 
vim freenect+rgbdslam.launch 
  • 修改后源码为:
<launch>
  <include file="$(find freenect_launch)/launch/freenect.launch"/>
  <node pkg="rgbdslam" type="rgbdslam" name="rgbdslam" cwd="node" required="true" output="screen"> 
    <!-- Input data settings-->
    <param name="config/topic_image_mono"              value="/camera/rgb/image_color"/> 
    <param name="config/topic_image_depth"             value="/camera/depth/image_raw"/>

    <!-- These are the default values of some important parameters -->
    <param name="config/feature_extractor_type"        value="ORB"/><!-- also available: SIFT, SIFTGPU, SURF, SURF128 (extended SURF), ORB. -->
    <param name="config/feature_detector_type"         value="ORB"/><!-- also available: SIFT, SURF, GFTT (good features to track), ORB. -->
    <param name="config/detector_grid_resolution"      value="3"/><!-- detect on a 3x3 grid (to spread ORB keypoints and parallelize SIFT and SURF) -->
    <param name="config/max_keypoints"                 value="600"/><!-- Extract no more than this many keypoints -->
    <param name="config/max_matches"                   value="300"/><!-- Keep the best n matches (important for ORB to set lower than max_keypoints) -->

    <param name="config/min_sampled_candidates"        value="4"/><!-- Frame-to-frame comparisons to random frames (big loop closures) -->
    <param name="config/predecessor_candidates"        value="4"/><!-- Frame-to-frame comparisons to sequential frames-->
    <param name="config/neighbor_candidates"           value="4"/><!-- Frame-to-frame comparisons to graph neighbor frames-->
    <param name="config/ransac_iterations"             value="100"/>
    <param name="config/cloud_creation_skip_step"      value="2"/><!-- subsample the images' pixels (in both, width and height), when creating the cloud (and therefore reduce memory consumption) -->

    
    <param name="config/cloud_display_type"            value="POINTS"/><!-- Show pointclouds as points (as opposed to TRIANGLE_STRIP) -->
    <param name="config/pose_relative_to"              value="largest_loop"/><!-- optimize only a subset of the graph: "largest_loop" = Everything from the earliest matched frame to the current one. Use "first" to optimize the full graph, "inaffected" to optimize only the frames that were matched (not those inbetween for loops) -->
    <param name="config/backend_solver"                value="pcg"/><!-- pcg is faster and good for continuous online optimization, cholmod and csparse are better for offline optimization (without good initial guess)-->
    <param name="config/optimizer_skip_step"           value="1"/><!-- optimize only every n-th frame -->

  </node>
</launch>
  • 启动launch
roslaunch rgbdslam freenect+rgbdslam.launch

参考:

  • https://github.com/felixendres/rgbdslam_v2
  • //felixendres.github.io/rgbdslam_v2/
  • https://github.com/shl202/Turtlebot-Localization-Using-RGB-D-SLAM/wiki/Setup
  • //wiki.ros.org/rgbdslam
  • //sauravag.com/2016/10/how-to-setup-kinect-with-ros-and-rgbd-slam/
  • //www.cnblogs.com/voyagee/articles/6898278.html
  • //www.cnblogs.com/voyagee/p/7027076.html

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: ros与vslam入门教程

  • 北新建材荣登“中国500最具价值品牌”100强 2018-11-24
  • 杨梅:谣言太多伤不起 2018-11-24
  • 13岁少年杀3幼童被收容教养 下调入刑年龄可控犯罪 2018-09-04
  • 银保监会:6月22日前上报保险消费风险提示落实情况 2018-07-25
  • 刘杰的专栏作者中国国家地理网 2018-07-25
  • 漫游宝澄清“无证”传闻 2018-07-24
  • 罗青林的专栏作者中国国家地理网 2018-07-24
  • 2018世界杯 竞彩游戏的投注方式 2018-07-23
  • 足球,从工人阶级平民运动到资本主义商业游戏 2018-07-23
  • 奚梦瑶穿牛仔套装帅气十足 双手接护照礼仪满分 2018-07-22
  • 看了看某同事放长线的账户,居然赔掉了三分之二的本金[可怜] 2018-07-22
  • 克罗地亚VS尼日利亚前瞻:克罗地亚或是最大黑马 2018-07-21
  • 崔世安:澳门须主动融入和参与粤港澳大湾区建设 2018-07-20
  • 《亲爱的活祖宗》甜蜜开播 原声带上线亲爱的活祖宗 原声带 2018-07-20
  • 年底北斗系统将为“一带一路”建设参与国提供服务 2018-07-19
  • 922| 918| 205| 739| 899| 784| 601| 229| 757| 177|