mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
Universal robot common bringup. Starts ur driver node and robot state
|
|
publisher (translates joint positions to propper tfs).
|
|
|
|
Usage:
|
|
ur_common.launch robot_ip:=<value>
|
|
-->
|
|
<launch>
|
|
<!-- robot_ip: IP-address of the robot's socket-messaging server -->
|
|
<arg name="robot_ip"/>
|
|
<arg name="min_payload"/>
|
|
<arg name="max_payload"/>
|
|
|
|
|
|
<!-- The max_velocity parameter is only used for debugging in the ur_driver. It's not related to actual velocity limits -->
|
|
<arg name="max_velocity" default="10.0"/> <!-- [rad/s] -->
|
|
|
|
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />
|
|
|
|
<!-- driver -->
|
|
<node name="ur_driver" pkg="ur_modern_driver" type="ur_driver" output="screen">
|
|
<!-- copy the specified IP address to be consistant with ROS-Industrial spec. -->
|
|
<param name="robot_ip_address" type="str" value="$(arg robot_ip)"/>
|
|
<param name="min_payload" type="double" value="$(arg min_payload)"/>
|
|
<param name="max_payload" type="double" value="$(arg max_payload)"/>
|
|
<param name="max_velocity" type="double" value="$(arg max_velocity)"/>
|
|
</node>
|
|
</launch>
|