Dual arm UR5 connection with universal robot stack
I want to setup a connection between PC and two UR5 arms , but the topic "follow joint tracjetory" cannot be created.The error displayed is "Action client not connected:left_arm_controller/follow_joint_trajectory" and "Action client not connected:right_arm_controller/follow_joint_trajectory" . PS:I use the package "ur_modern_driver" and my ur5 version is CB3.0.
launch file in the "ur_bringup" package:
<launch>
<group ns="left">
<arg name="limited" default="false"/>
<arg name="robot_ip" default="192.168.0.108"/>
<arg name="reverse_port" default="50001"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="5.0"/>
<arg name="prefix" default="left_" />
<include file="$(find ur_bringup)/launch/ur5_left_bringup.launch">
<arg name="limited" value="$(arg limited)"/>
<arg name="robot_ip" value="$(arg robot_ip)"/>
<arg name="reverse_port" value="$(arg reverse_port)"/>
<arg name="min_payload" value="$(arg min_payload)"/>
<arg name="max_payload" value="$(arg max_payload)"/>
<arg name="prefix" value="$(arg prefix)"/>
</include>
</group>
<group ns="right">
<arg name="limited" default="false"/>
<arg name="robot_ip" default="192.168.0.109"/>
<arg name="reverse_port" default="50002"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="5.0"/>
<arg name="prefix" default="right_" />
<include file="$(find ur_bringup)/launch/ur5_right_bringup.launch">
<arg name="limited" value="$(arg limited)"/>
<arg name="robot_ip" value="$(arg robot_ip)"/>
<arg name="reverse_port" value="$(arg reverse_port)"/>
<arg name="min_payload" value="$(arg min_payload)"/>
<arg name="max_payload" value="$(arg max_payload)"/>
<arg name="prefix" value="$(arg prefix)"/>
</include>
</group>
</launch>
controllers.yaml
:
controller_list:
- name: right_arm_controller
action_ns: right_follow_joint_trajectory
type: FollowJointTrajectory
joints:
- right_shoulder_pan_joint
- right_shoulder_lift_joint
- right_elbow_joint
- right_wrist_1_joint
- right_wrist_2_joint
- right_wrist_3_joint
- name: left_arm_controller
action_ns: left_follow_joint_trajectory
type: FollowJointTrajectory
joints:
- left_shoulder_pan_joint
- left_shoulder_lift_joint
- left_elbow_joint
- left_wrist_1_joint
- left_wrist_2_joint
- left_wrist_3_joint