-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from Danfoa/kinetic-devel
Add CSDA10F robot packages for simulation and robot operation
- Loading branch information
Showing
11 changed files
with
145 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
controller_list: | ||
- name: '' | ||
action_ns: joint_trajectory_action | ||
type: FollowJointTrajectory | ||
joints: [arm_left_joint_1_s, | ||
arm_left_joint_2_l, | ||
arm_left_joint_3_e, | ||
arm_left_joint_4_u, | ||
arm_left_joint_5_r, | ||
arm_left_joint_6_b, | ||
arm_left_joint_7_t, | ||
arm_right_joint_1_s, | ||
arm_right_joint_2_l, | ||
arm_right_joint_3_e, | ||
arm_right_joint_4_u, | ||
arm_right_joint_5_r, | ||
arm_right_joint_6_b, | ||
arm_right_joint_7_t, | ||
torso_joint_b1, | ||
torso_joint_b2] | ||
- name: csda10f/csda10f_r1_controller | ||
action_ns: joint_trajectory_action | ||
type: FollowJointTrajectory | ||
joints: [arm_left_joint_1_s, | ||
arm_left_joint_2_l, | ||
arm_left_joint_3_e, | ||
arm_left_joint_4_u, | ||
arm_left_joint_5_r, | ||
arm_left_joint_6_b, | ||
arm_left_joint_7_t] | ||
- name: csda10f/csda10f_b1_controller | ||
action_ns: joint_trajectory_action | ||
type: FollowJointTrajectory | ||
joints: [torso_joint_b1] | ||
- name: csda10f/csda10f_b2_controller | ||
action_ns: joint_trajectory_action | ||
type: FollowJointTrajectory | ||
joints: [torso_joint_b2] | ||
- name: csda10f/csda10f_r2_controller | ||
action_ns: joint_trajectory_action | ||
type: FollowJointTrajectory | ||
joints: [arm_right_joint_1_s, | ||
arm_right_joint_2_l, | ||
arm_right_joint_3_e, | ||
arm_right_joint_4_u, | ||
arm_right_joint_5_r, | ||
arm_right_joint_6_b, | ||
arm_right_joint_7_t] |
6 changes: 6 additions & 0 deletions
6
motoman_csda10f_moveit_config/launch/motoman_csda10f_moveit_controller_manager.launch.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<launch> | ||
|
||
<!-- Set the param that trajectory_execution_manager needs to find the controller plugin --> | ||
<arg name="moveit_controller_manager" default="moveit_simple_controller_manager/MoveItSimpleControllerManager"/> | ||
<param name="moveit_controller_manager" value="$(arg moveit_controller_manager)"/> | ||
<!-- load controller_list --> | ||
<rosparam file="$(find motoman_csda10f_moveit_config)/config/controllers.yaml"/> | ||
|
||
</launch> |
56 changes: 56 additions & 0 deletions
56
motoman_csda10f_moveit_config/launch/moveit_planning_execution.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<launch> | ||
<!--<env name="ROSCONSOLE_FORMAT" value="[${severity}] [${node}]: ${message}"/> --> | ||
|
||
|
||
<!-- The planning and execution components of MoveIt! configured to run --> | ||
<!-- using the ROS-Industrial interface. --> | ||
<rosparam command="load" file="$(find motoman_csda10f_support)/config/joint_names_csda10f.yaml"/> | ||
|
||
<!-- the "sim" argument controls whether we connect to a Simulated or Real robot --> | ||
<!-- - if sim=false, a robot_ip and controller(fs100|dx100) arguments is required --> | ||
<arg name="sim" default="false" /> | ||
<arg name="robot_enable" default="false" doc="Set to true if you want to enable robot at start"/> | ||
<arg name="robot_ip" unless="$(arg sim)" doc="IP of controller" /> | ||
<arg name="controller" unless="$(arg sim)" default="fs100" doc="Series of the controller (dx100, fs100)" /> | ||
|
||
<!-- load the robot_description parameter before launching ROS-I nodes --> | ||
<include file="$(find motoman_csda10f_moveit_config)/launch/planning_context.launch" > | ||
<arg name="load_robot_description" value="true" /> | ||
</include> | ||
|
||
<!-- run the robot simulator and action interface nodes --> | ||
<group if="$(arg sim)"> | ||
<include file="$(find industrial_robot_simulator)/launch/robot_interface_simulator.launch" /> | ||
</group> | ||
|
||
<!-- run the "real robot" interface nodes --> | ||
<!-- - this typically includes: robot_state, motion_interface, and joint_7_trajectory_action nodes --> | ||
<!-- - replace these calls with appropriate robot-specific calls or launch files --> | ||
<group unless="$(arg sim)"> | ||
<include file="$(find motoman_csda10f_support)/launch/robot_interface_streaming_csda10f.launch" > | ||
<arg name="robot_ip" value="$(arg robot_ip)"/> | ||
<arg name="controller" value="$(arg controller)"/> | ||
</include> | ||
</group> | ||
|
||
<!-- publish the robot state (tf transforms) --> | ||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" /> | ||
|
||
<include file="$(find motoman_csda10f_moveit_config)/launch/move_group.launch"> | ||
<arg name="publish_monitored_planning_scene" value="true"/> | ||
<arg name="fake_execution" if="$(arg sim)" value="true"/> | ||
</include> | ||
|
||
<include file="$(find motoman_csda10f_moveit_config)/launch/moveit_rviz.launch"> | ||
<arg name="config" value="true"/> | ||
</include> | ||
|
||
<!--<include file="$(find motoman_csda10f_moveit_config)/launch/default_warehouse_db.launch" />--> | ||
|
||
<!-- Enable robot if requested --> | ||
<group if="$(arg robot_enable)"> | ||
<include file="$(find motoman_csda10f_support)/launch/robot_enable.launch" /> | ||
</group> | ||
|
||
</launch> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
# Ordering from 0 to 4 is required due to FS100 controller configuration, but it can be that ordering starting from 1 works for you. | ||
topic_list: | ||
- name: csda10f_r1_controller | ||
ns: csda10f | ||
group: 1 | ||
group: 0 | ||
joints: ['arm_left_joint_1_s','arm_left_joint_2_l','arm_left_joint_3_e','arm_left_joint_4_u','arm_left_joint_5_r','arm_left_joint_6_b','arm_left_joint_7_t'] | ||
- name: csda10f_r2_controller | ||
ns: csda10f | ||
group: 2 | ||
group: 1 | ||
joints: ['arm_right_joint_1_s','arm_right_joint_2_l','arm_right_joint_3_e','arm_right_joint_4_u','arm_right_joint_5_r','arm_right_joint_6_b','arm_right_joint_7_t'] | ||
- name: csda10f_b1_controller | ||
ns: csda10f | ||
group: 3 | ||
group: 2 | ||
joints: ['torso_joint_b1'] | ||
- name: csda10f_b2_controller | ||
ns: csda10f | ||
group: 4 | ||
group: 3 | ||
joints: ['torso_joint_b2'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
motoman_csda10f_support/launch/robot_interface_streaming_csda10f.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
|
||
<launch> | ||
<!-- Load robot description --> | ||
<include file="$(find motoman_csda10f_support)/launch/load_csda10f.launch" /> | ||
|
||
<param name="use_gui" value="true" /> | ||
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" /> | ||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" /> | ||
|
||
<!-- Start Rviz--> | ||
<node name="rviz" pkg="rviz" type="rviz" args="-d $(find industrial_robot_client)/config/robot_state_visualize.rviz" required="true" /> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters