Skip to content

Commit cf4e182

Browse files
timobktcjue
authored andcommitted
Add M-20iD/25 with opw config
* M-20iD/25: fix j3 limits, remove unused mesh * M-20iD/25: fix M-20iB mentions * Version 0.6.0: remove --inorder
1 parent d8f42bd commit cf4e182

26 files changed

Lines changed: 414 additions & 0 deletions

fanuc_m20id_support/CMakeLists.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
cmake_minimum_required(VERSION 3.0.2)
2+
3+
project(fanuc_m20id_support)
4+
5+
find_package(catkin REQUIRED)
6+
7+
catkin_package()
8+
9+
if (CATKIN_ENABLE_TESTING)
10+
find_package(roslaunch REQUIRED)
11+
roslaunch_add_file_check(tests/roslaunch_test_m20id25.xml)
12+
endif()
13+
14+
install(DIRECTORY config launch meshes urdf
15+
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
16+
17+
install(FILES readme.md DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
controller_joint_names: ['joint_1', 'joint_2', 'joint_3', 'joint_4', 'joint_5', 'joint_6']
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# Parameters for use with IK solvers which support OPW (Ortho-Parallel Wrist)
3+
# kinematic configurations, as described in the paper "An Analytical Solution
4+
# of the Inverse Kinematics Problem of Industrial Serial Manipulators with an
5+
# Ortho-parallel Basis and a Spherical Wrist" by Mathias Brandstötter, Arthur
6+
# Angerer, and Michael Hofbaur (Proceedings of the Austrian Robotics Workshop
7+
# 2014, 22-23 May, 2014, Linz, Austria).
8+
#
9+
# The moveit_opw_kinematics_plugin package provides such a solver.
10+
#
11+
opw_kinematics_geometric_parameters:
12+
a1: 0.075
13+
a2: -0.215
14+
b: 0.0
15+
c1: 0.425
16+
c2: 0.84
17+
c3: 0.89
18+
c4: 0.09
19+
20+
opw_kinematics_joint_offsets: [0.0, 0.0, deg(-90.0), 0.0, 0.0, 0.0]
21+
opw_kinematics_joint_sign_corrections: [1, 1, -1, -1, -1, -1]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0"?>
2+
<launch>
3+
<param name="robot_description" command="$(find xacro)/xacro '$(find fanuc_m20id_support)/urdf/m20id25.xacro'" />
4+
</launch>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Manipulator specific version of 'robot_interface_streaming.launch'.
4+
5+
Defaults provided for M-20iD/25:
6+
- J23_factor = 1
7+
- use_bswap = true
8+
- 6 joints
9+
10+
Usage:
11+
robot_interface_streaming_m20id25.launch robot_ip:=<value>
12+
-->
13+
<launch>
14+
<arg name="robot_ip" doc="IP of controller" />
15+
<arg name="J23_factor" default="1" doc="Compensation factor for joint 2-3 coupling (-1, 0 or 1)" />
16+
<arg name="use_bswap" default="true" doc="If true, robot driver will byte-swap all incoming and outgoing data" />
17+
18+
<rosparam command="load" file="$(find fanuc_m20id_support)/config/joint_names_m20id25.yaml" />
19+
20+
<include file="$(find fanuc_driver)/launch/robot_interface_streaming.launch">
21+
<arg name="robot_ip" value="$(arg robot_ip)" />
22+
<arg name="J23_factor" value="$(arg J23_factor)" />
23+
<arg name="use_bswap" value="$(arg use_bswap)" />
24+
</include>
25+
</launch>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Manipulator specific version of the state visualizer.
4+
5+
Defaults provided for M-20iD/25:
6+
- J23_factor = 1
7+
- use_bswap = true
8+
- 6 joints
9+
10+
Usage:
11+
robot_state_visualize_m20id25.launch robot_ip:=<value>
12+
-->
13+
<launch>
14+
<arg name="robot_ip" doc="IP of controller" />
15+
<arg name="J23_factor" default="1" doc="Compensation factor for joint 2-3 coupling (-1, 0 or 1)" />
16+
<arg name="use_bswap" default="true" doc="If true, robot driver will byte-swap all incoming and outgoing data" />
17+
18+
<rosparam command="load" file="$(find fanuc_m20id_support)/config/joint_names_m20id25.yaml" />
19+
20+
<include file="$(find fanuc_driver)/launch/robot_state.launch">
21+
<arg name="robot_ip" value="$(arg robot_ip)" />
22+
<arg name="J23_factor" value="$(arg J23_factor)" />
23+
<arg name="use_bswap" value="$(arg use_bswap)" />
24+
</include>
25+
26+
<node name="robot_state_publisher" pkg="robot_state_publisher"
27+
type="robot_state_publisher" />
28+
29+
<include file="$(find fanuc_m20id_support)/launch/load_m20id25.launch" />
30+
31+
<node name="rviz" pkg="rviz" type="rviz" args="-d $(find industrial_robot_client)/config/robot_state_visualize.rviz" required="true" />
32+
</launch>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<launch>
3+
<include file="$(find fanuc_m20id_support)/launch/load_m20id25.launch" />
4+
<node name="joint_state_publisher_gui" pkg="joint_state_publisher_gui" type="joint_state_publisher_gui" />
5+
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
6+
<node name="rviz" pkg="rviz" type="rviz" args="-d $(find industrial_robot_client)/config/robot_state_visualize.rviz" required="true" />
7+
</launch>
8.87 KB
Binary file not shown.
60.4 KB
Binary file not shown.
136 KB
Binary file not shown.

0 commit comments

Comments
 (0)