ros Moveit学习记录(一) MoveIt Setup Assistant

ros MoveIt Setup Assistant 记录

    • [1. 准备工作](#1. 准备工作)
    • [2. 使用记录](#2. 使用记录)
      • [a. 打开Moveit! Setup Assistant](#a. 打开Moveit! Setup Assistant)
      • [b. *Create New Moveit Configuration* -> 填入`urdf.xacro`的地址](#b. Create New Moveit Configuration -> 填入urdf.xacro的地址)
      • [c. Self-Collisions:全选了即可](#c. Self-Collisions:全选了即可)
      • [d. Define Virtual Joints](#d. Define Virtual Joints)
      • [e. Define Planning Groups](#e. Define Planning Groups)
      • [f. Define Robot Poses](#f. Define Robot Poses)
      • [g. 我的没有 End-Effector,因此`End Effectors`略过。](#g. 我的没有 End-Effector,因此End Effectors略过。)
      • [h. franka panda不需要Add Passive Joints。](#h. franka panda不需要Add Passive Joints。)
      • [i. Controllers](#i. Controllers)
      • [j. Simulation 和 3D Perception 默认即可](#j. Simulation 和 3D Perception 默认即可)
      • [g. Generate Configuration Files](#g. Generate Configuration Files)
    • 结果

最近在学习Moveit。记录一下Moveit Setup Assistant使用过程。

MoveIt Setup Assistant 是一个图形用户界面,用于为任何机器人配置MoveIt使用。它的主要功能是为您的机器人生成Semantic Robot Description Format(SRDF)文件。此外,它还生成其他必要的配置文件,以便与MoveIt pipeline 一起使用。

1. 准备工作

安装moveit (我的ROS版本是 Noetic)

bash 复制代码
sudo apt-get install ros-noetic-moveit

官方的安装有些复杂,应该这样就可以了。

以franka为例,下载它的description,主要包括 URDF文件和franka部件的meshes。

bash 复制代码
sudo apt install ros-noetic-franka-description

新建一个workspace

bash 复制代码
mkdir -p ~/ws_test/src
cd ~/ws_test/src
catkin_init_workspace

2. 使用记录

a. 打开Moveit! Setup Assistant

bash 复制代码
roslaunch moveit_setup_assistant setup_assistant.launch

b. Create New Moveit Configuration -> 填入urdf.xacro的地址

noetic的地址在这里:
/opt/ros/noetic/share/franka_description/robots/panda/panda.urdf.xacro
我的这个默认就没有爪子,后续我会记录爪子的补全过程。

如果找不到可以 find / -name franka_description

c. Self-Collisions:全选了即可

d. Define Virtual Joints

如下图所示

e. Define Planning Groups

f. Define Robot Poses

g. 我的没有 End-Effector,因此End Effectors略过。

h. franka panda不需要Add Passive Joints。

i. Controllers

忘记截图。
Add Controller->命名arm_position_controller-> 选择controller type position_controllers/JointPositionController->Add Planning Group Joints -> Save

j. Simulation 和 3D Perception 默认即可

g. Generate Configuration Files

此处我的地址设置有误,若设为/root/ws_test/src/moveit_test_no_gripper会更好。

结果

可以看到ws_test下生成了文件夹

此时运行rviz会出错

bash 复制代码
roslaunch moveit_setup_assistant setup_assistant.launch

moveit_test_no_gripper移到srccatkin_buildsource devel/setup.bash再次运行就可以成功了。

相关推荐
黑马水牛1 天前
Carla仿真系列:9_Carla 单目障碍物测距,四种方法原理与实测
经验分享·python·深度学习·计算机视觉·ros·传感器·carla仿真
火车站卖橘子6 天前
Mac搭建ROS初始环境
ros
M-Robots echo6 天前
轻量化裁剪方案解析:M-Robots 模块化构建,适配高低端各类机器人硬件平台
java·机器人·ros·开源社区·atomgit·m-robots
M-Robots echo7 天前
安全机制架构解析:M-Robots 分层安全体系,筑牢机器人设备运行底座
机器人·ros·鸿蒙·开源社区·m-robots
M-Robots echo8 天前
驱动抽象层解析:标准化硬件接口,解决机器人硬件碎片化适配难题
人工智能·机器人·ros·开源社区·m-robots
M-Robots echo8 天前
M-CLAW,面向具身智能的机器人任务编排开发框架
机器人·ros·鸿蒙·开源社区·m-robots
M-Robots echo8 天前
王成录:机器人产业下一个十年,拼的是 “系统级智能化” 而非单点算法堆叠
机器人·ros·鸿蒙·开源社区·m-robots·王成录
M-Robots echo9 天前
M-Robots ROS 兼容适配方案,实现存量机器人项目低成本迁移
机器人·ros·鸿蒙·开源社区·m-robots
M-Robots echo10 天前
王成录:黑客松不只是赛事,是开源机器人生态快速试错、挖掘创新的试验场
机器人·ros·鸿蒙·具身智能·开源社区·m-robots
M-Robots echo12 天前
王成录:分布式软总线是 M-Robots 实现群体智能的技术内核
机器人·ros·鸿蒙·开源社区·m-robots