Skip to content

Commit

Permalink
rename nanosaur urdf extension and fix inertia error
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Oct 11, 2024
1 parent 30f7ef6 commit 0b4cf40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nanosaur_description/launch/description.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def generate_launch_description():
default_xacro_path = os.path.join(
get_package_share_directory('nanosaur_description'),
'urdf',
'nanosaur.urdf.xml'
'nanosaur.urdf.xacro'
)

declare_model_path_cmd = DeclareLaunchArgument(
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions nanosaur_description/urdf/robot.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@

<link name="nanosaur_base">
<inertial>
<mass value="0.412"/>
<mass value="0.453"/>
<origin rpy=" 0 0 0" xyz="0.0 0 0.0"/>
<inertia ixx="922734.27556" ixy="0458.391" ixz="225029.72"
iyy="1.701e-06" iyz="-3998.88622"
izz="1995920.29749"/>
<inertia ixx="982653.79909" ixy="-2069.061" ixz="193876.45537"
iyy="1888714.1125" iyz="-4847.17947"
izz="2199329.1679"/>
</inertial>
<visual>
<geometry><mesh filename="${path_meshes}/nanosaur_base.stl" scale="0.001 0.001 0.001"/></geometry>
Expand Down

0 comments on commit 0b4cf40

Please sign in to comment.