Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new models from Ignition Fuel #205

Merged
merged 4 commits into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions models/dave_object_models/models/niskin/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version='1.0'?>
<model>
<name>Niskin</name>
<version>1.0</version>
<sdf version='1.6'>model.sdf</sdf>
<description>
Niskin sampling bottle
</description>
</model>
55 changes: 55 additions & 0 deletions models/dave_object_models/models/niskin/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0"?>
<sdf version="1.6">
<model name="niskin">
<static>false</static>
<link name="base_link">
<inertial>
<pose>0.001636 -0.004927 0.001843</pose>
<mass>0.008183</mass>
<inertia>
<ixx>0.000173</ixx>
<iyy>0.000172</iyy>
<izz>0.000022</izz>
</inertia>
</inertial>
<collision name="collision">
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/meshes/niskin.dae</uri>
<scale>1.0 1.0 1.0</scale>
</mesh>
</geometry>
</collision>
<visual name="Niskin_visual">
<geometry>
<mesh>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/meshes/niskin.dae</uri>
<submesh>
<name>Niskin</name>
<center>false</center>
</submesh>
</mesh>
</geometry>
<material>
<diffuse>1.0 1.0 1.0</diffuse>
<specular>1.0 1.0 1.0</specular>
<pbr>
<metal>
<albedo_map>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/materials/textures/Niskin_Albedo.png</albedo_map>
<normal_map>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/materials/textures/Niskin_Normal.png</normal_map>
<metalness_map>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/materials/textures/Niskin_Metalness.png</metalness_map>
<roughness_map>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/materials/textures/Niskin_Roughness.png</roughness_map>
</metal>
</pbr>
<!-- fallback to script if no PBR support-->
<script>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/materials/scripts/</uri>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/niskin/3/files/materials/textures/</uri>
<name>UrbanTile/Niskin_Diffuse</name>
</script>
</material>
</visual>
</link>
</model>
</sdf>
15 changes: 15 additions & 0 deletions models/dave_object_models/models/sunken_vase/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>

<model>
<name>Vase</name>
<version>1.0</version>
<sdf version="1.6">model.sdf</sdf>

<author>
<name>Cole Biesemeyer</name>
<email>[email protected]</email>
</author>

<description>
</description>
</model>
54 changes: 54 additions & 0 deletions models/dave_object_models/models/sunken_vase/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0"?>
<sdf version="1.6">
<model name="Pot01">
<static>false</static>
<link name="base_link">
<inertial>
<pose>0.000000 0.00014473 0.28908009</pose>
<mass>0.047262</mass>
<inertia>
<ixx>0.002228</ixx>
<iyy>0.002315</iyy>
<izz>0.002557</izz>
</inertia>
</inertial>
<collision name="collision">
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/sunken vase/3/files/meshes/Pot01.dae</uri>
<scale>1.0 1.0 1.0</scale>
</mesh>
</geometry>
</collision>
<visual name="Pot01_visual">
<geometry>
<mesh>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/sunken vase/3/files/meshes/Pot01.dae</uri>
<submesh>
<name>Pot01</name>
<center>false</center>
</submesh>
</mesh>
</geometry>
<material>
<diffuse>1.0 1.0 1.0</diffuse>
<specular>1.0 1.0 1.0</specular>
<pbr>
<metal>
<albedo_map>https://fuel.ignitionrobotics.org/1.0/cole/models/sunken vase/3/files/materials/textures/Pot01_Albedo.png</albedo_map>
<normal_map>https://fuel.ignitionrobotics.org/1.0/cole/models/sunken vase/3/files/materials/textures/Pot01_Normal.png</normal_map>
<roughness_map>https://fuel.ignitionrobotics.org/1.0/cole/models/sunken vase/3/files/materials/textures/Pot01_Roughness.png</roughness_map>
</metal>
</pbr>
<!-- fallback to script if no PBR support-->
<script>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/sunken vase/3/files/materials/scripts/</uri>
<uri>https://fuel.ignitionrobotics.org/1.0/cole/models/sunken vase/3/files/materials/textures/</uri>
<name>UrbanTile/Pot01_Diffuse</name>
</script>
</material>
</visual>
</link>
</model>
</sdf>
30 changes: 30 additions & 0 deletions models/dave_worlds/worlds/dave_ocean_models.world
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,35 @@
<uri>model://uxo_c</uri>
</include>

<include>
<pose>13 -7 -94 0 0 0</pose>
<!--uri>https://fuel.ignitionrobotics.org/1.0/Cole/models/Sunken Vase</uri-->
<!-- Use the SDF in repo for inertial values not yet on Ignition Fuel -->
<uri>model://sunken_vase</uri>
</include>

<!-- Pending model fix upstream -->
<!--include>
<pose>13 -8 -94 0 0 0</pose>
<uri>https://fuel.ignitionrobotics.org/1.0/Cole/models/Sunken Vase 02</uri>
</include-->

<include>
<pose>13 -9 -94 0 0 0</pose>
<!--uri>https://fuel.ignitionrobotics.org/1.0/Cole/models/Niskin</uri-->
<!-- Use the SDF in repo for inertial values not yet on Ignition Fuel -->
<uri>model://niskin</uri>
</include>

<include>
<pose>13 -12 -94 0 0 0</pose>
<uri>https://fuel.ignitionrobotics.org/1.0/Cole/models/Lionfish</uri>
</include>

<include>
<pose>35 -10 -94 0 0 0</pose>
<uri>https://fuel.ignitionrobotics.org/1.0/Cole/models/Sunken Ship</uri>
</include>

</world>
</sdf>