diff --git a/sr_description/CMakeLists.txt b/sr_description/CMakeLists.txt index 3d16516e..74c204d5 100644 --- a/sr_description/CMakeLists.txt +++ b/sr_description/CMakeLists.txt @@ -32,5 +32,5 @@ install(DIRECTORY loaders/ install(DIRECTORY robots/ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/robots) -install(FILES materials.urdf.xacro +install(FILES other/xacro/materials.urdf.xacro DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) diff --git a/sr_description/README.md b/sr_description/README.md index 50749ab1..42ddf131 100644 --- a/sr_description/README.md +++ b/sr_description/README.md @@ -2,11 +2,4 @@ This package contains the description for Shadow Robot's Hands. You can find the different complete models in [robots](robots). -You can also find more information about the computation of the [hand kinematics](doc/HandInertia.md). - - -*Tips: To automatically reformat the different xacro files you can use the following command:* - -```bash -find . -name "*.urdf.xacro" -type f -exec tidy -xml -i -m -q "{}" \; -``` +You can also find more information about the computation of the [hand kinematics](doc/HandInertia.md). \ No newline at end of file diff --git a/sr_description/hand/xacro/finger/distal/distal.urdf.xacro b/sr_description/hand/xacro/finger/distal/distal.urdf.xacro index fdecb3b7..08e360a9 100644 --- a/sr_description/hand/xacro/finger/distal/distal.urdf.xacro +++ b/sr_description/hand/xacro/finger/distal/distal.urdf.xacro @@ -1,25 +1,20 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - - - - - + - + @@ -61,8 +56,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -72,8 +66,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + diff --git a/sr_description/hand/xacro/finger/knuckle/knuckle.gazebo.xacro b/sr_description/hand/xacro/finger/knuckle/knuckle.gazebo.xacro index 648e7c07..3ed98b28 100644 --- a/sr_description/hand/xacro/finger/knuckle/knuckle.gazebo.xacro +++ b/sr_description/hand/xacro/finger/knuckle/knuckle.gazebo.xacro @@ -2,20 +2,7 @@ - - 1 - 1000.0 - - ${prefix}${link_prefix}knuckle_collision - ${prefix}${link_prefix}knuckle_collision - - - true - ${prefix}${link_prefix}knuckle - 100.0 - contacts/${prefix}${link_prefix}/knuckle - - + Gazebo/Grey diff --git a/sr_description/hand/xacro/finger/lfmetacarpal/lfmetacarpal.urdf.xacro b/sr_description/hand/xacro/finger/lfmetacarpal/lfmetacarpal.urdf.xacro index 66083cea..4a685894 100644 --- a/sr_description/hand/xacro/finger/lfmetacarpal/lfmetacarpal.urdf.xacro +++ b/sr_description/hand/xacro/finger/lfmetacarpal/lfmetacarpal.urdf.xacro @@ -1,24 +1,20 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - - - - + + - + @@ -40,8 +36,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + diff --git a/sr_description/hand/xacro/finger/proximal/proximal.urdf.xacro b/sr_description/hand/xacro/finger/proximal/proximal.urdf.xacro index 72260201..58162066 100644 --- a/sr_description/hand/xacro/finger/proximal/proximal.urdf.xacro +++ b/sr_description/hand/xacro/finger/proximal/proximal.urdf.xacro @@ -1,10 +1,10 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> diff --git a/sr_description/hand/xacro/forearm/forearm_c.urdf.xacro b/sr_description/hand/xacro/forearm/forearm_c.urdf.xacro index de489444..0f897f89 100644 --- a/sr_description/hand/xacro/forearm/forearm_c.urdf.xacro +++ b/sr_description/hand/xacro/forearm/forearm_c.urdf.xacro @@ -14,8 +14,7 @@ - + diff --git a/sr_description/hand/xacro/forearm/forearm_e.urdf.xacro b/sr_description/hand/xacro/forearm/forearm_e.urdf.xacro index 24da6df5..12e30e35 100644 --- a/sr_description/hand/xacro/forearm/forearm_e.urdf.xacro +++ b/sr_description/hand/xacro/forearm/forearm_e.urdf.xacro @@ -14,8 +14,7 @@ - + diff --git a/sr_description/hand/xacro/hand.urdf.xacro b/sr_description/hand/xacro/hand.urdf.xacro index 9666e1ea..d7df4fe6 100644 --- a/sr_description/hand/xacro/hand.urdf.xacro +++ b/sr_description/hand/xacro/hand.urdf.xacro @@ -3,8 +3,10 @@ xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface"> - + + + + @@ -16,15 +18,15 @@ - + - + - + diff --git a/sr_description/hand/xacro/hand_c.urdf.xacro b/sr_description/hand/xacro/hand_c.urdf.xacro index 46333666..5aa196e7 100644 --- a/sr_description/hand/xacro/hand_c.urdf.xacro +++ b/sr_description/hand/xacro/hand_c.urdf.xacro @@ -5,7 +5,6 @@ - @@ -14,10 +13,7 @@ - - - - + diff --git a/sr_description/hand/xacro/hand_e.urdf.xacro b/sr_description/hand/xacro/hand_e.urdf.xacro index ccb4ef41..a4ed63b5 100644 --- a/sr_description/hand/xacro/hand_e.urdf.xacro +++ b/sr_description/hand/xacro/hand_e.urdf.xacro @@ -9,7 +9,6 @@ - @@ -18,10 +17,7 @@ - - - - + diff --git a/sr_description/hand/xacro/hand_g.urdf.xacro b/sr_description/hand/xacro/hand_g.urdf.xacro index 72ad38e1..e52ba86f 100644 --- a/sr_description/hand/xacro/hand_g.urdf.xacro +++ b/sr_description/hand/xacro/hand_g.urdf.xacro @@ -9,7 +9,6 @@ - @@ -18,10 +17,7 @@ - - - - + diff --git a/sr_description/hand/xacro/legacy/ff_biotac_hand.urdf.xacro b/sr_description/hand/xacro/legacy/ff_biotac_hand.urdf.xacro deleted file mode 100644 index e3e49e78..00000000 --- a/sr_description/hand/xacro/legacy/ff_biotac_hand.urdf.xacro +++ /dev/null @@ -1,13 +0,0 @@ - - - ${xacro.warning("The file ff_biotac_hand.urdf.xacro is deprecated", print_location=False)} - ${xacro.warning("Use hand.urdf.xacro instead with tip_sensors='ff=bt_2p'")} - - - - - - - - diff --git a/sr_description/hand/xacro/legacy/hand_E_no_mf_rf.urdf.xacro b/sr_description/hand/xacro/legacy/hand_E_no_mf_rf.urdf.xacro deleted file mode 100644 index c0bc135d..00000000 --- a/sr_description/hand/xacro/legacy/hand_E_no_mf_rf.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - ${xacro.warning("The file hand_E_no_mf_rf.urdf.xacro is deprecated", print_location=False)} - ${xacro.warning("Use hand.urdf.xacro instead with fingers='th ff lf'")} - - - - - diff --git a/sr_description/hand/xacro/legacy/one_finger_unit.urdf.xacro b/sr_description/hand/xacro/legacy/one_finger_unit.urdf.xacro deleted file mode 100644 index 9db740dd..00000000 --- a/sr_description/hand/xacro/legacy/one_finger_unit.urdf.xacro +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/hand/xacro/legacy/th_ff_rf_ellipsoid_hand.urdf.xacro b/sr_description/hand/xacro/legacy/th_ff_rf_ellipsoid_hand.urdf.xacro deleted file mode 100644 index e95bda5d..00000000 --- a/sr_description/hand/xacro/legacy/th_ff_rf_ellipsoid_hand.urdf.xacro +++ /dev/null @@ -1,13 +0,0 @@ - - - ${xacro.warning("The file th_ff_rf_ellipsoid_hand.urdf.xacro is deprecated", print_location=False)} - ${xacro.warning("Use hand.urdf.xacro instead with tip_sensors='th=eli ff=eli rf=eli'")} - - - - - - - - diff --git a/sr_description/hand/xacro/legacy/three_biotac_fingers_hand.urdf.xacro b/sr_description/hand/xacro/legacy/three_biotac_fingers_hand.urdf.xacro deleted file mode 100644 index 81ff4a5d..00000000 --- a/sr_description/hand/xacro/legacy/three_biotac_fingers_hand.urdf.xacro +++ /dev/null @@ -1,10 +0,0 @@ - - - ${xacro.warning("The file three_biotac_fingers_hand.urdf.xacro is deprecated", print_location=False)} - ${xacro.warning("Use hand.urdf.xacro instead with tip_sensors='th=bt_2p ff=bt_2p mf=bt_2p'")} - - - - - - diff --git a/sr_description/hand/xacro/legacy/three_fingers_hand.urdf.xacro b/sr_description/hand/xacro/legacy/three_fingers_hand.urdf.xacro deleted file mode 100644 index 7bb295f2..00000000 --- a/sr_description/hand/xacro/legacy/three_fingers_hand.urdf.xacro +++ /dev/null @@ -1,9 +0,0 @@ - - - ${xacro.warning("The file three_fingers_hand.urdf.xacro is deprecated", print_location=False)} - ${xacro.warning("Use hand.urdf.xacro instead with fingers='th ff mf'")} - - - - - diff --git a/sr_description/hand/xacro/legacy/three_fingers_hand_RF.urdf.xacro b/sr_description/hand/xacro/legacy/three_fingers_hand_RF.urdf.xacro deleted file mode 100644 index e0d82f6d..00000000 --- a/sr_description/hand/xacro/legacy/three_fingers_hand_RF.urdf.xacro +++ /dev/null @@ -1,9 +0,0 @@ - - - ${xacro.warning("The file three_fingers_hand_RF.urdf.xacro is deprecated", print_location=False)} - ${xacro.warning("Use hand.urdf.xacro instead with fingers='th ff rf'")} - - - - - diff --git a/sr_description/hand/xacro/process_hand_type_parameter.xacro b/sr_description/hand/xacro/process_hand_type_parameter.xacro deleted file mode 100644 index 94b66d41..00000000 --- a/sr_description/hand/xacro/process_hand_type_parameter.xacro +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/hand/xacro/process_hand_type_version_side_parameters.xacro b/sr_description/hand/xacro/process_hand_type_version_side_parameters.xacro new file mode 100644 index 00000000..d56c5d10 --- /dev/null +++ b/sr_description/hand/xacro/process_hand_type_version_side_parameters.xacro @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + ${xacro.error("Parameter 'hand_type' ("+hand_type+") doesn't comply with 'hand_version' ("+hand_version+")")} + + + + + + + + + + + + + + diff --git a/sr_description/hand/xacro/process_sensor_parameters.xacro b/sr_description/hand/xacro/process_sensor_parameters.xacro index 7842938b..8ab05891 100644 --- a/sr_description/hand/xacro/process_sensor_parameters.xacro +++ b/sr_description/hand/xacro/process_sensor_parameters.xacro @@ -6,7 +6,6 @@ - @@ -31,7 +30,6 @@ - - - 1 - 1000.0 - - ${prefix}thbase_collision - ${prefix}thbase_collision - - - true - ${prefix}thbase - 100.0 - contacts/${prefix}th/base - - + false diff --git a/sr_description/hand/xacro/thumb/thbase.urdf.xacro b/sr_description/hand/xacro/thumb/thbase.urdf.xacro index e24888ec..00fa0d60 100644 --- a/sr_description/hand/xacro/thumb/thbase.urdf.xacro +++ b/sr_description/hand/xacro/thumb/thbase.urdf.xacro @@ -1,10 +1,10 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> @@ -14,8 +14,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -36,11 +35,9 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + - + diff --git a/sr_description/hand/xacro/thumb/thdistal.urdf.xacro b/sr_description/hand/xacro/thumb/thdistal.urdf.xacro index f3ef1fe0..3b28fc4e 100644 --- a/sr_description/hand/xacro/thumb/thdistal.urdf.xacro +++ b/sr_description/hand/xacro/thumb/thdistal.urdf.xacro @@ -1,10 +1,10 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> @@ -24,8 +24,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -37,8 +36,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -63,13 +61,11 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> ${prefix}thdistal_geom ${prefix}thdistal_collision - + true ${prefix}thdistal 100.0 - - contacts/${prefix}th/distal + contacts/${prefix}th/distal true @@ -85,8 +81,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -105,8 +100,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -151,8 +145,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -162,8 +155,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + diff --git a/sr_description/hand/xacro/thumb/thhub.gazebo.xacro b/sr_description/hand/xacro/thumb/thhub.gazebo.xacro index 71218134..aefd59e0 100644 --- a/sr_description/hand/xacro/thumb/thhub.gazebo.xacro +++ b/sr_description/hand/xacro/thumb/thhub.gazebo.xacro @@ -2,21 +2,8 @@ - - 1 - 1000.0 - - ${prefix}thhub_collision - ${prefix}thhub_collision - - - true - ${prefix}thhub - 100.0 - contacts/${prefix}th/hub - - - true + + false diff --git a/sr_description/hand/xacro/thumb/thhub.urdf.xacro b/sr_description/hand/xacro/thumb/thhub.urdf.xacro index ef953c8d..70cdc568 100644 --- a/sr_description/hand/xacro/thumb/thhub.urdf.xacro +++ b/sr_description/hand/xacro/thumb/thhub.urdf.xacro @@ -1,10 +1,10 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> @@ -14,8 +14,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + @@ -47,8 +46,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + diff --git a/sr_description/hand/xacro/thumb/thmiddle.urdf.xacro b/sr_description/hand/xacro/thumb/thmiddle.urdf.xacro index 6ceef38d..5e7c08f7 100644 --- a/sr_description/hand/xacro/thumb/thmiddle.urdf.xacro +++ b/sr_description/hand/xacro/thumb/thmiddle.urdf.xacro @@ -1,10 +1,10 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> @@ -15,8 +15,7 @@ xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> - + diff --git a/sr_description/hand/xacro/thumb/thproximal.urdf.xacro b/sr_description/hand/xacro/thumb/thproximal.urdf.xacro index cddd01f3..80a4e4bc 100644 --- a/sr_description/hand/xacro/thumb/thproximal.urdf.xacro +++ b/sr_description/hand/xacro/thumb/thproximal.urdf.xacro @@ -1,10 +1,10 @@ + xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" + xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" + xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom"> diff --git a/sr_description/hand/xacro/validate_macros.xacro b/sr_description/hand/xacro/validate_macros.xacro index 0d6a4e26..e84ef0f3 100644 --- a/sr_description/hand/xacro/validate_macros.xacro +++ b/sr_description/hand/xacro/validate_macros.xacro @@ -2,6 +2,6 @@ - ${xacro.error('Unknown '+name+': '+', '.join(_unknown_tokens_))} + ${xacro.error('Unknown '+name+': '+', '.join(_unknown_tokens_)+'. The set of available specifiers is: '+', '.join(valid))} diff --git a/sr_description/loaders/load_support_model.launch b/sr_description/loaders/load_support_model.launch deleted file mode 100644 index 09a659a5..00000000 --- a/sr_description/loaders/load_support_model.launch +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/sr_description/other/xacro/gazebo.urdf.xacro b/sr_description/other/xacro/gazebo.urdf.xacro index bfae5971..265a90d1 100644 --- a/sr_description/other/xacro/gazebo.urdf.xacro +++ b/sr_description/other/xacro/gazebo.urdf.xacro @@ -1,7 +1,7 @@ + xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" + xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface"> diff --git a/sr_description/package.xml b/sr_description/package.xml index dd084c0b..a9a47b12 100644 --- a/sr_description/package.xml +++ b/sr_description/package.xml @@ -10,13 +10,9 @@ https://github.com/shadow-robot/sr_common https://github.com/shadow-robot/sr_common/issues - Ugo Cupcic - catkin - - xacro position_controllers diff --git a/sr_description/robots/legacy/bimanual_shadowhand_extra_lite.urdf.xacro b/sr_description/robots/legacy/bimanual_shadowhand_extra_lite.urdf.xacro deleted file mode 100644 index 9340f047..00000000 --- a/sr_description/robots/legacy/bimanual_shadowhand_extra_lite.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/bimanual_shadowhand_lite.urdf.xacro b/sr_description/robots/legacy/bimanual_shadowhand_lite.urdf.xacro deleted file mode 100644 index 20b73487..00000000 --- a/sr_description/robots/legacy/bimanual_shadowhand_lite.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/bimanual_shadowhand_lite_btsp.urdf.xacro b/sr_description/robots/legacy/bimanual_shadowhand_lite_btsp.urdf.xacro deleted file mode 100644 index aaa58a61..00000000 --- a/sr_description/robots/legacy/bimanual_shadowhand_lite_btsp.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/bimanual_shadowhand_lite_right_btsp.urdf.xacro b/sr_description/robots/legacy/bimanual_shadowhand_lite_right_btsp.urdf.xacro deleted file mode 100644 index f1b97424..00000000 --- a/sr_description/robots/legacy/bimanual_shadowhand_lite_right_btsp.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/bimanual_shadowhand_motor.urdf.xacro b/sr_description/robots/legacy/bimanual_shadowhand_motor.urdf.xacro deleted file mode 100644 index 4b5d6eb2..00000000 --- a/sr_description/robots/legacy/bimanual_shadowhand_motor.urdf.xacro +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/bimanual_shadowhand_motor_plus.urdf.xacro b/sr_description/robots/legacy/bimanual_shadowhand_motor_plus.urdf.xacro deleted file mode 100644 index 20cd6569..00000000 --- a/sr_description/robots/legacy/bimanual_shadowhand_motor_plus.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/bimanual_shadowhand_motor_plus_right_biotac.urdf.xacro b/sr_description/robots/legacy/bimanual_shadowhand_motor_plus_right_biotac.urdf.xacro deleted file mode 100644 index a90b54d5..00000000 --- a/sr_description/robots/legacy/bimanual_shadowhand_motor_plus_right_biotac.urdf.xacro +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_extra_lite.urdf.xacro b/sr_description/robots/legacy/shadowhand_extra_lite.urdf.xacro deleted file mode 100644 index de39ff3f..00000000 --- a/sr_description/robots/legacy/shadowhand_extra_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_extra_lite.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_extra_lite.urdf.xacro deleted file mode 100644 index 7965cf6b..00000000 --- a/sr_description/robots/legacy/shadowhand_left_extra_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_lite.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_lite.urdf.xacro deleted file mode 100644 index 389f7439..00000000 --- a/sr_description/robots/legacy/shadowhand_left_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_lite_btsp.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_lite_btsp.urdf.xacro deleted file mode 100644 index 19c0367b..00000000 --- a/sr_description/robots/legacy/shadowhand_left_lite_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_motor.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_motor.urdf.xacro deleted file mode 100644 index 70facd6f..00000000 --- a/sr_description/robots/legacy/shadowhand_left_motor.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_motor_biotac.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_motor_biotac.urdf.xacro deleted file mode 100644 index 81616151..00000000 --- a/sr_description/robots/legacy/shadowhand_left_motor_biotac.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_motor_plus.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_motor_plus.urdf.xacro deleted file mode 100644 index ef0a2d72..00000000 --- a/sr_description/robots/legacy/shadowhand_left_motor_plus.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_motor_plus_btsp.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_motor_plus_btsp.urdf.xacro deleted file mode 100644 index 9c078e1e..00000000 --- a/sr_description/robots/legacy/shadowhand_left_motor_plus_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_left_muscle.urdf.xacro b/sr_description/robots/legacy/shadowhand_left_muscle.urdf.xacro deleted file mode 100644 index 51db6177..00000000 --- a/sr_description/robots/legacy/shadowhand_left_muscle.urdf.xacro +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_lite.urdf.xacro b/sr_description/robots/legacy/shadowhand_lite.urdf.xacro deleted file mode 100644 index f8efc03d..00000000 --- a/sr_description/robots/legacy/shadowhand_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_lite_btsp.urdf.xacro b/sr_description/robots/legacy/shadowhand_lite_btsp.urdf.xacro deleted file mode 100644 index 0dd3930c..00000000 --- a/sr_description/robots/legacy/shadowhand_lite_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor.urdf.xacro deleted file mode 100644 index b9fc3c2e..00000000 --- a/sr_description/robots/legacy/shadowhand_motor.urdf.xacro +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_biotac.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_biotac.urdf.xacro deleted file mode 100644 index d67c1bb8..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_biotac.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_btsp.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_btsp.urdf.xacro deleted file mode 100644 index 652e1627..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_ellipsoid.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_ellipsoid.urdf.xacro deleted file mode 100644 index 2851bbe1..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_ellipsoid.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_ff_biotac.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_ff_biotac.urdf.xacro deleted file mode 100644 index 5655a822..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_ff_biotac.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_no_lf.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_no_lf.urdf.xacro deleted file mode 100644 index 95025c73..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_no_lf.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_no_mf_rf_lf.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_no_mf_rf_lf.urdf.xacro deleted file mode 100644 index 86fc9e41..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_no_mf_rf_lf.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_plus.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_plus.urdf.xacro deleted file mode 100644 index c251f07f..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_plus.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_plus_biotac.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_plus_biotac.urdf.xacro deleted file mode 100644 index c471452b..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_plus_biotac.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_plus_btsp.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_plus_btsp.urdf.xacro deleted file mode 100644 index 3139266f..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_plus_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_motor_th_ff_rf_ellipsoid.urdf.xacro b/sr_description/robots/legacy/shadowhand_motor_th_ff_rf_ellipsoid.urdf.xacro deleted file mode 100644 index 67c59a5b..00000000 --- a/sr_description/robots/legacy/shadowhand_motor_th_ff_rf_ellipsoid.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_muscle.urdf.xacro b/sr_description/robots/legacy/shadowhand_muscle.urdf.xacro deleted file mode 100644 index a638a2d0..00000000 --- a/sr_description/robots/legacy/shadowhand_muscle.urdf.xacro +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/robots/legacy/shadowhand_muscle_biotac.urdf.xacro b/sr_description/robots/legacy/shadowhand_muscle_biotac.urdf.xacro deleted file mode 100644 index ecefbf94..00000000 --- a/sr_description/robots/legacy/shadowhand_muscle_biotac.urdf.xacro +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/robots/legacy/sr_one_finger_motor.urdf.xacro b/sr_description/robots/legacy/sr_one_finger_motor.urdf.xacro deleted file mode 100644 index a77a0e93..00000000 --- a/sr_description/robots/legacy/sr_one_finger_motor.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/robots/sr_hand.urdf.xacro b/sr_description/robots/sr_hand.urdf.xacro index 649d2028..fdd92bcd 100644 --- a/sr_description/robots/sr_hand.urdf.xacro +++ b/sr_description/robots/sr_hand.urdf.xacro @@ -36,4 +36,4 @@ fingers="$(arg fingers)" tip_sensors="$(arg tip_sensors)" mid_sensors="$(arg mid_sensors)" prox_sensors="$(arg prox_sensors)" palm_sensor="$(arg palm_sensor)"/> - \ No newline at end of file + diff --git a/sr_description/robots/sr_hand_bimanual.urdf.xacro b/sr_description/robots/sr_hand_bimanual.urdf.xacro index edae469e..ed5554fe 100644 --- a/sr_description/robots/sr_hand_bimanual.urdf.xacro +++ b/sr_description/robots/sr_hand_bimanual.urdf.xacro @@ -2,7 +2,7 @@ xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" - name="bumanual_shadowhand_motor"> + name="bimanual_shadowhand_motor"> diff --git a/sr_description/test/README.md b/sr_description/test/README.md index ba68b545..9f088ed3 100644 --- a/sr_description/test/README.md +++ b/sr_description/test/README.md @@ -3,12 +3,10 @@ In addition to the gtest test_sr_description_urdf which tests xacro expansion and resulting urdf validity, visual tests have been added to check if the generated urdf produce the desired hand with the correct joints. -The visual tests are two shell scripts that require user interaction: +The visual tests are scripts that require user interaction: 1. Start the test ./tests_hand.sh - or - ./tests_arms.sh 2. User is requested to press enter the first time to start -3. To finish an inspection press CTRL-C in the terminal or close rviz +3. To finish an inspection, press CTRL-C in the terminal or close rviz diff --git a/sr_description/test/robots.old/bimanual_shadowhand_extra_lite.urdf.xacro b/sr_description/test/robots.old/bimanual_shadowhand_extra_lite.urdf.xacro deleted file mode 100644 index 8289425f..00000000 --- a/sr_description/test/robots.old/bimanual_shadowhand_extra_lite.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/bimanual_shadowhand_lite.urdf.xacro b/sr_description/test/robots.old/bimanual_shadowhand_lite.urdf.xacro deleted file mode 100644 index b8b5c958..00000000 --- a/sr_description/test/robots.old/bimanual_shadowhand_lite.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/bimanual_shadowhand_lite_btsp.urdf.xacro b/sr_description/test/robots.old/bimanual_shadowhand_lite_btsp.urdf.xacro deleted file mode 100644 index 80827eba..00000000 --- a/sr_description/test/robots.old/bimanual_shadowhand_lite_btsp.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/bimanual_shadowhand_lite_right_btsp.urdf.xacro b/sr_description/test/robots.old/bimanual_shadowhand_lite_right_btsp.urdf.xacro deleted file mode 100644 index 48c3bd28..00000000 --- a/sr_description/test/robots.old/bimanual_shadowhand_lite_right_btsp.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/bimanual_shadowhand_motor.urdf.xacro b/sr_description/test/robots.old/bimanual_shadowhand_motor.urdf.xacro deleted file mode 100644 index 35a92d5a..00000000 --- a/sr_description/test/robots.old/bimanual_shadowhand_motor.urdf.xacro +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/bimanual_shadowhand_motor_plus.urdf.xacro b/sr_description/test/robots.old/bimanual_shadowhand_motor_plus.urdf.xacro deleted file mode 100644 index a0930e0e..00000000 --- a/sr_description/test/robots.old/bimanual_shadowhand_motor_plus.urdf.xacro +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/bimanual_shadowhand_motor_plus_right_biotac.urdf.xacro b/sr_description/test/robots.old/bimanual_shadowhand_motor_plus_right_biotac.urdf.xacro deleted file mode 100644 index a311d6a2..00000000 --- a/sr_description/test/robots.old/bimanual_shadowhand_motor_plus_right_biotac.urdf.xacro +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_edc_muscle.urdf.xacro b/sr_description/test/robots.old/shadowhand_edc_muscle.urdf.xacro deleted file mode 100644 index 9054fe4c..00000000 --- a/sr_description/test/robots.old/shadowhand_edc_muscle.urdf.xacro +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_edc_muscle_biotac.urdf.xacro b/sr_description/test/robots.old/shadowhand_edc_muscle_biotac.urdf.xacro deleted file mode 100644 index 3e9aed11..00000000 --- a/sr_description/test/robots.old/shadowhand_edc_muscle_biotac.urdf.xacro +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_extra_lite.urdf.xacro b/sr_description/test/robots.old/shadowhand_extra_lite.urdf.xacro deleted file mode 100644 index b67f92c4..00000000 --- a/sr_description/test/robots.old/shadowhand_extra_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_edc_muscle.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_edc_muscle.urdf.xacro deleted file mode 100644 index 346f3666..00000000 --- a/sr_description/test/robots.old/shadowhand_left_edc_muscle.urdf.xacro +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_extra_lite.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_extra_lite.urdf.xacro deleted file mode 100644 index c0edec85..00000000 --- a/sr_description/test/robots.old/shadowhand_left_extra_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_lite.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_lite.urdf.xacro deleted file mode 100644 index a1cce85a..00000000 --- a/sr_description/test/robots.old/shadowhand_left_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_lite_btsp.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_lite_btsp.urdf.xacro deleted file mode 100644 index 0b325dc2..00000000 --- a/sr_description/test/robots.old/shadowhand_left_lite_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_motor.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_motor.urdf.xacro deleted file mode 100644 index a3285fc4..00000000 --- a/sr_description/test/robots.old/shadowhand_left_motor.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_motor_biotac.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_motor_biotac.urdf.xacro deleted file mode 100644 index 812da080..00000000 --- a/sr_description/test/robots.old/shadowhand_left_motor_biotac.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_motor_plus.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_motor_plus.urdf.xacro deleted file mode 100644 index dc877bb9..00000000 --- a/sr_description/test/robots.old/shadowhand_left_motor_plus.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_motor_plus_btsp.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_motor_plus_btsp.urdf.xacro deleted file mode 100644 index 8ecb1078..00000000 --- a/sr_description/test/robots.old/shadowhand_left_motor_plus_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_left_muscle.urdf.xacro b/sr_description/test/robots.old/shadowhand_left_muscle.urdf.xacro deleted file mode 100644 index 95c2e311..00000000 --- a/sr_description/test/robots.old/shadowhand_left_muscle.urdf.xacro +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_lite.urdf.xacro b/sr_description/test/robots.old/shadowhand_lite.urdf.xacro deleted file mode 100644 index 5d0dd77d..00000000 --- a/sr_description/test/robots.old/shadowhand_lite.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_lite_btsp.urdf.xacro b/sr_description/test/robots.old/shadowhand_lite_btsp.urdf.xacro deleted file mode 100644 index 8a8d8d75..00000000 --- a/sr_description/test/robots.old/shadowhand_lite_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor.urdf.xacro deleted file mode 100644 index aa148e84..00000000 --- a/sr_description/test/robots.old/shadowhand_motor.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_biotac.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_biotac.urdf.xacro deleted file mode 100644 index 0b1cef37..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_biotac.urdf.xacro +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_btsp.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_btsp.urdf.xacro deleted file mode 100644 index 4b01e3f5..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_ellipsoid.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_ellipsoid.urdf.xacro deleted file mode 100644 index b25b4db5..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_ellipsoid.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_ff_biotac.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_ff_biotac.urdf.xacro deleted file mode 100644 index 4dc6bae7..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_ff_biotac.urdf.xacro +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_no_lf.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_no_lf.urdf.xacro deleted file mode 100644 index 45bf59cb..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_no_lf.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_no_mf_rf_lf.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_no_mf_rf_lf.urdf.xacro deleted file mode 100644 index 7bd1e73e..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_no_mf_rf_lf.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_plus.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_plus.urdf.xacro deleted file mode 100644 index 13f3e189..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_plus.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_plus_biotac.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_plus_biotac.urdf.xacro deleted file mode 100644 index d4f0369f..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_plus_biotac.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_plus_btsp.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_plus_btsp.urdf.xacro deleted file mode 100644 index b84537df..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_plus_btsp.urdf.xacro +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_motor_th_ff_rf_ellipsoid.urdf.xacro b/sr_description/test/robots.old/shadowhand_motor_th_ff_rf_ellipsoid.urdf.xacro deleted file mode 100644 index 5f7f6fd0..00000000 --- a/sr_description/test/robots.old/shadowhand_motor_th_ff_rf_ellipsoid.urdf.xacro +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_muscle.urdf.xacro b/sr_description/test/robots.old/shadowhand_muscle.urdf.xacro deleted file mode 100644 index d32e249b..00000000 --- a/sr_description/test/robots.old/shadowhand_muscle.urdf.xacro +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/test/robots.old/shadowhand_muscle_biotac.urdf.xacro b/sr_description/test/robots.old/shadowhand_muscle_biotac.urdf.xacro deleted file mode 100644 index bf631178..00000000 --- a/sr_description/test/robots.old/shadowhand_muscle_biotac.urdf.xacro +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Grey - false - - - - - - - diff --git a/sr_description/test/test_compatibility.py b/sr_description/test/test_compatibility.py index f5efbe1a..23b807e4 100644 --- a/sr_description/test/test_compatibility.py +++ b/sr_description/test/test_compatibility.py @@ -37,7 +37,7 @@ # Author: Robert Haschke -from __future__ import print_function +from __future__ import absolute_import, print_function import ast import re @@ -54,6 +54,7 @@ except ImportError: # subTest was introduced in 3.4 only. Provide a dummy fallback. from contextlib import contextmanager + @contextmanager def subTest(msg): print(msg) @@ -187,7 +188,7 @@ class TestEquality(unittest.TestCase): def generate_test_params(self): path = os.path.dirname(__file__) old_path = os.path.join(path, 'robots.old') - new_path = os.path.join(path, os.pardir, 'robots') + new_path = os.path.join(path, 'robots.new') for name in os.listdir(old_path): old_file = os.path.join(old_path, name) diff --git a/sr_description/test/test_hands.sh b/sr_description/test/test_hands.sh index f746f99a..9c3e553b 100755 --- a/sr_description/test/test_hands.sh +++ b/sr_description/test/test_hands.sh @@ -3,7 +3,24 @@ source ./test_models.sh -launch sr_hand hand_type:="hand_e" hand_version:="E3M5" side:="right" fingers:="th,ff,lf" tip_sensors:="pst" -launch sr_hand hand_type:="hand_e" hand_version:="E3M5" side:="left" fingers:="th,ff,lf" tip_sensors:="pst" -launch sr_hand hand_type:="hand_e" hand_version:="E3M5" side:="right" fingers:="th,ff,lf" tip_sensors:="th=bt_2p,ff=bt_sp,mf=pst,rf=pst,lf=pst" +# Testing default hand - hand_type:="hand_e" hand_version:="E3M5" side:="right" fingers:="all" tip_sensors:="pst" launch sr_hand + +# Testing left side +launch sr_hand side:="left" + +# Testing 'bt_sp' tip sensors +launch sr_hand tip_sensors:="bt_sp" + +# Testing 'bt_2p' tip sensors +launch sr_hand tip_sensors:="bt_2p" + +# Testing custom finger set +launch sr_hand fingers:="th,ff,mf,rf" +launch sr_hand fingers:="th,ff,mf" + +# Testing hand lite +launch sr_hand hand_type:="hand_g" hand_version:="G1M5" + +# Testing muscle hand +launch sr_hand hand_type:="hand_c" hand_version:="C6M2" diff --git a/sr_description/test/test_models.launch b/sr_description/test/test_models.launch index 6e7e10e9..45641c2c 100644 --- a/sr_description/test/test_models.launch +++ b/sr_description/test/test_models.launch @@ -5,7 +5,7 @@ - + diff --git a/sr_description/test/test_models.sh b/sr_description/test/test_models.sh index ad9c7951..4792f276 100644 --- a/sr_description/test/test_models.sh +++ b/sr_description/test/test_models.sh @@ -7,15 +7,15 @@ function stop_rostopic { function start_rostopic { # Publish text marker rostopic pub /text_marker visualization_msgs/Marker \ - "header: - frame_id: 'world' - type: 9 - pose: - position: {x: 0.0, y: 0.0, z: -0.1} - orientation: {x: 0.0, y: 0.0, z: 0.0, w: 1.0} - scale: {x: 0.0, y: 0.0, z: 0.1} - color: {r: 0.0, g: 0.0, b: 0.0, a: 1.0} - text: '$1'" & +"header: + frame_id: 'world' +type: 9 +pose: + position: {x: 0.0, y: 0.0, z: -0.1} + orientation: {x: 0.0, y: 0.0, z: 0.0, w: 1.0} +scale: {x: 0.0, y: 0.0, z: 0.1} +color: {r: 0.0, g: 0.0, b: 0.0, a: 1.0} +text: '$1 $2 $3 $4 $5 $6'" & ROSTOPIC_PID=$! # Get PID from background process trap stop_rostopic EXIT # Ensure rostopic is killed on exit @@ -34,7 +34,7 @@ function launch { done echo "***********************************************" - start_rostopic $1 + start_rostopic $1 $2 $3 $4 $5 $6 roslaunch sr_description test_models.launch robot:="$(rospack find sr_description)/test/robot_description" rviz_config:=$RVIZ_CONFIG rm "robot_description" stop_rostopic diff --git a/sr_description/test/test_process_fingers_parameter.xacro b/sr_description/test/test_process_fingers_parameter.xacro index d219f749..48968efe 100644 --- a/sr_description/test/test_process_fingers_parameter.xacro +++ b/sr_description/test/test_process_fingers_parameter.xacro @@ -3,7 +3,7 @@ - ${input} ${msg} : ${fingers} + ${input} ${msg} : ${fingers}