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

相关推荐
Deepoch4 小时前
中秋国庆双节餐饮零售破局!Deepoc 具身模型外拓板打造 “假日智能运营新范式
科技·机器人·人机交互·具身智能
同元软控9 小时前
首批CCF教学案例大赛资源上线:涵盖控制仿真、算法与机器人等9大方向
算法·机器人·工业软件·mworks
xwz小王子9 小时前
Nature 正刊:美国麻省理工学院团队开发了多模态机器人平台加速多元素催化剂的发现与优化
机器人·团队开发
施努卡机器视觉11 小时前
SNK施努卡汽车一体式天幕生产线
运维·机器人·自动化
沫儿笙11 小时前
NACHI那智焊接机器人智能气阀
人工智能·机器人
互联科技报11 小时前
企业接待机器人知识库如何分钟级构建
机器人
root_dream11 小时前
树莓派实现的自动垃圾(纸团)回收机器人
机器人
Deepoch11 小时前
Deepoc具身模型外拓板:重塑居家服务机器人的交互革命
科技·机器人·人机交互·具身智能
武子康13 小时前
AI-调查研究-90-具身智能 机器人数据采集与通信中间件全面解析:ROS/ROS2、LCM 与工业总线对比
人工智能·ai·中间件·机器人·职场发展·个人开发·具身智能
赤壁淘沙16 小时前
机器人控制利器:MPC入门与实践解析
数学建模·机器人