目的:使用一些简单代码使机器人运动到指定位置。讲解代码怎么实现机器人的运动。

参考文献:

第一个博客需要下载《Mastering ROS for robotics Programming》中的源码,第二个教程不用下其他源码,直接运行就行,

第三个教程出现了一些错误及解决方法。在新终端运行roslaunch moveit_tutorials move_group_interface_tutorial.launch,出现,

[move_group_interface_tutorial.launch] is neither a launch file in package [moveit_tutorials] nor is [moveit_tutorials] a launch file name
The traceback for the exception was written to the log file

此时需要编译工作空间(我把文件放在~/catkin_ws/src里了)

$ cd ~/catkin_ws/

$ catkin_make

$ source devel/setup.bash

重新运行下roslaunch文件,出现一个与pr2_description相关的错误。

No such file or directory: '/home/ubuntu/catkin_ws/src/pr2_description/robots/pr2.urdf.xacro'

网上一顿找(找错误原因,去github里下载pr2_description,实际没找到),后来把教程前面的有关内容看了遍,根本就没pr2_description的事,索性从src文件里删除pr2_description文件。

再次运行下roslaunch文件,成功。

MoveIt编程

Move Group Interface/C++ API

Move Group Interface tutorial

最新文章

  1. 64位下pwntools中dynELF函数的使用
  2. android break 与 return 的区别
  3. Rendering pipeline overview(读书笔记1 --- Real-Time rendering)
  4. 翻译:AKKA笔记 - Actor消息 -1(一)
  5. js关闭当前页面/关闭当前窗口
  6. iOS 进阶 第九天(0408)
  7. 你真的精通Java吗?
  8. JavaScript--动态更改CSS样式
  9. 幸运大转盘-jQuery+PHP实现的抽奖程序
  10. VMware Linux 下 Nginx
  11. Apache Kafka开发入门指南(1)
  12. 自己写的一个Vue
  13. 优雅的将Map转为String工具类
  14. ShortcutBadger添加桌面角标(Badge)
  15. matlab中nargin函数的用法
  16. 新东方雅思词汇---7.4、cap
  17. 【转】iOS保持界面流畅的技巧
  18. hdu 1853 Cyclic Tour (二分匹配KM最小权值 或 最小费用最大流)
  19. 维度属性的KeyColumns,NameColumn和ValueColumn
  20. java中如何将string转化成long

热门文章

  1. Redis读写分离技术解析
  2. BeanPostProcessor
  3. Thrift源码分析(二)-- 协议和编解码
  4. c语言之函数指针应用
  5. idea git使用记录
  6. SQL Server创建、更改和删除架构
  7. JSON -------- json与字符串之间的转换
  8. [转帖]美团在Redis上踩过的一些坑-5.redis cluster遇到的一些问题
  9. netcore3.0 webapi集成Swagger 5.0,Swagger使用
  10. Centos Docker 安装 Apache Guacamole