Skip to content

Commit

Permalink
Add fixed joint to base of the pendulum
Browse files Browse the repository at this point in the history
  • Loading branch information
xela-95 committed Feb 19, 2024
1 parent 9886fbb commit 9ef9126
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/controlboard/pendulum_joint_relative_to_parent_link.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<sdf version="1.7">
<world name="turorial_controlboard">

<!-- <gravity>0 0 0</gravity> -->
<light type="directional" name="sun">
<cast_shadows>true</cast_shadows>
<pose>0 0 10 0 0 0</pose>
Expand Down Expand Up @@ -46,6 +46,10 @@

<model name="single_pendulum">
<!-- <pose>0 0 0.2 0 0 0</pose> -->
<joint name="fixed_base" type="fixed">
<parent>world</parent>
<child>base_link</child>
</joint>
<link name='base_link'>
<inertial>
<pose>0 0 0 0 0 0</pose>
Expand Down Expand Up @@ -78,7 +82,7 @@
</link>
<joint name='upper_joint' type='revolute'>
<!-- Joint axis pose relative to base link -->
<pose relative_to='base_link'>0.15 0 2 -3.14159 0 0</pose>
<pose relative_to='base_link'>0.15 0 2 -3.14159265359 0 0</pose>
<parent>base_link</parent>
<child>upper_link</child>
<axis>
Expand Down

0 comments on commit 9ef9126

Please sign in to comment.