【ROS】Learning tf教程各部分结果

版本(Ubuntu 12.04 X64+hydro)

教程浏览:http://wiki.ros.org/tf/Tutorials

1、Writing a tf broadcaster (C++)

http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20broadcaster%20%28C%2B%2B%29#CA-bbe9f0e7287601c92c89c77659f8eac567563f3f_17

tf_tree


节点图


2、Writing a tf listener (C++)


3、Adding a frame (C++)


4、略

5、Time travel with tf (C++)


中途遇到的问题: 

1、tf tutorial:cannot launch node of type

问题:学习(http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20listener%20%28C%2B%2B%29)时
When following the tf tutorial,there are errors here: After typing "roslaunch turtle_tf_broadcaster start_demo.launch", it returns "ERROR: cannot launch node of type [learning_tf/turtle_tf_broadcaster]: can't locate node [turtle_tf_broadcaster] in package [learning_tf]" How can I correct it?
解决:
executing the command "source devel/setup.sh" in the catkin workplace before running the launch file. (I always forget to run it....)
http://answers.ros.org/question/74608/tf-tutorialcannot-launch-node-of-type/

2、unable to locate package rqt_tf_tree
解决:http://wiki.ros.org/rqt/UserGuide/Install/Groovy
If you only want to install a specific rqt plugin (rqt_tf_tree for instance):
$ sudo apt-get install ros-%YOUR_ROS_DISTRO%-rqt-tf_tree
Likewise:
$ sudo apt-get install ros-groovy-rqt-tf_tree


这时如果运行rosrun rqt_moveit rqt_tf_tree可能会出现如下问题:
“rqt plugin not listed/found in list returned by "rqt --list-plugins"”
此时解决办法:
$ rm ~/.config/ros.org/rqt_gui.ini
$ rqt
这样在Plugins列表下就能找到对应的插件了呢。默认插件列表:(http://wiki.ros.org/rqt/Plugins)

3、根据http://wiki.ros.org/navigation/Tutorials/RobotSetup/TF操作的时候,中途遇到一个经常性忘记做的事情导致的问题:About the tutorial on Setting up your robot using tf

解决方法:

http://answers.ros.org/question/137566/about-the-tutorial-on-setting-up-your-robot-using-tf/

重新source一下工作空间里边的setup.sh文件:source~/catkin_make/devel/setup.sh 

(说明: catkin_make为工作空间


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值