Instructions to use devkumarhf/ur7e-sac-line-following with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use devkumarhf/ur7e-sac-line-following with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="devkumarhf/ur7e-sac-line-following", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
Download ur7e_generated.urdf from devkumarhf/ur7e-sac-line-following: direct link, hf CLI and curl.
- Browser
- Download file 26.8 kB
-
https://huggingface.co/devkumarhf/ur7e-sac-line-following/resolve/main/ur7e_generated.urdf
- Command line
-
hf download hf://devkumarhf/ur7e-sac-line-following/ur7e_generated.urdf
-
curl -L -o ur7e_generated.urdf https://huggingface.co/devkumarhf/ur7e-sac-line-following/resolve/main/ur7e_generated.urdf
26.8 kB
| <!-- =================================================================================== --> | |
| <!-- | This document was autogenerated by xacro from /opt/ros/humble/share/ur_description/urdf/ur.urdf.xacro | --> | |
| <!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | --> | |
| <!-- =================================================================================== --> | |
| <robot name="ur7e"> | |
| <!-- | |
| Base UR robot series xacro macro. | |
| NOTE this is NOT a URDF. It cannot directly be loaded by consumers | |
| expecting a flattened '.urdf' file. See the top-level '.xacro' for that | |
| (but note that .xacro must still be processed by the xacro command). | |
| This file models the base kinematic chain of a UR robot, which then gets | |
| parameterised by various configuration files to convert it into a UR3(e), | |
| UR5(e), UR10(e) or UR16e, etc. | |
| NOTE the default kinematic parameters (i.e., link lengths, frame locations, | |
| offsets, etc) do not correspond to any particular robot. They are defaults | |
| only. There WILL be non-zero offsets between the Forward Kinematics results | |
| in TF (i.e., robot_state_publisher) and the values reported by the Teach | |
| Pendant. | |
| For accurate (and robot-specific) transforms, the 'kinematics_parameters_file' | |
| parameter MUST point to a .yaml file containing the appropriate values for | |
| the targeted robot. | |
| If using the UniversalRobots/Universal_Robots_ROS_Driver, follow the steps | |
| described in the readme of that repository to extract the kinematic | |
| calibration from the controller and generate the required .yaml file. | |
| Main author of the migration to yaml configs Ludovic Delval. | |
| Contributors to previous versions (in no particular order) | |
| - Denis Stogl | |
| - Lovro Ivanov | |
| - Felix Messmer | |
| - Kelsey Hawkins | |
| - Wim Meeussen | |
| - Shaun Edwards | |
| - Nadia Hammoudeh Garcia | |
| - Dave Hershberger | |
| - G. vd. Hoorn | |
| - Philip Long | |
| - Dave Coleman | |
| - Miguel Prada | |
| - Mathias Luedtke | |
| - Marcel Schnirring | |
| - Felix von Drigalski | |
| - Felix Exner | |
| - Jimmy Da Silva | |
| - Ajit Krisshna N L | |
| - Muhammad Asif Rana | |
| --> | |
| <!-- | |
| NOTE the macro defined in this file is NOT part of the public API of this | |
| package. Users CANNOT rely on this file being available, or stored in | |
| this location. Nor can they rely on the existence of the macro. | |
| --> | |
| <!-- create link fixed to the "world" --> | |
| <link name="world"/> | |
| <ros2_control name="ur7e" type="system"> | |
| <hardware> | |
| <plugin>ur_robot_driver/URPositionHardwareInterface</plugin> | |
| <param name="robot_ip">0.0.0.0</param> | |
| <param name="script_filename"></param> | |
| <param name="output_recipe_filename"></param> | |
| <param name="input_recipe_filename"></param> | |
| <param name="headless_mode">False</param> | |
| <param name="reverse_port">50001</param> | |
| <param name="script_sender_port">50002</param> | |
| <param name="reverse_ip">0.0.0.0</param> | |
| <param name="script_command_port">50004</param> | |
| <param name="trajectory_port">50003</param> | |
| <param name="tf_prefix"></param> | |
| <param name="non_blocking_read">True</param> | |
| <param name="servoj_gain">2000</param> | |
| <param name="servoj_lookahead_time">0.03</param> | |
| <param name="use_tool_communication">False</param> | |
| <param name="kinematics/hash">calib_12788084448423163542</param> | |
| <param name="tool_voltage">0</param> | |
| <param name="tool_parity">0</param> | |
| <param name="tool_baud_rate">115200</param> | |
| <param name="tool_stop_bits">1</param> | |
| <param name="tool_rx_idle_chars">1.5</param> | |
| <param name="tool_tx_idle_chars">3.5</param> | |
| <param name="tool_device_name">/tmp/ttyUR</param> | |
| <param name="tool_tcp_port">54321</param> | |
| <param name="keep_alive_count">2</param> | |
| </hardware> | |
| <joint name="shoulder_pan_joint"> | |
| <command_interface name="position"/> | |
| <command_interface name="velocity"/> | |
| <command_interface name="effort"/> | |
| <state_interface name="position"> | |
| <!-- initial position for the FakeSystem and simulation --> | |
| <param name="initial_value">0.0</param> | |
| </state_interface> | |
| <state_interface name="velocity"/> | |
| <state_interface name="effort"/> | |
| </joint> | |
| <joint name="shoulder_lift_joint"> | |
| <command_interface name="position"/> | |
| <command_interface name="velocity"/> | |
| <command_interface name="effort"/> | |
| <state_interface name="position"> | |
| <!-- initial position for the FakeSystem and simulation --> | |
| <param name="initial_value">-1.57</param> | |
| </state_interface> | |
| <state_interface name="velocity"/> | |
| <state_interface name="effort"/> | |
| </joint> | |
| <joint name="elbow_joint"> | |
| <command_interface name="position"/> | |
| <command_interface name="velocity"/> | |
| <command_interface name="effort"/> | |
| <state_interface name="position"> | |
| <!-- initial position for the FakeSystem and simulation --> | |
| <param name="initial_value">0.0</param> | |
| </state_interface> | |
| <state_interface name="velocity"/> | |
| <state_interface name="effort"/> | |
| </joint> | |
| <joint name="wrist_1_joint"> | |
| <command_interface name="position"/> | |
| <command_interface name="velocity"/> | |
| <command_interface name="effort"/> | |
| <state_interface name="position"> | |
| <!-- initial position for the FakeSystem and simulation --> | |
| <param name="initial_value">-1.57</param> | |
| </state_interface> | |
| <state_interface name="velocity"/> | |
| <state_interface name="effort"/> | |
| </joint> | |
| <joint name="wrist_2_joint"> | |
| <command_interface name="position"/> | |
| <command_interface name="velocity"/> | |
| <command_interface name="effort"/> | |
| <state_interface name="position"> | |
| <!-- initial position for the FakeSystem and simulation --> | |
| <param name="initial_value">0.0</param> | |
| </state_interface> | |
| <state_interface name="velocity"/> | |
| <state_interface name="effort"/> | |
| </joint> | |
| <joint name="wrist_3_joint"> | |
| <command_interface name="position"/> | |
| <command_interface name="velocity"/> | |
| <command_interface name="effort"/> | |
| <state_interface name="position"> | |
| <!-- initial position for the FakeSystem and simulation --> | |
| <param name="initial_value">0.0</param> | |
| </state_interface> | |
| <state_interface name="velocity"/> | |
| <state_interface name="effort"/> | |
| </joint> | |
| <sensor name="tcp_fts_sensor"> | |
| <state_interface name="force.x"/> | |
| <state_interface name="force.y"/> | |
| <state_interface name="force.z"/> | |
| <state_interface name="torque.x"/> | |
| <state_interface name="torque.y"/> | |
| <state_interface name="torque.z"/> | |
| </sensor> | |
| <sensor name="tcp_pose"> | |
| <state_interface name="position.x"/> | |
| <state_interface name="position.y"/> | |
| <state_interface name="position.z"/> | |
| <state_interface name="orientation.x"/> | |
| <state_interface name="orientation.y"/> | |
| <state_interface name="orientation.z"/> | |
| <state_interface name="orientation.w"/> | |
| </sensor> | |
| <!-- NOTE The following are joints used only for testing with fake hardware and will change in the future --> | |
| <gpio name="speed_scaling"> | |
| <state_interface name="speed_scaling_factor"/> | |
| <param name="initial_speed_scaling_factor">1</param> | |
| <command_interface name="target_speed_fraction_cmd"/> | |
| <command_interface name="target_speed_fraction_async_success"/> | |
| </gpio> | |
| <gpio name="gpio"> | |
| <command_interface name="standard_digital_output_cmd_0"/> | |
| <command_interface name="standard_digital_output_cmd_1"/> | |
| <command_interface name="standard_digital_output_cmd_2"/> | |
| <command_interface name="standard_digital_output_cmd_3"/> | |
| <command_interface name="standard_digital_output_cmd_4"/> | |
| <command_interface name="standard_digital_output_cmd_5"/> | |
| <command_interface name="standard_digital_output_cmd_6"/> | |
| <command_interface name="standard_digital_output_cmd_7"/> | |
| <command_interface name="standard_digital_output_cmd_8"/> | |
| <command_interface name="standard_digital_output_cmd_9"/> | |
| <command_interface name="standard_digital_output_cmd_10"/> | |
| <command_interface name="standard_digital_output_cmd_11"/> | |
| <command_interface name="standard_digital_output_cmd_12"/> | |
| <command_interface name="standard_digital_output_cmd_13"/> | |
| <command_interface name="standard_digital_output_cmd_14"/> | |
| <command_interface name="standard_digital_output_cmd_15"/> | |
| <command_interface name="standard_digital_output_cmd_16"/> | |
| <command_interface name="standard_digital_output_cmd_17"/> | |
| <command_interface name="standard_analog_output_cmd_0"/> | |
| <command_interface name="standard_analog_output_cmd_1"/> | |
| <command_interface name="analog_output_domain_cmd"/> | |
| <command_interface name="tool_voltage_cmd"/> | |
| <command_interface name="io_async_success"/> | |
| <state_interface name="digital_output_0"/> | |
| <state_interface name="digital_output_1"/> | |
| <state_interface name="digital_output_2"/> | |
| <state_interface name="digital_output_3"/> | |
| <state_interface name="digital_output_4"/> | |
| <state_interface name="digital_output_5"/> | |
| <state_interface name="digital_output_6"/> | |
| <state_interface name="digital_output_7"/> | |
| <state_interface name="digital_output_8"/> | |
| <state_interface name="digital_output_9"/> | |
| <state_interface name="digital_output_10"/> | |
| <state_interface name="digital_output_11"/> | |
| <state_interface name="digital_output_12"/> | |
| <state_interface name="digital_output_13"/> | |
| <state_interface name="digital_output_14"/> | |
| <state_interface name="digital_output_15"/> | |
| <state_interface name="digital_output_16"/> | |
| <state_interface name="digital_output_17"/> | |
| <state_interface name="digital_input_0"/> | |
| <state_interface name="digital_input_1"/> | |
| <state_interface name="digital_input_2"/> | |
| <state_interface name="digital_input_3"/> | |
| <state_interface name="digital_input_4"/> | |
| <state_interface name="digital_input_5"/> | |
| <state_interface name="digital_input_6"/> | |
| <state_interface name="digital_input_7"/> | |
| <state_interface name="digital_input_8"/> | |
| <state_interface name="digital_input_9"/> | |
| <state_interface name="digital_input_10"/> | |
| <state_interface name="digital_input_11"/> | |
| <state_interface name="digital_input_12"/> | |
| <state_interface name="digital_input_13"/> | |
| <state_interface name="digital_input_14"/> | |
| <state_interface name="digital_input_15"/> | |
| <state_interface name="digital_input_16"/> | |
| <state_interface name="digital_input_17"/> | |
| <state_interface name="standard_analog_output_0"/> | |
| <state_interface name="standard_analog_output_1"/> | |
| <state_interface name="standard_analog_input_0"/> | |
| <state_interface name="standard_analog_input_1"/> | |
| <state_interface name="analog_io_type_0"/> | |
| <state_interface name="analog_io_type_1"/> | |
| <state_interface name="analog_io_type_2"/> | |
| <state_interface name="analog_io_type_3"/> | |
| <state_interface name="tool_mode"/> | |
| <state_interface name="tool_output_voltage"/> | |
| <state_interface name="tool_output_current"/> | |
| <state_interface name="tool_temperature"/> | |
| <state_interface name="tool_analog_input_0"/> | |
| <state_interface name="tool_analog_input_1"/> | |
| <state_interface name="tool_analog_input_type_0"/> | |
| <state_interface name="tool_analog_input_type_1"/> | |
| <state_interface name="robot_mode"/> | |
| <state_interface name="robot_status_bit_0"/> | |
| <state_interface name="robot_status_bit_1"/> | |
| <state_interface name="robot_status_bit_2"/> | |
| <state_interface name="robot_status_bit_3"/> | |
| <state_interface name="safety_mode"/> | |
| <state_interface name="safety_status_bit_0"/> | |
| <state_interface name="safety_status_bit_1"/> | |
| <state_interface name="safety_status_bit_2"/> | |
| <state_interface name="safety_status_bit_3"/> | |
| <state_interface name="safety_status_bit_4"/> | |
| <state_interface name="safety_status_bit_5"/> | |
| <state_interface name="safety_status_bit_6"/> | |
| <state_interface name="safety_status_bit_7"/> | |
| <state_interface name="safety_status_bit_8"/> | |
| <state_interface name="safety_status_bit_9"/> | |
| <state_interface name="safety_status_bit_10"/> | |
| <state_interface name="program_running"/> | |
| </gpio> | |
| <gpio name="payload"> | |
| <command_interface name="mass"/> | |
| <command_interface name="cog.x"/> | |
| <command_interface name="cog.y"/> | |
| <command_interface name="cog.z"/> | |
| <command_interface name="payload_async_success"/> | |
| </gpio> | |
| <gpio name="friction_model"> | |
| <command_interface name="viscous_0"/> | |
| <command_interface name="viscous_1"/> | |
| <command_interface name="viscous_2"/> | |
| <command_interface name="viscous_3"/> | |
| <command_interface name="viscous_4"/> | |
| <command_interface name="viscous_5"/> | |
| <command_interface name="coulomb_0"/> | |
| <command_interface name="coulomb_1"/> | |
| <command_interface name="coulomb_2"/> | |
| <command_interface name="coulomb_3"/> | |
| <command_interface name="coulomb_4"/> | |
| <command_interface name="coulomb_5"/> | |
| <command_interface name="async_success"/> | |
| </gpio> | |
| <gpio name="resend_robot_program"> | |
| <command_interface name="resend_robot_program_cmd"/> | |
| <command_interface name="resend_robot_program_async_success"/> | |
| </gpio> | |
| <gpio name="hand_back_control"> | |
| <command_interface name="hand_back_control_cmd"/> | |
| <command_interface name="hand_back_control_async_success"/> | |
| </gpio> | |
| <gpio name="zero_ftsensor"> | |
| <command_interface name="zero_ftsensor_cmd"/> | |
| <command_interface name="zero_ftsensor_async_success"/> | |
| </gpio> | |
| <gpio name="freedrive_mode"> | |
| <command_interface name="async_success"/> | |
| <command_interface name="enable"/> | |
| <command_interface name="abort"/> | |
| </gpio> | |
| <gpio name="tool_contact"> | |
| <command_interface name="tool_contact_set_state"/> | |
| <state_interface name="tool_contact_result"/> | |
| <state_interface name="tool_contact_state"/> | |
| </gpio> | |
| <gpio name="system_interface"> | |
| <state_interface name="initialized"/> | |
| </gpio> | |
| <gpio name="force_mode"> | |
| <command_interface name="task_frame_x"/> | |
| <command_interface name="task_frame_y"/> | |
| <command_interface name="task_frame_z"/> | |
| <command_interface name="task_frame_rx"/> | |
| <command_interface name="task_frame_ry"/> | |
| <command_interface name="task_frame_rz"/> | |
| <command_interface name="selection_vector_x"/> | |
| <command_interface name="selection_vector_y"/> | |
| <command_interface name="selection_vector_z"/> | |
| <command_interface name="selection_vector_rx"/> | |
| <command_interface name="selection_vector_ry"/> | |
| <command_interface name="selection_vector_rz"/> | |
| <command_interface name="wrench_x"/> | |
| <command_interface name="wrench_y"/> | |
| <command_interface name="wrench_z"/> | |
| <command_interface name="wrench_rx"/> | |
| <command_interface name="wrench_ry"/> | |
| <command_interface name="wrench_rz"/> | |
| <command_interface name="limits_x"/> | |
| <command_interface name="limits_y"/> | |
| <command_interface name="limits_z"/> | |
| <command_interface name="limits_rx"/> | |
| <command_interface name="limits_ry"/> | |
| <command_interface name="limits_rz"/> | |
| <command_interface name="type"/> | |
| <command_interface name="damping"/> | |
| <command_interface name="gain_scaling"/> | |
| <command_interface name="disable_cmd"/> | |
| <command_interface name="force_mode_async_success"/> | |
| </gpio> | |
| <gpio name="trajectory_passthrough"> | |
| <command_interface name="setpoint_positions_0"/> | |
| <command_interface name="setpoint_positions_1"/> | |
| <command_interface name="setpoint_positions_2"/> | |
| <command_interface name="setpoint_positions_3"/> | |
| <command_interface name="setpoint_positions_4"/> | |
| <command_interface name="setpoint_positions_5"/> | |
| <command_interface name="setpoint_velocities_0"/> | |
| <command_interface name="setpoint_velocities_1"/> | |
| <command_interface name="setpoint_velocities_2"/> | |
| <command_interface name="setpoint_velocities_3"/> | |
| <command_interface name="setpoint_velocities_4"/> | |
| <command_interface name="setpoint_velocities_5"/> | |
| <command_interface name="setpoint_accelerations_0"/> | |
| <command_interface name="setpoint_accelerations_1"/> | |
| <command_interface name="setpoint_accelerations_2"/> | |
| <command_interface name="setpoint_accelerations_3"/> | |
| <command_interface name="setpoint_accelerations_4"/> | |
| <command_interface name="setpoint_accelerations_5"/> | |
| <command_interface name="transfer_state"/> | |
| <command_interface name="time_from_start"/> | |
| <command_interface name="abort"/> | |
| </gpio> | |
| <gpio name="get_robot_software_version"> | |
| <state_interface name="get_version_major"> | |
| <param name="initial_value">1</param> | |
| </state_interface> | |
| <state_interface name="get_version_minor"/> | |
| <state_interface name="get_version_build"/> | |
| <state_interface name="get_version_bugfix"/> | |
| </gpio> | |
| </ros2_control> | |
| <!-- Add URDF transmission elements (for ros_control) --> | |
| <!--<xacro:ur_arm_transmission prefix="${prefix}" hw_interface="${transmission_hw_interface}" />--> | |
| <!-- Placeholder for ros2_control transmission which don't yet exist --> | |
| <!-- links - main serial chain --> | |
| <link name="base_link"/> | |
| <link name="base_link_inertia"> | |
| <visual> | |
| <origin rpy="0 0 3.141592653589793" xyz="0 0 0"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/visual/base.dae"/> | |
| </geometry> | |
| </visual> | |
| <collision> | |
| <origin rpy="0 0 3.141592653589793" xyz="0 0 0"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/collision/base.stl"/> | |
| </geometry> | |
| </collision> | |
| <inertial> | |
| <mass value="4.0"/> | |
| <origin rpy="0 0 0" xyz="0 0 0"/> | |
| <inertia ixx="0.00443333156" ixy="0.0" ixz="0.0" iyy="0.00443333156" iyz="0.0" izz="0.0072"/> | |
| </inertial> | |
| </link> | |
| <link name="shoulder_link"> | |
| <visual> | |
| <origin rpy="0 0 3.141592653589793" xyz="0 0 0"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/visual/shoulder.dae"/> | |
| </geometry> | |
| </visual> | |
| <collision> | |
| <origin rpy="0 0 3.141592653589793" xyz="0 0 0"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/collision/shoulder.stl"/> | |
| </geometry> | |
| </collision> | |
| <inertial> | |
| <mass value="3.761"/> | |
| <origin rpy="1.570796326794897 0 0" xyz="0.0 -0.00193 -0.02561"/> | |
| <inertia ixx="0.0070021" ixy="7.3e-07" ixz="-1.053e-05" iyy="0.00648091" iyz="0.00049994" izz="0.00657286"/> | |
| </inertial> | |
| </link> | |
| <link name="upper_arm_link"> | |
| <visual> | |
| <origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.138"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/visual/upperarm.dae"/> | |
| </geometry> | |
| </visual> | |
| <collision> | |
| <origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.138"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/collision/upperarm.stl"/> | |
| </geometry> | |
| </collision> | |
| <inertial> | |
| <mass value="8.058"/> | |
| <origin rpy="0 0 0" xyz="-0.2125 0.0 0.11336"/> | |
| <inertia ixx="0.01505885" ixy="-5.4e-05" ixz="5.63e-06" iyy="0.33388086" iyz="-1.81e-06" izz="0.33247207"/> | |
| </inertial> | |
| </link> | |
| <link name="forearm_link"> | |
| <visual> | |
| <origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.007"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/visual/forearm.dae"/> | |
| </geometry> | |
| </visual> | |
| <collision> | |
| <origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.007"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/collision/forearm.stl"/> | |
| </geometry> | |
| </collision> | |
| <inertial> | |
| <mass value="2.846"/> | |
| <origin rpy="0 0 0" xyz="-0.2422 0.0 0.0265"/> | |
| <inertia ixx="0.00399632" ixy="-1.365e-05" ixz="0.00137272" iyy="0.07879254" iyz="-6.6e-06" izz="0.0784851"/> | |
| </inertial> | |
| </link> | |
| <link name="wrist_1_link"> | |
| <visual> | |
| <origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.127"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/visual/wrist1.dae"/> | |
| </geometry> | |
| </visual> | |
| <collision> | |
| <origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.127"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/collision/wrist1.stl"/> | |
| </geometry> | |
| </collision> | |
| <inertial> | |
| <mass value="1.37"/> | |
| <origin rpy="1.570796326794897 0 0" xyz="0.0 -0.01634 -0.0018"/> | |
| <inertia ixx="0.00165491" ixy="-2.82e-06" ixz="-4.38e-06" iyy="0.00135962" iyz="0.00010157" izz="0.00126279"/> | |
| </inertial> | |
| </link> | |
| <link name="wrist_2_link"> | |
| <visual> | |
| <origin rpy="0 0 0" xyz="0 0 -0.0997"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/visual/wrist2.dae"/> | |
| </geometry> | |
| </visual> | |
| <collision> | |
| <origin rpy="0 0 0" xyz="0 0 -0.0997"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/collision/wrist2.stl"/> | |
| </geometry> | |
| </collision> | |
| <inertial> | |
| <mass value="1.3"/> | |
| <origin rpy="-1.570796326794897 0 0" xyz="0.0 0.01634 -0.0018"/> | |
| <inertia ixx="0.00135617" ixy="-2.74e-06" ixz="4.44e-06" iyy="0.00127827" iyz="-5.048e-05" izz="0.00096614"/> | |
| </inertial> | |
| </link> | |
| <link name="wrist_3_link"> | |
| <visual> | |
| <origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.0989"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/visual/wrist3.dae"/> | |
| </geometry> | |
| </visual> | |
| <collision> | |
| <origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.0989"/> | |
| <geometry> | |
| <mesh filename="package://ur_description/meshes/ur5e/collision/wrist3.stl"/> | |
| </geometry> | |
| </collision> | |
| <inertial> | |
| <mass value="0.365"/> | |
| <origin rpy="0 0 0" xyz="0.0 0.0 -0.001159"/> | |
| <inertia ixx="0.00018694" ixy="6e-08" ixz="-1.7e-07" iyy="0.00018908" iyz="-9.2e-07" izz="0.00025756"/> | |
| </inertial> | |
| </link> | |
| <!-- base_joint fixes base_link to the environment --> | |
| <joint name="base_joint" type="fixed"> | |
| <origin rpy="0 0 0" xyz="0 0 0"/> | |
| <parent link="world"/> | |
| <child link="base_link"/> | |
| </joint> | |
| <!-- joints - main serial chain --> | |
| <joint name="base_link-base_link_inertia" type="fixed"> | |
| <parent link="base_link"/> | |
| <child link="base_link_inertia"/> | |
| <!-- 'base_link' is REP-103 aligned (so X+ forward), while the internal | |
| frames of the robot/controller have X+ pointing backwards. | |
| Use the joint between 'base_link' and 'base_link_inertia' (a dummy | |
| link/frame) to introduce the necessary rotation over Z (of pi rad). | |
| --> | |
| <origin rpy="0 0 3.141592653589793" xyz="0 0 0"/> | |
| </joint> | |
| <joint name="shoulder_pan_joint" type="revolute"> | |
| <parent link="base_link_inertia"/> | |
| <child link="shoulder_link"/> | |
| <origin rpy="0 0 0" xyz="0 0 0.1625"/> | |
| <axis xyz="0 0 1"/> | |
| <limit effort="150.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/> | |
| <dynamics damping="0" friction="0"/> | |
| </joint> | |
| <joint name="shoulder_lift_joint" type="revolute"> | |
| <parent link="shoulder_link"/> | |
| <child link="upper_arm_link"/> | |
| <origin rpy="1.570796327 0 0" xyz="0 0 0"/> | |
| <axis xyz="0 0 1"/> | |
| <limit effort="150.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/> | |
| <dynamics damping="0" friction="0"/> | |
| </joint> | |
| <joint name="elbow_joint" type="revolute"> | |
| <parent link="upper_arm_link"/> | |
| <child link="forearm_link"/> | |
| <origin rpy="0 0 0" xyz="-0.425 0 0"/> | |
| <axis xyz="0 0 1"/> | |
| <limit effort="150.0" lower="-3.141592653589793" upper="3.141592653589793" velocity="3.141592653589793"/> | |
| <dynamics damping="0" friction="0"/> | |
| </joint> | |
| <joint name="wrist_1_joint" type="revolute"> | |
| <parent link="forearm_link"/> | |
| <child link="wrist_1_link"/> | |
| <origin rpy="0 0 0" xyz="-0.3922 0 0.1333"/> | |
| <axis xyz="0 0 1"/> | |
| <limit effort="28.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/> | |
| <dynamics damping="0" friction="0"/> | |
| </joint> | |
| <joint name="wrist_2_joint" type="revolute"> | |
| <parent link="wrist_1_link"/> | |
| <child link="wrist_2_link"/> | |
| <origin rpy="1.570796327 0 0" xyz="0 -0.0997 -2.044881182297852e-11"/> | |
| <axis xyz="0 0 1"/> | |
| <limit effort="28.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/> | |
| <dynamics damping="0" friction="0"/> | |
| </joint> | |
| <joint name="wrist_3_joint" type="revolute"> | |
| <parent link="wrist_2_link"/> | |
| <child link="wrist_3_link"/> | |
| <origin rpy="1.570796326589793 3.141592653589793 3.141592653589793" xyz="0 0.0996 -2.042830148012698e-11"/> | |
| <axis xyz="0 0 1"/> | |
| <limit effort="28.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/> | |
| <dynamics damping="0" friction="0"/> | |
| </joint> | |
| <link name="ft_frame"/> | |
| <joint name="wrist_3_link-ft_frame" type="fixed"> | |
| <parent link="wrist_3_link"/> | |
| <child link="ft_frame"/> | |
| <origin rpy="3.141592653589793 0 0" xyz="0 0 0"/> | |
| </joint> | |
| <!-- ROS-Industrial 'base' frame - base_link to UR 'Base' Coordinates transform --> | |
| <link name="base"/> | |
| <joint name="base_link-base_fixed_joint" type="fixed"> | |
| <!-- Note the rotation over Z of pi radians - as base_link is REP-103 | |
| aligned (i.e., has X+ forward, Y+ left and Z+ up), this is needed | |
| to correctly align 'base' with the 'Base' coordinate system of | |
| the UR controller. | |
| --> | |
| <origin rpy="0 0 3.141592653589793" xyz="0 0 0"/> | |
| <parent link="base_link"/> | |
| <child link="base"/> | |
| </joint> | |
| <!-- ROS-Industrial 'flange' frame - attachment point for EEF models --> | |
| <link name="flange"/> | |
| <joint name="wrist_3-flange" type="fixed"> | |
| <parent link="wrist_3_link"/> | |
| <child link="flange"/> | |
| <origin rpy="0 -1.5707963267948966 -1.5707963267948966" xyz="0 0 0"/> | |
| </joint> | |
| <!-- ROS-Industrial 'tool0' frame - all-zeros tool frame --> | |
| <link name="tool0"/> | |
| <joint name="flange-tool0" type="fixed"> | |
| <!-- default toolframe - X+ left, Y+ up, Z+ front --> | |
| <origin rpy="1.5707963267948966 0 1.5707963267948966" xyz="0 0 0"/> | |
| <parent link="flange"/> | |
| <child link="tool0"/> | |
| </joint> | |
| </robot> | |