抓取-ros中一些仿真问题

一、jaco2机械臂-moveit!在RViz中(demo.launch)

1、trac_ik_lib包未安装

(1)问题

The kinematics plugin (cute_arm) failed to load. Error: Failed to load library /opt/ros/kinetic/lib//libtrac_ik_kinematics_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libmoveit_kinematics_base.so.0.9.12: cannot open shared object file: No such file or directory)
[ERROR] [1530362224.460199466]: Kinematics solver could not be instantiated for joint group cute_arm.
在这里插入图片描述

(2)解决

更新moveit,安装trac_ik_lib功能包,重新编译。

sudo apt-get install ros-kinetic-moveit-*
sudo apt-get install ros-kinetic-trac-ik

参考:http://www.guyuehome.com/1921
在这里插入图片描述

二、gazebo中缺少控制器

1、问题1

Could not load controller 'joint_state_controller

2、问题1解决

$ sudo apt-get install ros-$version$-joint-state-controller
$ sudo apt-get install ros-$version$-effort-controllers
$ sudo apt-get install ros-$version$-position-controllers 

3、问题2

Controller Spawner couldn’t find the expected controller_manager ROS interface

4、问题2解决

sudo apt-get install ros-kinetic-gazebo-ros-control

三、gazebo界面打不开

gazebo打开一直是这种状态或者黑屏,是因为model库加载不正确导致的
在这里插入图片描述

解决

$ cd ~/.gazebo/
$ mkdir -p models
$ cd ~/.gazebo/models/
$ wget http://file.ncnynl.com/ros/gazebo_models.txt
$ wget -i gazebo_models.txt
$ ls model.tar.g* | xargs -n1 tar xzvf

将所有的模型下载到根目录下。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

这是一个图像

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值