Add custom xarm packages
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<robot xmlns:xacro="http://ros.org/wiki/xacro">
|
||||
<xacro:macro name="xarm_gripper_transmission"
|
||||
params="prefix hard_interface:=PositionJointInterface reduction:=1">
|
||||
|
||||
<transmission name="${prefix}drive_joint_trans">
|
||||
<type>transmission_interface/SimpleTransmission</type>
|
||||
<joint name="${prefix}drive_joint">
|
||||
<hardwareInterface>hardware_interface/${hard_interface}</hardwareInterface>
|
||||
</joint>
|
||||
<actuator name="${prefix}drive_joint_motor">
|
||||
<hardwareInterface>hardware_interface/${hard_interface}</hardwareInterface>
|
||||
<mechanicalReduction>${reduction}</mechanicalReduction>
|
||||
</actuator>
|
||||
</transmission>
|
||||
|
||||
</xacro:macro>
|
||||
</robot>
|
||||
Reference in New Issue
Block a user