From: Walter Fetter Lages Date: Wed, 28 Nov 2018 20:59:51 +0000 (-0200) Subject: Change launch files. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=0fc67ec7914d9a0bc87967ae80b9fecb2c0ed4ec;p=ufrgs_wam.git Change launch files. --- diff --git a/wam_controllers/README b/wam_controllers/README deleted file mode 100644 index 861d535..0000000 --- a/wam_controllers/README +++ /dev/null @@ -1,10 +0,0 @@ -To publish reference: - -rostopic pub /wam/computed_torque_controller/command trajectory_msgs/JointTrajectoryPoint "[0.01, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" "[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" "[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" "[0.0, 0.0]" - -Arguments are positions, velocities, accelerations, effort, time from start in -seconds and nanoseconds. - -Set starting position: - -rosservice call /gazebo/set_model_configuration wam joint ['wam_joint_1','wam_joint_2','wam_joint_3','wam_joint_4','wam_joint_5','wam_joint_6','wam_joint_7'] [0.0,0.75,0.0,1.5,0.0,0.9,0.0] \ No newline at end of file diff --git a/wam_controllers/launch/computed_torque.launch b/wam_controllers/launch/computed_torque.launch index bec4906..ddcf49b 100644 --- a/wam_controllers/launch/computed_torque.launch +++ b/wam_controllers/launch/computed_torque.launch @@ -1,18 +1,9 @@ - - - - - - - - + respawn="false" output="screen" ns="wam" + args="joint_state_controller computed_torque_controller" > + diff --git a/wam_controllers/launch/computed_torque_table.launch b/wam_controllers/launch/computed_torque_table.launch deleted file mode 100644 index 8036b3b..0000000 --- a/wam_controllers/launch/computed_torque_table.launch +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - diff --git a/wam_controllers/launch/display.launch b/wam_controllers/launch/display.launch new file mode 100644 index 0000000..42fc09d --- /dev/null +++ b/wam_controllers/launch/display.launch @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/wam_controllers/launch/gazebo.launch b/wam_controllers/launch/gazebo.launch new file mode 100644 index 0000000..a968552 --- /dev/null +++ b/wam_controllers/launch/gazebo.launch @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/wam_controllers/scripts/set_home.sh b/wam_controllers/scripts/set_home.sh index 4641b95..1ff2f52 100755 --- a/wam_controllers/scripts/set_home.sh +++ b/wam_controllers/scripts/set_home.sh @@ -4,10 +4,10 @@ rosservice call /gazebo/set_model_configuration wam joint \ "['wam_joint_1','wam_joint_2','wam_joint_3','wam_joint_4','wam_joint_5','wam_joint_6','wam_joint_7']" \ "[0.0,-2.0,0.0,3.1,0.0,0.0,0.0]" -#rostopic pub /wam/computed_torque_controller/command \ -#trajectory_msgs/JointTrajectoryPoint \ -#"[0.0,-2.0,0.0,3.1,0.0,0.0,0.0]" \ -#"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" \ -#"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" \ -#"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" \ -#"[0.0, 0.0]" "-1" +rostopic pub /wam/computed_torque_controller/command \ +trajectory_msgs/JointTrajectoryPoint \ +"[0.0,-2.0,0.0,3.1,0.0,0.0,0.0]" \ +"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" \ +"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" \ +"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" \ +"[0.0, 0.0]" "-1" diff --git a/wam_description/launch/display.launch b/wam_description/launch/display.launch index 5585094..fd1973b 100644 --- a/wam_description/launch/display.launch +++ b/wam_description/launch/display.launch @@ -1,9 +1,15 @@ - + + + + + + + + - - - - + + + diff --git a/wam_description/launch/gazebo.launch b/wam_description/launch/gazebo.launch new file mode 100644 index 0000000..d042323 --- /dev/null +++ b/wam_description/launch/gazebo.launch @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/wam_description/launch/wam.launch b/wam_description/launch/wam.launch index 2cac088..4933667 100644 --- a/wam_description/launch/wam.launch +++ b/wam_description/launch/wam.launch @@ -1,4 +1,12 @@ - - - + + + + + + + + + + + diff --git a/wam_description/launch/wam_sim.launch b/wam_description/launch/wam_sim.launch deleted file mode 100644 index 4215fb2..0000000 --- a/wam_description/launch/wam_sim.launch +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/wam_description/launch/wam_table.launch b/wam_description/launch/wam_table.launch deleted file mode 100644 index 1ee4e59..0000000 --- a/wam_description/launch/wam_table.launch +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/wam_description/launch/wam_table_sim.launch b/wam_description/launch/wam_table_sim.launch deleted file mode 100644 index 74a017b..0000000 --- a/wam_description/launch/wam_table_sim.launch +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/wam_description/package.xml b/wam_description/package.xml index 77ce6de..f4d4f2a 100644 --- a/wam_description/package.xml +++ b/wam_description/package.xml @@ -1,8 +1,14 @@ wam_description - 2.0.0 - The wam_description package + 2.1.0 +

The wam_description package

+

This package contains xacro files for the Barrett WAM robot + arm. It is based on the iri_wam_description package developed by the + IRI Robotics Lab but with robot parameters (mainly inertia + parameters) adapted to the Barrett WAM available at UFRGS. +

