-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathload_ur.launch
52 lines (49 loc) · 2.88 KB
/
load_ur.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0"?>
<!-- This file is a copy of "ur_description/launch/load_ur10e.launch".
The file is copied in order to allow us to use a dedicated xacro file
to describe the robot with end effector and sensors. -->
<launch>
<!--ur parameters files -->
<arg name="joint_limit_params"
doc="YAML file containing the joint limit values"
default="$(find ur_description)/config/ur10e/joint_limits.yaml"/>
<arg name="kinematics_params"
doc="YAML file containing the robot's kinematic parameters. These will be different for each robot as they contain the robot's calibration."
default="$(find ur_description)/config/ur10e/default_kinematics.yaml"/>
<arg name="physical_params"
doc="YAML file containing the phycical parameters of the robots"
default="$(find ur_description)/config/ur10e/physical_parameters.yaml"/>
<arg name="visual_params"
doc="YAML file containing the visual model of the robots"
default="$(find ur_description)/config/ur10e/visual_parameters.yaml"/>
<!--common parameters -->
<arg name="transmission_hw_interface" default="hardware_interface/PositionJointInterface" />
<arg name="safety_limits" default="false" doc="If True, enable the safety limits controller"/>
<arg name="safety_pos_margin" default="0.15" doc="The lower/upper limits in the safety controller" />
<arg name="safety_k_position" default="20" doc="Used to set k position in the safety controller" />
<!-- Load the top-level (ie: stand-alone and complete) xacro for the UR
variant defined by the set of yaml parameter files (so to load a UR5
onto the ROS parameter server, provide paths to the .yaml files which
contain the limits, kinematics, physical and visual parameters which
together describe a UR5 robot.
NOTE: users will typically want to use use one of the other .launch files
in this directory (ie: 'load_urXXX.launch'), as those already contain
appropriate default values for the required arguments for the various
supported robots.
NOTE2: if you have a custom robot configuration, or your robot is
integrated into a work cell, do NOT change this file or add all of the
work cell objects to the ur.xacro file. Create a new top-level xacro and
include the ur_macro.xacro file into it. Then write a new .launch file
to load it onto the parameter server.
-->
<param name="robot_description" command="$(find xacro)/xacro '$(find agimus_demos)/ur10/pointing/urdf/robot.urdf.xacro'
joint_limit_params:=$(arg joint_limit_params)
kinematics_params:=$(arg kinematics_params)
physical_params:=$(arg physical_params)
visual_params:=$(arg visual_params)
transmission_hw_interface:=$(arg transmission_hw_interface)
safety_limits:=$(arg safety_limits)
safety_pos_margin:=$(arg safety_pos_margin)
safety_k_position:=$(arg safety_k_position)"
/>
</launch>