21 lines
685 B
Plaintext
21 lines
685 B
Plaintext
|
<?xml version="1.0"?>
|
||
|
|
||
|
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
|
||
|
|
||
|
<xacro:macro name="motorTransmission" params="name">
|
||
|
|
||
|
<transmission name="JointTrans${name}">
|
||
|
<type>transmission_interface/SimpleTransmission</type>
|
||
|
<joint name="joint${name}">
|
||
|
<hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
|
||
|
</joint>
|
||
|
<actuator name="Actuator${name}">
|
||
|
<hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
|
||
|
<mechanicalReduction>1</mechanicalReduction>
|
||
|
</actuator>
|
||
|
</transmission>
|
||
|
|
||
|
</xacro:macro>
|
||
|
|
||
|
</robot>
|