moveit2配置之后,可以规划不能执行

使用moveit2配置助手配置之后,自动生成的pkg

启动:

ros2 launch abc_moveit_config demo.launch.py

问题:只能规划,不能执行。

主要修改两处

1. joint_limits.yaml

把所有整数修改为带小数点。max_acceleration不为0。 例如:

cpp 复制代码
joint_limits:
  left_joint_1:
    has_velocity_limits: true
    max_velocity: 3.1415926535897931
    has_acceleration_limits: false
    max_acceleration: 1.0
  left_joint_2:
    has_velocity_limits: true
    max_velocity: 3.1415926535897931
    has_acceleration_limits: false
    max_acceleration: 1.0

2. moveit_controllers.yaml

moveit2自动生成的不对,需要修改,如下:

cpp 复制代码
# MoveIt uses this configuration for controller management

moveit_controller_manager: moveit_simple_controller_manager/MoveItSimpleControllerManager

moveit_simple_controller_manager:
  controller_names:
    - left_arm_controller
    - right_arm_controller

  left_arm_controller:
    type: FollowJointTrajectory
    action_ns: follow_joint_trajectory
    default: true
    joints:
      - left_joint_1
      - left_joint_2
      - left_joint_3
      - left_joint_4
      - left_joint_5
      - left_joint_6
      - left_joint_7
      - left_joint_8
  right_arm_controller:
    type: FollowJointTrajectory
    action_ns: follow_joint_trajectory
    default: false
    joints:
      - right_joint_1
      - right_joint_2
      - right_joint_3
      - right_joint_4
      - right_joint_5
      - right_joint_6
      - right_joint_7
      - right_joint_8

最后再运行demo.launch.py即可

相关推荐
茯苓gao1 天前
嵌入式开发笔记:工业机器人通信协议深度解析——从现场总线到工业以太网
笔记·嵌入式硬件·学习·机器人·信息与通信
鲁邦通物联网1 天前
基于GPIO与高频滤波的状态机:非侵入式机器人梯控精准平层判定实现
机器人·巡检机器人·机器人梯控·agv梯控·非侵入式采集·机器人乘梯·机器人自主乘梯
牛哥带你学代码1 天前
VLA 与机器人基础模型:具身智能的下一代操作系统
人工智能·机器人
code_pgf1 天前
大模型赋能家庭服务机器人的场景适应性分析
大数据·人工智能·机器人
深度森林2 天前
机器人领域“工业机械臂”高价值专利案例:一种工业机器人智能分拣方法
机器人·工业机械臂
XMan_Liu2 天前
AI聊天机器人架构学习
人工智能·架构·机器人
田里的水稻2 天前
EP_XML\JSON配置文件和YAML
xml·运维·人工智能·机器人·自动驾驶·json
深圳慧闻智造技术有限公司2 天前
机器人精密传动零件加工精度控制方法与实践指南
机器人·精密零件加工·精密机械加工
2501_941982052 天前
企业微信私域流量运营:如何利用RPA技术构建高效的社群自动化管理系统
大数据·人工智能·机器人·自动化·企业微信·rpa