Skip to content

Commit

Permalink
Using the 'doc' attribute on 'arg' elements.
Browse files Browse the repository at this point in the history
add doc strings to all launch file args.
  • Loading branch information
Harsh Deshpande committed Feb 14, 2018
1 parent ad740e0 commit 60c54fc
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 47 deletions.
10 changes: 5 additions & 5 deletions ur_bringup/launch/ur10_bringup.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<launch>

<!-- robot_ip: IP-address of the robot's socket-messaging server -->
<arg name="robot_ip"/>
<arg name="reverse_port" default="50001"/>
<arg name="limited" default="false"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="20.0"/>
<arg name="robot_ip" doc="IP of the controller" />
<arg name="reverse_port" default="50001" doc="Port on which controller listens for position values passed to servoj thread from the driver" />
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />
<arg name="min_payload" default="0.0" doc="lower payload bound for the robot" />
<arg name="max_payload" default="20.0" doc="upper payload bound for the robot" />

<!-- robot model -->
<include file="$(find ur_description)/launch/ur10_upload.launch">
Expand Down
8 changes: 4 additions & 4 deletions ur_bringup/launch/ur10_bringup_joint_limited.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<launch>

<!-- robot_ip: IP-address of the robot's socket-messaging server -->
<arg name="robot_ip"/>
<arg name="reverse_port" default="50001"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="20.0"/>
<arg name="robot_ip" doc="IP of the controller" />
<arg name="reverse_port" default="50001" doc="Port on which controller listens for position values passed to servoj thread from the driver" />
<arg name="min_payload" default="0.0" doc="lower payload bound for the robot" />
<arg name="max_payload" default="20.0" doc="upper payload bound for the robot" />

<include file="$(find ur_bringup)/launch/ur10_bringup.launch">
<arg name="robot_ip" value="$(arg robot_ip)"/>
Expand Down
10 changes: 5 additions & 5 deletions ur_bringup/launch/ur3_bringup.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<launch>

<!-- robot_ip: IP-address of the robot's socket-messaging server -->
<arg name="robot_ip"/>
<arg name="reverse_port" default="50001"/>
<arg name="limited" default="false"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="3.0"/>
<arg name="robot_ip" doc="IP of the controller" />
<arg name="reverse_port" default="50001" doc="Port on which controller listens for position values passed to servoj thread from the driver" />
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints."/>
<arg name="min_payload" default="0.0" doc="lower payload bound for the robot" />
<arg name="max_payload" default="3.0" doc="upper payload bound for the robot" />

<!-- robot model -->
<include file="$(find ur_description)/launch/ur3_upload.launch">
Expand Down
8 changes: 4 additions & 4 deletions ur_bringup/launch/ur3_bringup_joint_limited.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<launch>

<!-- robot_ip: IP-address of the robot's socket-messaging server -->
<arg name="robot_ip"/>
<arg name="reverse_port" default="50001"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="3.0"/>
<arg name="robot_ip" doc="IP of the controller" />
<arg name="reverse_port" default="50001" doc="Port on which controller listens for position values passed to servoj thread from the driver" />
<arg name="min_payload" default="0.0" doc="lower payload bound for the robot" />
<arg name="max_payload" default="3.0" doc="upper payload bound for the robot" />

<include file="$(find ur_bringup)/launch/ur3_bringup.launch">
<arg name="robot_ip" value="$(arg robot_ip)"/>
Expand Down
10 changes: 5 additions & 5 deletions ur_bringup/launch/ur5_bringup.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<launch>

<!-- robot_ip: IP-address of the robot's socket-messaging server -->
<arg name="robot_ip"/>
<arg name="reverse_port" default="50001"/>
<arg name="limited" default="false"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="10.0"/>
<arg name="robot_ip" doc="IP of the controller" />
<arg name="reverse_port" default="50001" doc="Port on which controller listens for position values passed to servoj thread from the driver" />
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />
<arg name="min_payload" default="0.0" doc="lower payload bound for the robot" />
<arg name="max_payload" default="10.0" doc="upper payload bound for the robot" />

<!-- robot model -->
<include file="$(find ur_description)/launch/ur5_upload.launch">
Expand Down
8 changes: 4 additions & 4 deletions ur_bringup/launch/ur5_bringup_joint_limited.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<launch>

<!-- robot_ip: IP-address of the robot's socket-messaging server -->
<arg name="robot_ip"/>
<arg name="reverse_port" default="50001"/>
<arg name="min_payload" default="0.0"/>
<arg name="max_payload" default="10.0"/>
<arg name="robot_ip" doc="IP of the controller" />
<arg name="reverse_port" default="50001" doc="Port on which controller listens for position values passed to servoj thread from the driver" />
<arg name="min_payload" default="0.0" doc="lower payload bound for the robot" />
<arg name="max_payload" default="10.0" doc="upper payload bound for the robot" />

