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

相关推荐
这张生成的图像能检测吗1 天前
(论文速读)一种基于双目视觉的机器人螺纹装配预对准姿态估计方法
人工智能·计算机视觉·机器人·手眼标定·位姿估计·双目视觉·螺纹装配
学术小白人1 天前
【落幕通知】2025年能源互联网与电气工程国际学术会议(EIEE 2025)在大连圆满闭幕
大数据·人工智能·机器人·能源·信号处理·rdlink研发家
科普瑞传感仪器1 天前
基于六维力传感器的机器人柔性装配,如何提升发动机零部件装配质量?
java·前端·人工智能·机器人·无人机
龙亘川1 天前
2025 年中国养老机器人行业全景分析:技术演进、市场格局与商业化路径
大数据·人工智能·机器人
捷米特网关模块通讯1 天前
DeviceNet主站转ProfiNet热插拔网关:西门子1500在线更换焊接机器人I/O不停产
机器人·数据采集·西门子plc·工业自动化·物联网网关·网关模块
yoyo君~1 天前
深入理解PX4飞控系统:多线程并发、原子操作与单例模式完全指南
学习·单例模式·机器人·无人机
沫儿笙1 天前
柯马弧焊机器人气流智能调节
人工智能·物联网·机器人
TMT星球1 天前
曹操出行携手越疆科技共同拓展机器人技术的应用场景和应用能力
人工智能·科技·机器人
·s.*1 天前
So-arm 101机械臂训练搭建全流程
linux·ubuntu·机器人
铮铭2 天前
扩散模型简介:The Annotated Diffusion Model
人工智能·机器人·强化学习·世界模型