Skip to content

Commit

Permalink
Add new nanosaur mesh and urdf
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Oct 7, 2024
1 parent c27acef commit 758af7e
Show file tree
Hide file tree
Showing 50 changed files with 210 additions and 951 deletions.
2 changes: 1 addition & 1 deletion nanosaur_description/launch/description.launch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2021, Raffaello Bonghi <[email protected]>
# Copyright (C) 2024, Raffaello Bonghi <[email protected]>
# All rights reserved
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
Expand Down
2 changes: 1 addition & 1 deletion nanosaur_description/launch/display.launch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2021, Raffaello Bonghi <[email protected]>
# Copyright (C) 2024, Raffaello Bonghi <[email protected]>
# All rights reserved
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
Expand Down
Binary file removed nanosaur_description/meshes/025in/slider.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/025in/sprocket.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/025in/wheel.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/base_front.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/base_rear.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/cover-fe.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/cover-rs.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/cover-zedmini.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/cover.stl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed nanosaur_description/meshes/flap_bottom.stl
Binary file not shown.
Binary file removed nanosaur_description/meshes/flap_top.stl
Binary file not shown.
Binary file added nanosaur_description/meshes/nanosaur_base.stl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added nanosaur_description/meshes/nanosaur_flap.stl
Binary file not shown.
Binary file not shown.
Binary file added nanosaur_description/meshes/parts/LD06.stl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed nanosaur_description/meshes/parts/motor_board.stl
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed nanosaur_description/meshes/parts/power_bank.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/parts/rasp_camera.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/parts/zedm.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/pb_holder.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/slider.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/sprocket.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/track.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/track_print.stl
Diff not rendered.
Binary file removed nanosaur_description/meshes/wheel.stl
Diff not rendered.
100 changes: 11 additions & 89 deletions nanosaur_description/urdf/flap.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -4,104 +4,26 @@

<xacro:macro name="flap">

<gazebo reference="flap_bottom">
<material>Gazebo/Green</material>
<!-- Ignition color reference -->
<visual>
<material>
<ambient>0.0 0.5 0.0 1.0</ambient>
<diffuse>0.0 0.5 0.0 1.0</diffuse>
<specular>0.0 0.5 0.0 1.0</specular>
</material>
</visual>
</gazebo>
<gazebo reference="flap_top">
<material>Gazebo/Green</material>
<!-- Ignition color reference -->
<visual>
<material>
<ambient>0.0 0.5 0.0 1.0</ambient>
<diffuse>0.0 0.5 0.0 1.0</diffuse>
<specular>0.0 0.5 0.0 1.0</specular>
</material>
</visual>
</gazebo>
<gazebo reference="board_expansion">
<material>Gazebo/DarkGrey</material>
<!-- Ignition color reference -->
<visual>
<material>
<ambient>0.5 0.5 0.5 1.0</ambient>
<diffuse>0.5 0.5 0.5 1.0</diffuse>
<specular>0.5 0.5 0.5 1.0</specular>
</material>
</visual>
</gazebo>

<joint name="flap_bottom_joint" type="fixed">
<origin xyz="-0.05 0 0" rpy="0 0 0" />
<parent link="base_rear"/>
<child link="flap_bottom"/>
</joint>

<link name="flap_bottom">
<inertial>
<mass value="0.01"/>
<origin rpy=" 0 0 0" xyz="0 0 0"/>
<inertia ixx="1.6666666666666668e-07" ixy="0" ixz="0" iyy="1.6666666666666668e-07" iyz="0" izz="1.6666666666666668e-07"/>
</inertial>
<visual>
<!--<origin xyz="-0.0161 0 0.009" rpy="0 0 0" />-->
<origin xyz="0.0068 0 0.0175" rpy="0 0 0" />
<geometry>
<mesh filename="${path_meshes}/flap_bottom.stl" scale="0.001 0.001 0.001"/>
</geometry>
<material name="Green" />
</visual>
</link>

<joint name="flap_top_joint" type="fixed">
<parent link="flap_bottom"/>
<child link="flap_top"/>
<joint name="nanosaur_flap_joint" type="fixed">
<origin xyz="0 0 0" rpy="0 0 0" />
<parent link="nanosaur_base"/>
<child link="nanosaur_flap"/>
</joint>

<link name="flap_top">
<link name="nanosaur_flap">
<inertial>
<mass value="0.01"/>
<origin rpy=" 0 0 0" xyz="0 0 0"/>
<inertia ixx="1.6666666666666668e-07" ixy="0" ixz="0" iyy="1.6666666666666668e-07" iyz="0" izz="1.6666666666666668e-07"/>
<mass value="0.018"/>
<origin rpy="0 0 0" xyz="-0.063 0 0.065"/>
<inertia ixx="7565.043" ixy="-0.00384" ixz="300.2704"
iyy="2254.45646" iyz="0.00019"
izz="9538.576"/>
</inertial>
<visual>
<!--<origin xyz="-0.0161 0 0.009" rpy="0 0 0" />-->
<origin xyz="0.0068 0 0.0175" rpy="0 0 0" />
<geometry>
<mesh filename="${path_meshes}/flap_top.stl" scale="0.001 0.001 0.001"/>
</geometry>
<geometry><mesh filename="${path_meshes}/nanosaur_flap.stl" scale="0.001 0.001 0.001"/></geometry>
<material name="Green" />
</visual>
</link>

<joint name="board_expansion_joint" type="fixed">
<parent link="flap_bottom"/>
<child link="board_expansion"/>
</joint>

<link name="board_expansion">
<inertial>
<mass value="0.01"/>
<origin rpy=" 0 0 0" xyz="0 0 0"/>
<inertia ixx="1.6666666666666668e-07" ixy="0" ixz="0" iyy="1.6666666666666668e-07" iyz="0" izz="1.6666666666666668e-07"/>
</inertial>
<visual>
<!--<origin xyz="-0.0017 0 0.019" rpy="0 0 0" />-->
<origin xyz="-0.002 0.0005 0.017" rpy="0 0 0" />
<geometry>
<mesh filename="${path_meshes}/parts/nanosaur-exp-board.stl"/>
</geometry>
<material name="GunMetalGrey" />
</visual>
</link>

</xacro:macro>

</robot>
139 changes: 0 additions & 139 deletions nanosaur_description/urdf/head/head_fisheye.urdf.xacro

This file was deleted.

Loading

0 comments on commit 758af7e

Please sign in to comment.