+
@@ -13,7 +19,7 @@ - GPLv3 + LGPL @@ -21,6 +27,7 @@ http://www.ece.ufrgs.br/~fetter/ufrgs_wam + http://ros.org/wiki/iri_wam_description @@ -28,6 +35,7 @@ Walter Fetter Lages + IRI Robotics Lab, Sergi Foix (sfoix@iri.upc.edu) @@ -51,4 +59,4 @@ -
\ No newline at end of file + diff --git a/wam_description/launch/urdf.rviz b/wam_description/rviz/urdf.rviz similarity index 89% rename from wam_description/launch/urdf.rviz rename to wam_description/rviz/urdf.rviz index e597c6c..6ae11f5 100644 --- a/wam_description/launch/urdf.rviz +++ b/wam_description/rviz/urdf.rviz @@ -8,7 +8,7 @@ Panels: - /Status1 - /Grid1 Splitter Ratio: 0.5 - Tree Height: 559 + Tree Height: 553 - Class: rviz/Selection Name: Selection - Class: rviz/Tool Properties @@ -108,10 +108,6 @@ Visualization Manager: Show Axes: false Show Trail: false Value: true - world: - Alpha: 1 - Show Axes: false - Show Trail: false Name: RobotModel Robot Description: robot_description TF Prefix: "" @@ -121,7 +117,7 @@ Visualization Manager: Enabled: true Global Options: Background Color: 48; 48; 48 - Fixed Frame: world + Fixed Frame: wam_origin Frame Rate: 30 Name: root Tools: @@ -165,7 +161,7 @@ Window Geometry: Height: 846 Hide Left Dock: false Hide Right Dock: false - QMainWindow State: 000000ff00000000fd00000004000000000000013c000002bafc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005300fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c0061007900730100000036000002ba000000b700fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f000002bafc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a005600690065007700730100000036000002ba0000009b00fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004b00000003efc0100000002fb0000000800540069006d00650100000000000004b00000024700fffffffb0000000800540069006d0065010000000000000450000000000000000000000259000002ba00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000 + QMainWindow State: 000000ff00000000fd00000004000000000000013c000002b6fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005300fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c0061007900730100000038000002b6000000b900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f000002b6fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a005600690065007700730100000038000002b60000009f00fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004b00000003efc0100000002fb0000000800540069006d00650100000000000004b00000025a00fffffffb0000000800540069006d0065010000000000000450000000000000000000000259000002b600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000 Selection: collapsed: false Time: @@ -175,5 +171,5 @@ Window Geometry: Views: collapsed: false Width: 1200 - X: 501 + X: 476 Y: 54 diff --git a/wam_description/scripts/set_home.sh b/wam_description/scripts/set_home.sh new file mode 100755 index 0000000..fdf13c1 --- /dev/null +++ b/wam_description/scripts/set_home.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +rosservice call /gazebo/set_model_configuration wam joint \ +"['wam_joint_1','wam_joint_2','wam_joint_3','wam_joint_4',' \ +wam_joint_5','wam_joint_6','wam_joint_7']" \ +"[0.0,-2.0,0.0,3.1,0.0,0.0,0.0]" diff --git a/wam_description/scripts/set_zero.sh b/wam_description/scripts/set_zero.sh new file mode 100755 index 0000000..13a4b53 --- /dev/null +++ b/wam_description/scripts/set_zero.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +rosservice call /gazebo/set_model_configuration wam joint \ +"['wam_joint_1','wam_joint_2','wam_joint_3','wam_joint_4', \ +'wam_joint_5','wam_joint_6','wam_joint_7']" \ +"[0.0,0.0,0.0,0.0,0.0,0.0,0.0]" diff --git a/wam_description/xacro/table.urdf.xacro b/wam_description/xacro/table.urdf.xacro index 37934a1..43435e5 100644 --- a/wam_description/xacro/table.urdf.xacro +++ b/wam_description/xacro/table.urdf.xacro @@ -29,6 +29,9 @@ + + + @@ -43,6 +46,7 @@ 50.0 1000000.0 1.0 + true @@ -63,6 +67,9 @@ + + + @@ -77,7 +84,7 @@ 1000.0 10000000.0 1.0 - + true @@ -98,6 +105,9 @@ + + + @@ -112,7 +122,7 @@ 1000.0 10000000.0 1.0 - + true @@ -133,6 +143,9 @@ + + + @@ -147,7 +160,7 @@ 1000.0 10000000.0 1.0 - + true @@ -168,6 +181,9 @@ + + + @@ -182,10 +198,10 @@ 1000.0 10000000.0 1.0 - + true - + table_top_link diff --git a/wam_description/xacro/wam.urdf.xacro b/wam_description/xacro/wam.urdf.xacro index c0db1f6..f559eea 100644 --- a/wam_description/xacro/wam.urdf.xacro +++ b/wam_description/xacro/wam.urdf.xacro @@ -13,28 +13,19 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + - /wam + wam diff --git a/wam_description/xacro/wam_base.urdf.xacro b/wam_description/xacro/wam_base.urdf.xacro index 8acac63..4d1f765 100644 --- a/wam_description/xacro/wam_base.urdf.xacro +++ b/wam_description/xacro/wam_base.urdf.xacro @@ -18,7 +18,7 @@ - + @@ -31,7 +31,7 @@ - + true Gazebo/White diff --git a/wam_description/xacro/wam_table.urdf.xacro b/wam_description/xacro/wam_table.urdf.xacro index 468e77f..a32b6ee 100644 --- a/wam_description/xacro/wam_table.urdf.xacro +++ b/wam_description/xacro/wam_table.urdf.xacro @@ -8,7 +8,7 @@ - + @@ -17,7 +17,7 @@ - + diff --git a/wam_description/xacro/wam_world.urdf.xacro b/wam_description/xacro/wam_world.urdf.xacro index 22f2a36..33bc008 100644 --- a/wam_description/xacro/wam_world.urdf.xacro +++ b/wam_description/xacro/wam_world.urdf.xacro @@ -6,7 +6,7 @@ - +