mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
Updated launch files to evaluate a 'prefix' argument and pass it to the driver and urdf file. Fixes #28
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
<arg name="robot_ip" />
|
||||
<arg name="min_payload" />
|
||||
<arg name="max_payload" />
|
||||
<arg name="prefix" default="" />
|
||||
<arg name="servoj_time" default="0.008" />
|
||||
<arg name="base_frame" default="base"/>
|
||||
<arg name="tool_frame" default="tool0_controller"/>
|
||||
@@ -23,6 +24,7 @@
|
||||
<!-- 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="prefix" type="str" value="$(arg prefix)" />
|
||||
<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)" />
|
||||
|
||||
Reference in New Issue
Block a user