forked from space-ros/demos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added hooks and models (space-ros#46)
- Loading branch information
1 parent
cb7480b
commit 770b653
Showing
13 changed files
with
168 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share | ||
prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share/simulation/models |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+213 Bytes
custom_gz_plugins/models/dust_storm/materials/textures/dustcolors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+196 Bytes
custom_gz_plugins/models/dust_storm/materials/textures/fogcolors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
|
||
<model> | ||
<name>Dust Storm</name> | ||
<version>1.0</version> | ||
<sdf version="1.6">model.sdf</sdf> | ||
|
||
<author> | ||
<name>Naman Malik</name> | ||
<email>[email protected]</email> | ||
</author> | ||
|
||
<description> | ||
A Configurable particle_emitter that produces brown particles to create a | ||
Dust like effect. | ||
The Dust Emitter can be configured using the Dust Control GUI plugin. | ||
Parameters that can be configured: | ||
- Volume of emitter (x, y, z) | ||
- Position (x, y, z) | ||
- Dust Density | ||
- Dust Velocity | ||
- Dust Angle | ||
</description> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.6"> | ||
|
||
<plugin name='gz::sim::systems::ParticleEmitter' filename='gz-sim-particle-emitter-system'/> | ||
|
||
|
||
<model name="dust_storm"> | ||
<static>true</static> | ||
<pose>-10 0 0 0 0 0</pose> | ||
<link name="dust_link"> | ||
<visual name="visual"> | ||
<geometry> | ||
<box> | ||
<size>0.1 0.1 0.1</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
<particle_emitter name="emitter" type="box"> | ||
<emitting>true</emitting> | ||
<size>30 1 1</size> | ||
<particle_size>0.1 0.1 0.1</particle_size> | ||
<lifetime>30</lifetime> | ||
<min_velocity>1.8</min_velocity> | ||
<max_velocity>1.8</max_velocity> | ||
<scale_rate>1.5</scale_rate> | ||
<rate>10</rate> | ||
<material> | ||
<diffuse>1 1 1</diffuse> | ||
<specular>1.0 1.0 1.0</specular> | ||
<pbr> | ||
<metal> | ||
<albedo_map>materials/textures/dust.png</albedo_map> | ||
</metal> | ||
</pbr> | ||
</material> | ||
</particle_emitter> | ||
</link> | ||
</model> | ||
|
||
</sdf> |
Binary file added
BIN
+459 KB
...gz_plugins/models/dust_storm/thumbnails/Screenshot from 2023-05-27 01-39-26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+26.2 KB
custom_gz_plugins/models/light_dust_storm/materials/textures/Dust.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+196 Bytes
custom_gz_plugins/models/light_dust_storm/materials/textures/DustColors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
|
||
<model> | ||
<name>Light Dust Storm</name> | ||
<version>1.0</version> | ||
<sdf version="1.6">model.sdf</sdf> | ||
|
||
<author> | ||
<name>Naman Malik</name> | ||
<email>[email protected]</email> | ||
</author> | ||
|
||
<description> | ||
A Configurable particle_emitter that produces brown particles to create a | ||
Dust like effect. | ||
The Dust Emitter can be configured using the Dust Control GUI plugin. | ||
Parameters that can be configured: | ||
- Volume of emitter (x, y, z) | ||
- Position (x, y, z) | ||
- Dust Density | ||
- Dust Velocity | ||
- Dust Angle | ||
</description> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.6"> | ||
|
||
<plugin name='gz::sim::systems::ParticleEmitter2' filename='gz-sim-particle-emitter2-system'/> | ||
|
||
|
||
<model name="light_dust_storm"> | ||
<static>true</static> | ||
<pose>-10 0 0 0 0 0</pose> | ||
<link name="dust_link"> | ||
<visual name="visual"> | ||
<geometry> | ||
<box> | ||
<size>0.1 0.1 0.1</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
<particle_emitter name="emitter" type="box"> | ||
<emitting>true</emitting> | ||
<size>30 1 1</size> | ||
<particle_size>0.1 0.1 0.1</particle_size> | ||
<lifetime>30</lifetime> | ||
<min_velocity>0.6</min_velocity> | ||
<max_velocity>3</max_velocity> | ||
<scale_rate>1</scale_rate> | ||
<rate>3</rate> | ||
<material> | ||
<diffuse>1 1 1</diffuse> | ||
<specular>1.0 1.0 1.0</specular> | ||
<pbr> | ||
<metal> | ||
<albedo_map>materials/textures/Dust.png</albedo_map> | ||
</metal> | ||
</pbr> | ||
</material> | ||
<color_range_image>materials/textures/DustColors.png</color_range_image> | ||
</particle_emitter> | ||
</link> | ||
</model> | ||
|
||
</sdf> |
Binary file added
BIN
+459 KB
...gins/models/light_dust_storm/thumbnails/Screenshot from 2023-05-27 01-39-26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version='1.0'?> | ||
<sdf version="1.5"> | ||
<model name="sun"> | ||
<static>true</static> | ||
<pose>0 0 0 0 0 0</pose> | ||
<link name="link"> | ||
<visual name="visual"> | ||
<cast_shadows>false</cast_shadows> | ||
<geometry> | ||
<sphere> | ||
<radius>2.0</radius> | ||
</sphere> | ||
</geometry> | ||
<material> | ||
<lighting>1</lighting> | ||
<ambient>1 1 0.7 1</ambient> | ||
<diffuse>1 1 0.7 1</diffuse> | ||
<specular>1 1 1 1</specular> | ||
<emissive>1 1 0.5 1</emissive> | ||
</material> | ||
</visual> | ||
<light type="directional" name="directional_light"> | ||
<cast_shadows>true</cast_shadows> | ||
<pose>0 0 10 0 0 0</pose> | ||
<diffuse>1 1 1 1</diffuse> | ||
<specular>1 1 1 1</specular> | ||
<attenuation> | ||
<range>100</range> | ||
<constant>0.9</constant> | ||
<linear>0.01</linear> | ||
<quadratic>0.001</quadratic> | ||
</attenuation> | ||
<direction>0 0 -1</direction> | ||
</light> | ||
</link> | ||
</model> | ||
</sdf> |