Skip to content

Commit b7fc591

Browse files
Add ikfast plugin for Kuka cybertech kr16 r1610
1 parent f79a31f commit b7fc591

36 files changed

+13107
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
moveit_setup_assistant_config:
2+
URDF:
3+
package: kuka_cybertech_kr16_r1610_support
4+
relative_path: urdf/kr16_r1610.urdf
5+
xacro_args: "--inorder "
6+
SRDF:
7+
relative_path: config/kuka_kr16_r1610.srdf
8+
CONFIG:
9+
author_name: Simon Schmeißer
10+
author_email: simon.schmeisser@isys-vision.de
11+
generated_timestamp: 1537538591
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(kuka_cybertech_kr16_r1610_moveit_config)
3+
4+
find_package(catkin REQUIRED)
5+
6+
catkin_package()
7+
8+
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
9+
PATTERN "setup_assistant.launch" EXCLUDE)
10+
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
controller_list:
2+
- name: ""
3+
action_ns: joint_trajectory_action
4+
type: FollowJointTrajectory
5+
joints: [joint_a1, joint_a2, joint_a3, joint_a4, joint_a5, joint_a6]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
controller_list:
2+
- name: fake_manipulator_controller
3+
joints:
4+
[]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# joint_limits.yaml allows the dynamics properties specified in the URDF to be overwritten or augmented as needed
2+
# Specific joint properties can be changed with the keys [max_position, min_position, max_velocity, max_acceleration]
3+
# Joint limits can be turned off with [has_velocity_limits, has_acceleration_limits]
4+
joint_limits:
5+
{}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
manipulator:
2+
kinematics_solver: kuka_cybertech_kr16_r1610_manipulator_kinematics/IKFastKinematicsPlugin
3+
kinematics_solver_attempts: 3
4+
kinematics_solver_search_resolution: 0.005
5+
kinematics_solver_timeout: 0.005
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" ?>
2+
<!--This does not replace URDF, and is not an extension of URDF.
3+
This is a format for representing semantic information about the robot structure.
4+
A URDF file must exist for this robot as well, where the joints and the links that are referenced are defined
5+
-->
6+
<robot name="kuka_cybertech_kr16_r1610">
7+
<!--GROUPS: Representation of a set of joints and links. This can be useful for specifying DOF to plan for, defining arms, end effectors, etc-->
8+
<!--LINKS: When a link is specified, the parent joint of that link (if it exists) is automatically included-->
9+
<!--JOINTS: When a joint is specified, the child link of that joint (which will always exist) is automatically included-->
10+
<!--CHAINS: When a chain is specified, all the links along the chain (including endpoints) are included in the group. Additionally, all the joints that are parents to included links are also included. This means that joints along the chain and the parent joint of the base link are included in the group-->
11+
<!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
12+
<group name="manipulator">
13+
<link name="base_link" />
14+
<link name="tool0" />
15+
</group>
16+
<!--VIRTUAL JOINT: Purpose: this element defines a virtual joint between a robot link and an external frame of reference (considered fixed with respect to the robot)-->
17+
<virtual_joint name="virtual_joint" type="fixed" parent_frame="world" child_link="base_link" />
18+
<!--DISABLE COLLISIONS: By default it is assumed that any link of the robot could potentially come into collision with any other link in the robot. This tag disables collision checking between a specified pair of links. -->
19+
<disable_collisions link1="base_link" link2="link_1" reason="Adjacent" />
20+
<disable_collisions link1="link_1" link2="link_2" reason="Adjacent" />
21+
<disable_collisions link1="link_2" link2="link_3" reason="Adjacent" />
22+
<disable_collisions link1="link_3" link2="link_4" reason="Adjacent" />
23+
<disable_collisions link1="link_3" link2="link_5" reason="Never" />
24+
<disable_collisions link1="link_3" link2="link_6" reason="Never" />
25+
<disable_collisions link1="link_4" link2="link_5" reason="Adjacent" />
26+
<disable_collisions link1="link_4" link2="link_6" reason="Never" />
27+
<disable_collisions link1="link_5" link2="link_6" reason="Adjacent" />
28+
</robot>
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
planner_configs:
2+
SBL:
3+
type: geometric::SBL
4+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
5+
EST:
6+
type: geometric::EST
7+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0 setup()
8+
goal_bias: 0.05 # When close to goal select goal, with this probability. default: 0.05
9+
LBKPIECE:
10+
type: geometric::LBKPIECE
11+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
12+
border_fraction: 0.9 # Fraction of time focused on boarder default: 0.9
13+
min_valid_path_fraction: 0.5 # Accept partially valid moves above fraction. default: 0.5
14+
BKPIECE:
15+
type: geometric::BKPIECE
16+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
17+
border_fraction: 0.9 # Fraction of time focused on boarder default: 0.9
18+
failed_expansion_score_factor: 0.5 # When extending motion fails, scale score by factor. default: 0.5
19+
min_valid_path_fraction: 0.5 # Accept partially valid moves above fraction. default: 0.5
20+
KPIECE:
21+
type: geometric::KPIECE
22+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
23+
goal_bias: 0.05 # When close to goal select goal, with this probability. default: 0.05
24+
border_fraction: 0.9 # Fraction of time focused on boarder default: 0.9 (0.0,1.]
25+
failed_expansion_score_factor: 0.5 # When extending motion fails, scale score by factor. default: 0.5
26+
min_valid_path_fraction: 0.5 # Accept partially valid moves above fraction. default: 0.5
27+
RRT:
28+
type: geometric::RRT
29+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
30+
goal_bias: 0.05 # When close to goal select goal, with this probability? default: 0.05
31+
RRTConnect:
32+
type: geometric::RRTConnect
33+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
34+
RRTstar:
35+
type: geometric::RRTstar
36+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
37+
goal_bias: 0.05 # When close to goal select goal, with this probability? default: 0.05
38+
delay_collision_checking: 1 # Stop collision checking as soon as C-free parent found. default 1
39+
TRRT:
40+
type: geometric::TRRT
41+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
42+
goal_bias: 0.05 # When close to goal select goal, with this probability? default: 0.05
43+
max_states_failed: 10 # when to start increasing temp. default: 10
44+
temp_change_factor: 2.0 # how much to increase or decrease temp. default: 2.0
45+
min_temperature: 10e-10 # lower limit of temp change. default: 10e-10
46+
init_temperature: 10e-6 # initial temperature. default: 10e-6
47+
frountier_threshold: 0.0 # dist new state to nearest neighbor to disqualify as frontier. default: 0.0 set in setup()
48+
frountierNodeRatio: 0.1 # 1/10, or 1 nonfrontier for every 10 frontier. default: 0.1
49+
k_constant: 0.0 # value used to normalize expresssion. default: 0.0 set in setup()
50+
PRM:
51+
type: geometric::PRM
52+
max_nearest_neighbors: 10 # use k nearest neighbors. default: 10
53+
PRMstar:
54+
type: geometric::PRMstar
55+
FMT:
56+
type: geometric::FMT
57+
num_samples: 1000 # number of states that the planner should sample. default: 1000
58+
radius_multiplier: 1.1 # multiplier used for the nearest neighbors search radius. default: 1.1
59+
nearest_k: 1 # use Knearest strategy. default: 1
60+
cache_cc: 1 # use collision checking cache. default: 1
61+
heuristics: 0 # activate cost to go heuristics. default: 0
62+
extended_fmt: 1 # activate the extended FMT*: adding new samples if planner does not finish successfully. default: 1
63+
BFMT:
64+
type: geometric::BFMT
65+
num_samples: 1000 # number of states that the planner should sample. default: 1000
66+
radius_multiplier: 1.0 # multiplier used for the nearest neighbors search radius. default: 1.0
67+
nearest_k: 1 # use the Knearest strategy. default: 1
68+
balanced: 0 # exploration strategy: balanced true expands one tree every iteration. False will select the tree with lowest maximum cost to go. default: 1
69+
optimality: 1 # termination strategy: optimality true finishes when the best possible path is found. Otherwise, the algorithm will finish when the first feasible path is found. default: 1
70+
heuristics: 1 # activates cost to go heuristics. default: 1
71+
cache_cc: 1 # use the collision checking cache. default: 1
72+
extended_fmt: 1 # Activates the extended FMT*: adding new samples if planner does not finish successfully. default: 1
73+
PDST:
74+
type: geometric::PDST
75+
STRIDE:
76+
type: geometric::STRIDE
77+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
78+
goal_bias: 0.05 # When close to goal select goal, with this probability. default: 0.05
79+
use_projected_distance: 0 # whether nearest neighbors are computed based on distances in a projection of the state rather distances in the state space itself. default: 0
80+
degree: 16 # desired degree of a node in the Geometric Near-neightbor Access Tree (GNAT). default: 16
81+
max_degree: 18 # max degree of a node in the GNAT. default: 12
82+
min_degree: 12 # min degree of a node in the GNAT. default: 12
83+
max_pts_per_leaf: 6 # max points per leaf in the GNAT. default: 6
84+
estimated_dimension: 0.0 # estimated dimension of the free space. default: 0.0
85+
min_valid_path_fraction: 0.2 # Accept partially valid moves above fraction. default: 0.2
86+
BiTRRT:
87+
type: geometric::BiTRRT
88+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
89+
temp_change_factor: 0.1 # how much to increase or decrease temp. default: 0.1
90+
init_temperature: 100 # initial temperature. default: 100
91+
frountier_threshold: 0.0 # dist new state to nearest neighbor to disqualify as frontier. default: 0.0 set in setup()
92+
frountier_node_ratio: 0.1 # 1/10, or 1 nonfrontier for every 10 frontier. default: 0.1
93+
cost_threshold: 1e300 # the cost threshold. Any motion cost that is not better will not be expanded. default: inf
94+
LBTRRT:
95+
type: geometric::LBTRRT
96+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
97+
goal_bias: 0.05 # When close to goal select goal, with this probability. default: 0.05
98+
epsilon: 0.4 # optimality approximation factor. default: 0.4
99+
BiEST:
100+
type: geometric::BiEST
101+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
102+
ProjEST:
103+
type: geometric::ProjEST
104+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
105+
goal_bias: 0.05 # When close to goal select goal, with this probability. default: 0.05
106+
LazyPRM:
107+
type: geometric::LazyPRM
108+
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
109+
LazyPRMstar:
110+
type: geometric::LazyPRMstar
111+
SPARS:
112+
type: geometric::SPARS
113+
stretch_factor: 3.0 # roadmap spanner stretch factor. multiplicative upper bound on path quality. It does not make sense to make this parameter more than 3. default: 3.0
114+
sparse_delta_fraction: 0.25 # delta fraction for connection distance. This value represents the visibility range of sparse samples. default: 0.25
115+
dense_delta_fraction: 0.001 # delta fraction for interface detection. default: 0.001
116+
max_failures: 1000 # maximum consecutive failure limit. default: 1000
117+
SPARStwo:
118+
type: geometric::SPARStwo
119+
stretch_factor: 3.0 # roadmap spanner stretch factor. multiplicative upper bound on path quality. It does not make sense to make this parameter more than 3. default: 3.0
120+
sparse_delta_fraction: 0.25 # delta fraction for connection distance. This value represents the visibility range of sparse samples. default: 0.25
121+
dense_delta_fraction: 0.001 # delta fraction for interface detection. default: 0.001
122+
max_failures: 5000 # maximum consecutive failure limit. default: 5000
123+
manipulator:
124+
default_planner_config: RRTConnectkConfigDefault
125+
planner_configs:
126+
- SBLkConfigDefault
127+
- ESTkConfigDefault
128+
- LBKPIECEkConfigDefault
129+
- BKPIECEkConfigDefault
130+
- KPIECEkConfigDefault
131+
- RRTkConfigDefault
132+
- RRTConnectkConfigDefault
133+
- RRTstarkConfigDefault
134+
- TRRTkConfigDefault
135+
- PRMkConfigDefault
136+
- PRMstarkConfigDefault
137+
- FMTkConfigDefault
138+
- BFMTkConfigDefault
139+
- PDSTkConfigDefault
140+
- STRIDEkConfigDefault
141+
- BiTRRTkConfigDefault
142+
- LBTRRTkConfigDefault
143+
- BiESTkConfigDefault
144+
- ProjESTkConfigDefault
145+
- LazyPRMkConfigDefault
146+
- LazyPRMstarkConfigDefault
147+
- SPARSkConfigDefault
148+
- SPARStwokConfigDefault
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
kuka_kr16_r1610:
2+
# MoveIt-specific simulation settings
3+
moveit_sim_hw_interface:
4+
joint_model_group: controllers_initial_group_
5+
joint_model_group_pose: controllers_initial_pose_
6+
# Settings for ros_control control loop
7+
generic_hw_control_loop:
8+
loop_hz: 300
9+
cycle_time_error_threshold: 0.01
10+
# Settings for ros_control hardware interface
11+
hardware_interface:
12+
joints:
13+
- joint_a1
14+
- joint_a2
15+
- joint_a3
16+
- joint_a4
17+
- joint_a5
18+
- joint_a6
19+
sim_control_mode: 1 # 0: position, 1: velocity
20+
# Publish all joint states
21+
# Creates the /joint_states topic necessary in ROS
22+
joint_state_controller:
23+
type: joint_state_controller/JointStateController
24+
publish_rate: 50
25+
controller_list:
26+
[]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<launch>
2+
3+
<arg name="reset" default="false"/>
4+
<!-- If not specified, we'll use a default database location -->
5+
<arg name="moveit_warehouse_database_path" default="$(find kuka_cybertech_kr16_r1610_moveit_config)/default_warehouse_mongo_db" />
6+
7+
<!-- Launch the warehouse with the configured database location -->
8+
<include file="$(find kuka_cybertech_kr16_r1610_moveit_config)/launch/warehouse.launch">
9+
<arg name="moveit_warehouse_database_path" value="$(arg moveit_warehouse_database_path)" />
10+
</include>
11+
12+
<!-- If we want to reset the database, run this node -->
13+
<node if="$(arg reset)" name="$(anon moveit_default_db_reset)" type="moveit_init_demo_warehouse" pkg="moveit_ros_warehouse" respawn="false" output="screen" />
14+
15+
</launch>

0 commit comments

Comments
 (0)