-
Notifications
You must be signed in to change notification settings - Fork 10
Moveit launch setup
Yijiang Huang edited this page Mar 19, 2018
·
3 revisions
After we generate moveit pkg + ikfast plugin for our robot, we need to change a few places in the moveit launch file to make it work with Choreo, the files include:
(modify) launch/<your robot>_moveit_controller_manager.launch.xml
(modify) launch/moveit_planning_execution.launch
(add) config/controller.yaml
Optional: (modify) launch/move_group.launch
(remove output="screen" from movegroup)
launch/moveit_planning_execution.launch
check example code.
launch/<your robot>_moveit_controller_manager.launch.xml
:
<launch>
<arg name="moveit_controller_manager"
default="moveit_simple_controller_manager/MoveItSimpleControllerManager"/>
<param name="moveit_controller_manager"
value="$(arg moveit_controller_manager)"/>
<rosparam file="$(find <your robot>_moveit_config)/config/controllers.yaml"/>
</launch>
controller.yaml
:
controller_list:
- name: ""
action_ns: joint_trajectory_action
type: FollowJointTrajectory
joints: [robot_joint_1, robot_joint_2, robot_joint_3, robot_joint_4, robot_joint_5, robot_joint_6]