<include file="$(find ur_bringup)/launch/ur5_bringup.launch">
<arg name="robot_ip" value="$(arg robot_ip)"/>
Expand Down
10 changes: 5 additions & 5 deletions ur_bringup/launch/ur_common.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
-->
<launch>
<!-- robot_ip: IP-address of the robot's socket-messaging server -->
<arg name="robot_ip"/>
<arg name="reverse_port" default="50001"/>
<arg name="min_payload"/>
<arg name="max_payload"/>
<arg name="prefix" default=""/>
<arg name="robot_ip" doc="IP of the controller" />
<arg name="reverse_port" default="50001" doc="Port on which controller listens for position values passed to servoj thread from the driver" />
<arg name="min_payload" doc="lower payload bound for the robot" />
<arg name="max_payload" doc="upper payload bound for the robot" />
<arg name="prefix" default="" doc="Prefix to robot's joints' and links' names" />

<!-- 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] -->
Expand Down
2 changes: 1 addition & 1 deletion ur_description/launch/ur10_upload.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<launch>
<arg name="limited" default="false"/>
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />

<param unless="$(arg limited)" name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur_description)/urdf/ur10_robot.urdf.xacro'" />
<param if="$(arg limited)" name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur_description)/urdf/ur10_joint_limited_robot.urdf.xacro'" />
Expand Down
2 changes: 1 addition & 1 deletion ur_description/launch/ur3_upload.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<launch>
<arg name="limited" default="false"/>
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />

<param unless="$(arg limited)" name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur_description)/urdf/ur3_robot.urdf.xacro'" />
<param if="$(arg limited)" name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur_description)/urdf/ur3_joint_limited_robot.urdf.xacro'" />
Expand Down
2 changes: 1 addition & 1 deletion ur_description/launch/ur5_upload.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<launch>
<arg name="limited" default="false"/>
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />

<param unless="$(arg limited)" name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur_description)/urdf/ur5_robot.urdf.xacro'" />
<param if="$(arg limited)" name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur_description)/urdf/ur5_joint_limited_robot.urdf.xacro'" />
Expand Down
6 changes: 3 additions & 3 deletions ur_gazebo/launch/ur10.launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<launch>
<arg name="limited" default="false"/>
<arg name="paused" default="false"/>
<arg name="gui" default="true"/>
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />
<arg name="paused" default="false" doc="Starts gazebo in paused mode" />
<arg name="gui" default="true" doc="Starts gazebo gui" />

<!-- startup simulated world -->
<include file="$(find gazebo_ros)/launch/empty_world.launch">
Expand Down
2 changes: 1 addition & 1 deletion ur_gazebo/launch/ur10_joint_limited.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<launch>
<arg name="gui" default="true"/>
<arg name="gui" default="true" doc="Starts gazebo gui" />

<include file="$(find ur_gazebo)/launch/ur10.launch">
<arg name="limited" value="true"/>
Expand Down
6 changes: 3 additions & 3 deletions ur_gazebo/launch/ur3.launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<launch>
<arg name="limited" default="false"/>
<arg name="paused" default="false"/>
<arg name="gui" default="true"/>
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />
<arg name="paused" default="false" doc="Starts gazebo in paused mode" />
<arg name="gui" default="true" doc="Starts gazebo gui" />

<!-- startup simulated world -->
<include file="$(find gazebo_ros)/launch/empty_world.launch">
Expand Down
2 changes: 1 addition & 1 deletion ur_gazebo/launch/ur3_joint_limited.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<launch>
<arg name="gui" default="true"/>
<arg name="gui" default="true" doc="Starts gazebo gui" />

<include file="$(find ur_gazebo)/launch/ur3.launch">
<arg name="limited" value="true"/>
Expand Down
6 changes: 3 additions & 3 deletions ur_gazebo/launch/ur5.launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<launch>
<arg name="limited" default="false"/>
<arg name="paused" default="false"/>
<arg name="gui" default="true"/>
<arg name="limited" default="false" doc="If true, limits joint range [-PI, PI] on all joints." />
<arg name="paused" default="false" doc="Starts gazebo in paused mode" />
<arg name="gui" default="true" doc="Starts gazebo gui" />

<!-- startup simulated world -->
<include file="$(find gazebo_ros)/launch/empty_world.launch">
Expand Down
2 changes: 1 addition & 1 deletion ur_gazebo/launch/ur5_joint_limited.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<launch>
<arg name="gui" default="true"/>
<arg name="gui" default="true" doc="Starts gazebo gui" />

<include file="$(find ur_gazebo)/launch/ur5.launch">
<arg name="limited" value="true"/>
Expand Down

0 comments on commit 60c54fc

Please sign in to comment.