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

相关推荐
万俟淋曦16 小时前
【论文速递】2025年第44周(Oct-26-Nov-01)(Robotics/Embodied AI/LLM)
人工智能·深度学习·ai·机器人·论文·具身智能·robotic
xwz小王子20 小时前
Science Robotics 约翰斯・霍普金斯大学的科研团队开发出基于深度学习的机器人自主视网膜静脉插管系统
深度学习·机器人·团队开发
Macbethad20 小时前
ROS机器人导航系统技术报告
机器人
万俟淋曦21 小时前
【论文速递】2025年第43周(Oct-19-25)(Robotics/Embodied AI/LLM)
人工智能·深度学习·机器学习·机器人·论文·具身智能·robotic
心无旁骛~1 天前
[SO101]在Jetson AGX Thor 上训练和部署GROOT N1.5模型
python·机器人
万俟淋曦1 天前
【TextIn大模型加速器 + 火山引擎】赋能机器人行业分析与VLA研究
人工智能·机器人·火山引擎·robot·具身智能·coze·textln
渡我白衣1 天前
数据是燃料:理解数据类型、质量评估与基本预处理
人工智能·深度学习·神经网络·机器学习·自然语言处理·机器人·caffe
Deepoch1 天前
智能清洁新纪元:Deepoc开发板如何重塑扫地机器人的“大脑“
人工智能·机器人·清洁机器人·具身模型·deepoc
EEPI2 天前
[WIP] 机器人领域的一些Key insights
机器人
云飞云共享云桌面2 天前
河北某机器人工厂8个研发设计共享一台SolidWorks云主机
运维·服务器·网络·数据库·算法·性能优化·机器人