Last active
May 15, 2017 16:05
-
-
Save willwhui/95afb9c53b2a38134600be8b1cc86e1b to your computer and use it in GitHub Desktop.
Ros By Example Chapter 10 - Robot vision
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
硬件:Macbook Air | |
操作系统:Ubuntu 14.04 | |
ROS: Indigo |
10.10.2 Viewing Skeletons in RViz
教材不完善:运行rosrun openni_tracker openni_tracker
时提示“InitFromXml failed: Can't create any node of the requested type!”
花了几个小时google之,最终在Google group Ros By Example找到了答案:
需要安装一个教材中不曾提到的kinect-nite驱动。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
10.5 ROS to OpenCV: The cv_bridge Package
教材错误
这一节里面源代码有误,导致运行出错
cv_bridge_demo.py的image_callback方法里面的第一行:
frame = self.bridge.imgmsg_to_cv2(ros_image, "passthrough")
应为
frame = self.bridge.imgmsg_to_cv2(ros_image, "bgr8")
教程附带的完整代码里面用了前面那一行,
但是详细说明里面采用了后面这行。