【MoveIt!和Gazebo】Failed to validate trajectory: couldn't receive full current joint state

在配置MoveIt!和Gazebo进行抓取仿真时遇到轨迹执行失败的问题,错误提示为'Failed to validate trajectory: couldn't receive full current joint state within 1s'。通过查阅资料发现,解决方案是在launch文件中添加节点,使得move_group能订阅到Gazebo发布的JointStates。原因在于MoveIt!的轨迹执行管理器需要访问到机器人(模拟)的JointStates信息,而move_group订阅的主题与Gazebo发布的话题不匹配。
摘要由CSDN通过智能技术生成

参考:
1. https://answers.ros.org/question/252114/failed-to-validate-trajectory-couldnt-receive-full-current-joint-state-within-1s-error/

今天在配置MoveIt!和Gazebo做抓取仿真的时候遇到了一个奇怪的问题,配置好之后moveit!规划的路径无法执行,terminal显示:

Failed to validate trajectory: couldn't receive full current joint state within 1s error

Google了一圈找到了解决方案:
只需要在launch file(我的起名叫ur10_robotiq_bringup_moveit.launch)里添加:

<node name="joint_state_publisher" <
  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值