【问题记录】可视化带有夹持器的机器人模型

文件来源UR3+robotip

roslaunch ur3_description display_with_gripper_hande.launch ur_robot:=ur5e

[ WARN] [1677555004.276034298]: The 'state_publisher' executable is deprecated. Please use 'robot_state_publisher' instead

解决办法

找到‘state_publisher’并用‘robot_state_publisher’去代替它。

文件位置:display_with_gripper_hande.launch

打开后修改其中的文件:把‘state_publisher’改为‘robot_state_publisher’

参考

http://t.csdn.cn/Jdisr

[WARN] [1677555004.695668]: The 'use_gui' parameter was specified, which is deprecated. We'll attempt to find and run the GUI, but if this fails you should install the 'joint_state_publisher_gui' package instead and run that. This backwards compatibility option will be removed in Noetic.

解决办法

需要修改运行joint_state_publisher节点,发布机器人的关节状态 的代码,

原来代码是<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" />

修改后是 <node name="joint_state_publisher_gui" pkg="joint_state_publisher_gui" type="joint_state_publisher_gui" />

然后在source一下setup.bash,运行launch文件,就可以出现一个gui和rviz界面,rviz显示的是创建好的机器人模型.如下图所示

source ./devel/setup.bash
roslaunch ur3_description display_with_gripper_hande.launch ur_robot:=ur5e

参考

http://t.csdn.cn/24D5a

文件解锁

sudo chmod -R 777 【文件路径】

参考

http://t.csdn.cn/MWByf

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值