ros 如何使用 openni2_launch
There is very little actual code/etc in openni2_launch, it is mostly a thin wrapper around openni2_camera and rgbd_launch.
openni2_launch主要是对openni2_camera和rgbd_launch封装
但是wiki上对rgbd_launch解释比较透彻
http://wiki.ros.org/rgbd_launch
rgb_processing
true:
输入:
rgb/image_raw
输出:
rgb/image_mono, rgb/image_rect_mono, rgb/image_color and rgb/image_rect_color.
debayer_processing
true:
和rgb_processing效果一样
false:
只输出rgb/image_rect_color
ir_processing
true:
对ir图进行矫正
ir/image_raw -> ir/image_rect_raw
什么是ir camera请看
http://wiki.ros.org/openni_launch/Tutorials/IntrinsicCalibration
depth_processing
true:
输入:
depth/image_raw
输出:
depth/image_rect_raw (rectified)-------矫正之后的深度图
depth/image (metric)------转成浮点数的深度图没有矫正
depth/image_rect (rectified, metric)------转成浮点数的深度图有矫正
depth/points (pointcloud)------点云
depth_registered_processing
true:
输出 registered RGBD pointcloud-----将深度图变换到灰度图下坐标然后进行融合和产生点云
sw_registered_processing
depth/image_rect_raw ->
depth_registered/sw_registered/image_rect_raw (registered) ->
depth_registered/points
AND
depth_registered/disparity
roslaunch openni2_launch之后比较有用的topic
/camera/depth/image
/camera/depth/image_raw
/camera/depth/image_rect
/camera/depth/image_rect_raw
/camera/depth/points
/camera/depth_registered/image_raw
/camera/depth_registered/points
/camera/depth_registered/hw_registered/image_rect
/camera/depth_registered/hw_registered/image_rect_raw
/camera/rgb/image_raw
/camera/rgb/image_rect_color
在使用openni2_launch时候如果depth_resgistration是false则会出现下面这种图
rosrun image_view image_view image:=/camera/depth_registered/sw_registered/image_rect_raw

将depth_resgistration改成true就好了
ros 如何使用 openni2_launch的更多相关文章
- Learning ROS for Robotics Programming Second Edition学习笔记(六) indigo xtion pro live
中文译著已经出版,详情请参考:http://blog.csdn.net/ZhangRelay/article/category/6506865 Learning ROS for Robotics Pr ...
- ubuntu16.04+ROS安装kinectV1
1.安装驱动 安装ROS软件包以下2种方式,任选一种即可,当然全部安装也没有问题 1)使用openni_launch sudo apt-get install ros-kinetic-openni-c ...
- ros下xtion用法
xtion用openni2_launch openni2.launch就可以打开,但是在使用过程中有一些定制性问题: 首先弄清openni2_launch 中一些topic都是什么意思 http:// ...
- ROS下使用ASUS Xtion Pro Live
一.ROS官网hydro版本OpenNI安装 3. Installation 3.1 Ubuntu installation To install only openni_camera: sudo a ...
- 阿里云VPS服务器,ROS内网穿透
Aliyun Windows Server 2008 R2中建立vpn服务器,ros中使用pptp拨号连接 2.在Aliyun服务器中,修改hosts,将内网分配的ip映射到指定的域名,在Aliyun ...
- QT下调试基于ros的catkin项目
1.首先告诉qt ros的搜索路径,通过修改qt creator 桌面启动程序来实现 sudo gedit ~/.local/share/applications/DigiaQtOpenSour ...
- ROS学习(三)—— ROS文件系统
一.预备工作 使用ros0tutorials程序包,先下载: sudo apt-get install ros-<distro>-ros-tutorials 其中<distro> ...
- ROS学习(二)—— 配置ROS环境
一.管理环境 p { margin-bottom: 0.25cm; line-height: 120% } a:link { } 如果你在查找和使用ROS软件包方面遇到了问题,请确保你已经正确配置了脚 ...
- ROS学习(一)—— 环境搭建
一.配置Ubuntu软件仓库且选择ROS正确版本 二.添加source.list sudo sh -c 'echo "deb http://packages.ros.org/ros/ubun ...
随机推荐
- linux mysql 链接数太小
Data source rejected establishment of connection, message from server: "Too many connections&q ...
- Luogu3959 NOIP2017宝藏(状压dp)
按层dp,f[i][j]表示已扩展i子集的节点当前在第j层的最小代价,预处理点集间距离即可. #include<iostream> #include<cstdio> #incl ...
- LA4273 Post Offices
题目戳这里. 村庄排序.状态\(f[j][i]\)表示考虑前\(i\)个村庄,造\(j\)个邮局且\(i\)造了邮局的最小代价.我们用\(Lb_i,Rb_i\)表示在第\(i\)个村庄造邮局,邮局最左 ...
- git使用笔记(四)远程操作
By francis_hao Nov 19,2016 以一张图说明远程操作,图片来自参考[2] git clone 从远端主机克隆一个版本库,若省略directory则生成一个和远端同名的版本库 ...
- [fzu 2273]判断两个三角形的位置关系
首先判断是否相交,就是枚举3*3对边的相交关系. 如果不相交,判断包含还是相离,就是判断点在三角形内还是三角形外.两边各判断一次. //http://acm.fzu.edu.cn/problem.ph ...
- E. Intercity Travelling
E. Intercity Travelling time limit per test 1.5 seconds memory limit per test 256 megabytes input st ...
- bzoj4589 FWT xor版本
4589: Hard Nim Time Limit: 10 Sec Memory Limit: 128 MBSubmit: 865 Solved: 484[Submit][Status][Disc ...
- jquery中:input和input的区别
:input表示选择表单中的input,select,textarea,button元素, input仅仅选择input元素. <button>和<input type=" ...
- tomcat:tomcat的OutOfMemoryError解决
最近在熟悉一个开发了有几年的项目,需要把数据库从mysql移植到oracle,首先把jdbc的连接指向 mysql,打包放到tomcat里面,可以跑起来,没有问题,可是当把jdbc连接指向oracle ...
- HDU2553 N皇后问题---(dfs)
http://acm.hdu.edu.cn/showproblem.php?pid=2553 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在 ...