# find dependencies
find_package(ament_cmake REQUIRED)
-# uncomment the following section in order to fill in
-# further dependencies manually.
-# find_package(<dependency> REQUIRED)
install(DIRECTORY config launch
DESTINATION share/${PROJECT_NAME}
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
- # uncomment the line when a copyright and license is not present in all source files
- #set(ament_cmake_copyright_FOUND TRUE)
+ # comment the line when a copyright and license is added to all source files
+ # set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
- # uncomment the line when this package is not in a git repo
- #set(ament_cmake_cpplint_FOUND TRUE)
+ # comment the line when this package is in a git repo and when
+ # a copyright and license is added to all source files
+ # set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
-/bhand_controller:
+bhand_controller:
ros__parameters:
joints:
- bhand_finger1_joint_2
- bhand_finger2_joint_2
- bhand_finger3_joint_2
- bhand_spread
+
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>bhand_bringup</name>
- <version>2.0.0</version>
- <description>Bring-up Barrett Hand</description>
+ <version>2.1.0</version>
+ <description>Barrett Hand bring-up</description>
<maintainer email="fetter@ece.ufrgs.br">Walter Fetter Lages</maintainer>
- <license>GPLv3</license>
+ <license>GPL-3.0-only</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<xacro:bhand_transmission joint="spread_mimic" />
- <gazebo>
- <plugin name="bhand_spread_mimic_plugin" filename="libroboticsgroup_upatras_gazebo_mimic_joint_plugin.so">
- <joint>bhand_spread</joint>
- <mimicJoint>bhand_spread_mimic</mimicJoint>
- <multiplier>-1.0</multiplier>
- <offset>0.0</offset>
- <maxEffort>30.0</maxEffort>
- <sensitiveness>0.0</sensitiveness>
- </plugin>
- </gazebo>
-
<xacro:bhand_link1 parent="base_link" link="finger3_link_1" joint="finger3_joint_1" type="fixed">
<inertial_attr>
<inertial>
</joint>
<joint name="bhand_finger1_joint_3">
+ <param name="mimic">bhand_finger1_joint_2</param>
+ <param name="multiplier">${48 / 140}</param>
+ <command_interface name="position"/>
<state_interface name="position"/>
</joint>
</joint>
<joint name="bhand_finger2_joint_3">
+ <param name="mimic">bhand_finger2_joint_2</param>
+ <param name="multiplier">${48 / 140}</param>
+ <command_interface name="position"/>
<state_interface name="position"/>
</joint>
</joint>
<joint name="bhand_finger3_joint_3">
+ <param name="mimic">bhand_finger3_joint_2</param>
+ <param name="multiplier">${48 / 140}</param>
+ <command_interface name="position"/>
<state_interface name="position"/>
</joint>
</joint>
<joint name="bhand_spread_mimic">
+ <param name="mimic">bhand_spread</param>
+ <param name="multiplier">-1.0</param>
+ <command_interface name="position"/>
<state_interface name="position"/>
</joint>
</ros2_control>
</actuator>
</transmission>
- <gazebo>
- <plugin name="bhand_${joint}_mimic_plugin" filename="libroboticsgroup_upatras_gazebo_mimic_joint_plugin.so">
- <joint>bhand_${mimic_joint}</joint>
- <mimicJoint>bhand_${joint}</mimicJoint>
- <multiplier>${48 / 140}</multiplier>
- <offset>0.0</offset>
- <maxEffort>30.0</maxEffort>
- <sensitiveness>0.0</sensitiveness>
- </plugin>
- </gazebo>
-
</xacro:macro>
</robot>