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即可

相关推荐
索迪迈科技5 小时前
INDEMIND亮相2025科技创变者大会,以机器人空间智能技术解锁具身智能新边界
人工智能·机器人·扫地机器人·空间智能·陪伴机器人
沫儿笙5 小时前
FANUC发那科焊接机器人铝材焊接节气
人工智能·机器人
zskj_qcxjqr6 小时前
告别传统繁琐!七彩喜艾灸机器人:一键开启智能养生新时代
大数据·人工智能·科技·机器人
ytttr8737 小时前
设计UIUC SE 423机电一体化的机器人
机器人
RPAdaren8 小时前
怎么选适合企业的RPA财务机器人?
机器人·rpa
南山二毛8 小时前
机器人控制器开发(部署——软件打包备份更新)
机器人·状态模式
星马梦缘9 小时前
Matlab机器人工具箱使用5 轨迹规划
matlab·机器人·轨迹规划·空间插值
大任视点11 小时前
福莱新材:机器人产业爆发,电子皮肤产能加速释放
机器人
nenchoumi311913 小时前
全网首发!Realsense 全新 D555 相机开箱记录与 D435i、L515、D456 横向测评!
数码相机·计算机视觉·机器人·ros·realsense
工控小楠15 小时前
稳联技术EthernetIP转ModbusTCP网关连接发那科机器人与三菱PLC的集成方案
机器人·ethernet·modbus