Skip to content

Commit

Permalink
moved joints to separate files in joints folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Kafel1997 committed Oct 26, 2024
1 parent 7cdb8fc commit 17baadf
Show file tree
Hide file tree
Showing 17 changed files with 322 additions and 161 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LFF_joint" type="fixed">
<parent link="LFLL_link" />
<child link="LFF_link" />
<origin xyz="0 0 ${-lower_limb_length_to_foot}" rpy="0 0 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LRF_joint" type="fixed">
<parent link="LRLL_link" />
<child link="LRF_link" />
<origin xyz="0 0 ${-lower_limb_length_to_foot}" rpy="0 0 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RFF_joint" type="fixed">
<parent link="RFLL_link" />
<child link="RFF_link" />
<origin xyz="0 0 ${-lower_limb_length_to_foot}" rpy="0 0 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RRF_joint" type="fixed">
<parent link="RRLL_link" />
<child link="RRF_link" />
<origin xyz="0 0 ${-lower_limb_length_to_foot}" rpy="0 0 0" />
</joint>

</robot>
18 changes: 18 additions & 0 deletions src/meldog_description/description/joints/hip/LFH_joint.urdf.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LFH_joint" type="revolute">
<parent link="LFH_link" />
<child link="LFUL_link" />
<origin xyz="${hip_upper_limb_x}
${hip_upper_limb_y}
${hip_upper_limb_z}"
rpy="0 0 0" />
<limit lower="${hip_upper_limb_lower_limit/180.0*pi}"
upper="${hip_upper_limb_upper_limit/180.0*pi}"
effort="${hip_upper_limb_effort}"
velocity="${hip_upper_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
18 changes: 18 additions & 0 deletions src/meldog_description/description/joints/hip/LRH_joint.urdf.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LRH_joint" type="revolute">
<parent link="LRH_link" />
<child link="LRUL_link" />
<origin xyz="${-hip_upper_limb_x}
${hip_upper_limb_y}
${hip_upper_limb_z}"
rpy="0 0 0" />
<limit lower="${hip_upper_limb_lower_limit/180.0*pi}"
upper="${hip_upper_limb_upper_limit/180.0*pi}"
effort="${hip_upper_limb_effort}"
velocity="${hip_upper_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
18 changes: 18 additions & 0 deletions src/meldog_description/description/joints/hip/RFH_joint.urdf.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RFH_joint" type="revolute">
<parent link="RFH_link" />
<child link="RFUL_link" />
<origin xyz="${hip_upper_limb_x}
${-hip_upper_limb_y}
${hip_upper_limb_z}"
rpy="0 0 0" />
<limit lower="${hip_upper_limb_lower_limit/180.0*pi}"
upper="${hip_upper_limb_upper_limit/180.0*pi}"
effort="${hip_upper_limb_effort}"
velocity="${hip_upper_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
18 changes: 18 additions & 0 deletions src/meldog_description/description/joints/hip/RRH_joint.urdf.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RRH_joint" type="revolute">
<parent link="RRH_link" />
<child link="RRUL_link" />
<origin xyz="${-hip_upper_limb_x}
${-hip_upper_limb_y}
${hip_upper_limb_z}"
rpy="0 0 0" />
<limit lower="${hip_upper_limb_lower_limit/180.0*pi}"
upper="${hip_upper_limb_upper_limit/180.0*pi}"
effort="${hip_upper_limb_effort}"
velocity="${hip_upper_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LFK_joint" type="revolute">
<parent link="LFUL_link" />
<child link="LFLL_link" />
<origin xyz="0 0 ${-upper_limb_length}" rpy="0 0 0" />
<limit lower="${upper_limb_lower_limb_lower_limit/180.0*pi}"
upper="${upper_limb_lower_limb_upper_limit/180.0*pi}"
effort="${upper_limb_lower_limb_effort}"
velocity="${upper_limb_lower_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LRK_joint" type="revolute">
<parent link="LRUL_link" />
<child link="LRLL_link" />
<origin xyz="0 0 ${-upper_limb_length}" rpy="0 0 0" />
<limit lower="${upper_limb_lower_limb_lower_limit/180.0*pi}"
upper="${upper_limb_lower_limb_upper_limit/180.0*pi}"
effort="${upper_limb_lower_limb_effort}"
velocity="${upper_limb_lower_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RFK_joint" type="revolute">
<parent link="RFUL_link" />
<child link="RFLL_link" />
<origin xyz="0 0 ${-upper_limb_length}" rpy="0 0 0" />
<limit lower="${upper_limb_lower_limb_lower_limit/180.0*pi}"
upper="${upper_limb_lower_limb_upper_limit/180.0*pi}"
effort="${upper_limb_lower_limb_effort}"
velocity="${upper_limb_lower_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RRK_joint" type="revolute">
<parent link="RRUL_link" />
<child link="RRLL_link" />
<origin xyz="0 0 ${-upper_limb_length}" rpy="0 0 0" />
<limit lower="${upper_limb_lower_limb_lower_limit/180.0*pi}"
upper="${upper_limb_lower_limb_upper_limit/180.0*pi}"
effort="${upper_limb_lower_limb_effort}"
velocity="${upper_limb_lower_limb_velocity}" />
<axis xyz="0 1 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LFT_joint" type="revolute">
<parent link="trunk_link" />
<child link="LFH_link" />
<origin xyz="${trunk_actuators_length/2.0} ${(trunk_base_width+trunk_actuators_width)/2.0} 0" rpy="0 0 0" />
<limit lower="${trunk_hip_lower_limit/180.0*pi}"
upper="${trunk_hip_upper_limit/180.0*pi}"
effort="${trunk_hip_effort}"
velocity="${trunk_hip_velocity}" />
<axis xyz="1 0 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="LRT_joint" type="revolute">
<parent link="trunk_link" />
<child link="LRH_link" />
<origin xyz="${-trunk_actuators_length/2.0} ${(trunk_base_width+trunk_actuators_width)/2.0} 0" rpy="0 0 0" />
<limit lower="${trunk_hip_lower_limit/180.0*pi}"
upper="${trunk_hip_upper_limit/180.0*pi}"
effort="${trunk_hip_effort}"
velocity="${trunk_hip_velocity}" />
<axis xyz="1 0 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RFT_joint" type="revolute">
<parent link="trunk_link" />
<child link="RFH_link" />
<origin xyz="${trunk_actuators_length/2.0} ${-(trunk_base_width+trunk_actuators_width)/2.0} 0" rpy="0 0 0" />
<limit lower="${trunk_hip_lower_limit/180.0*pi}"
upper="${trunk_hip_upper_limit/180.0*pi}"
effort="${trunk_hip_effort}"
velocity="${trunk_hip_velocity}" />
<axis xyz="-1 0 0" />
</joint>

</robot>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<joint name="RRT_joint" type="revolute">
<parent link="trunk_link" />
<child link="RRH_link" />
<origin xyz="${-trunk_actuators_length/2.0} ${-(trunk_base_width+trunk_actuators_width)/2.0} 0" rpy="0 0 0" />
<limit lower="${trunk_hip_lower_limit/180.0*pi}"
upper="${trunk_hip_upper_limit/180.0*pi}"
effort="${trunk_hip_effort}"
velocity="${trunk_hip_velocity}" />
<axis xyz="-1 0 0" />
</joint>

</robot>
Loading

0 comments on commit 17baadf

Please sign in to comment.